[sagemath] 01/02: Remove some temporary work-arounds and document remaining tasks

Ximin Luo infinity0 at debian.org
Thu Dec 15 02:40:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit eff6141f0e45af091f05467c9faf9b87af745259
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Dec 15 03:02:28 2016 +0100

    Remove some temporary work-arounds and document remaining tasks
---
 debian/TODO                    | 35 +++++++++++++++++++++--------------
 debian/control.runtime-depends |  4 ----
 debian/rules                   | 21 +++++++++++++++------
 3 files changed, 36 insertions(+), 24 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index 7fc09e3..906ccae 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,24 +1,28 @@
 # Todo for getting Sage 7.4 into Debian stretch
 
-## Before 2016-12-05 (to make the soft-freeze deadline of 2017-01-05):
-Upload packages to NEW, ASAP
-
-*   New packages:
-    *   sagemath
-        * ignore known failing doctests
-        * When running the tests with the installed sage, there are many failing tests with:
-          ImportError: No module named common.conf
-        * make installation of sagenb optional (?)
-    *   sagetex (already in experimental, does not need to pass NEW)
-
-*   Packages that have issues preventing testing migration:
-    *   pyzmq
-    *   zeromq3
+## Before 2016-12-25 (to make the soft-freeze deadline of 2017-01-05):
+Upload experimental packages to unstable
+
+*   sagemath
+    * figure out a way for sympow to not try writing to /sbuild-nonexistent
+    * When running the tests with the installed sage, there are many failing
+      tests with: ImportError: No module named common.conf, this is upstream
+      #21732 and only affects documentation
+    * make installation of sagenb optional (?)
+*   sagetex (already in experimental, does not need to pass NEW)
+*   jmol (already in experimental, does not need to pass NEW)
 
 ## Before 2017-01-25 (to make the hard-freeze deadline of 2017-02-05):
 Upload all packages and make sure they migrate to testing after 10 days
 
+*   Fix issues preventing testing migration:
+    *   tachyon (#848131: just add the right Depends:)
+    *   pyzmq
+    *   zeromq3
+
 *   Require patches:
+    *   python2.7 (#847791: sagemath can't run or build with 2.7.13rc1)
+        -- already fixed upstream, just waiting for a new release
     *   numpy (only test fixes)
     *   sympy (only test fixes)
         -- see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840621
@@ -42,6 +46,9 @@ Upload all packages and make sure they migrate to testing after 10 days
            html documentation that can be turned live"
         * lots of JS deps, need to evaluate
 
+## Much later / probably never
+Low-priority things; we'll probably always have higher-priority things to do:
+
 *   Ugly packages:
     *   jmol and jsmol (14.6.1)
         "almost" done here:
diff --git a/debian/control.runtime-depends b/debian/control.runtime-depends
index d4a7af0..6e35821 100644
--- a/debian/control.runtime-depends
+++ b/debian/control.runtime-depends
@@ -15,8 +15,6 @@
  less,
  libcdd-tools (>= 094h),
  libjs-mathjax,
-# temporary work-around for a tachyon bug
- libmpich12,
  libsingular4-dev (>= 1:4.0.3-p3+ds-2),
  libsingular4-dev (<< 1:4.1),
  maxima-sage,
@@ -43,8 +41,6 @@
  python-cysignals-pari (>= 1.2.0+ds-2),
  python-decorator,
  python-docutils,
-# needed for spkg sagenb-export build, we might be able to remove it when using its Debian package
- python-entrypoints,
  python-flask,
  python-flask-autoindex,
  python-flask-babel,
diff --git a/debian/rules b/debian/rules
index c84c81f..a11105d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -240,18 +240,27 @@ get-orig-source:
 ../sagemath_$(DEB_VERSION).dsc: distclean-sage distclean ../sagemath_$(DEB_VERSION_UPSTREAM).orig.tar.xz debian/control
 	dpkg-buildpackage -d -uc -us -S
 
-# The extra python-related stuff is a temporary work-around for #847791
-# You may also have to apply some local work-arounds for sbuild/debootstrap bugs etc
-# - echo "/var/cache/apt/archives /var/cache/apt/archives none rw,bind 0 0" >> /etc/schroot/sbuild/fstab
+# Temporary workarounds that will be removed eventually:
+#
+# 1 The extra python-related stuff is a temporary work-around for #847791
+#   Before running it, you must do:
+#     echo /etc/apt/trusted.gpg >> /etc/schroot/sbuild/copyfiles
+#   this will not be necessary after we remove this work-around.
+#
+# 2 echo "/var/cache/apt/archives /var/cache/apt/archives none rw,bind 0 0" >> /etc/schroot/sbuild/fstab
 #   This helps to avoid http errors due to the mirror network being shitty and apt not doing retries
-# - The first part of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817236#5
+#
+# 3 Do the first part of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817236#5
 #   Sage needs it due to its pexpect etc stuff
-# - Currently you need to login to the schroot during the build and run
+#
+# 4 Currently you need to login to the schroot during the build and run
 #   script /dev/null (to avoid https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817236#62)
 #   and then inside this
 #   - su -c 'mkdir /sbuild-nonexistent' # it might already exist
 #   - su -c 'chown $USERNAME_OF_THE_SBUILD_PROCESS: /sbuild-nonexistent'
-#   TODO: work around this automatically for the next upload to unstable.
+#   This is due to sympow trying to write to $HOME which is set to
+#   /sbuild-nonexistent by sbuild. One viable solution would be to set HOME to
+#   DOT_SAGE for all sympow child processes of sage.
 release: ../sagemath_$(DEB_VERSION).dsc
 	sbuild \
 	  --extra-repository='deb http://httpredir.debian.org/debian experimental main' \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list