Package: sagemath / 7.4-9
Metadata
Package | Version | Patches format |
---|---|---|
sagemath | 7.4-9 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
u0 version cython 0.25.patch | (download) |
sage/src/sage/calculus/var.pyx |
2 2 + 0 - 0 ! |
[patch 1/2] move old_style_globals to individual modules |
u0 version glpk 4.60.patch | (download) |
sage/src/sage/numerical/backends/glpk_backend.pyx |
4 2 + 2 - 0 ! |
update doctests to glpk 4.60 Taken from https://trac.sagemath.org/ticket/20710 |
u0 version pari 2.9 trac 21765.patch | (download) |
sage/src/sage/rings/number_field/number_field_rel.py |
6 2 + 4 - 0 ! |
simplify relative_discriminant() |
u0 version pari 2.9.patch | (download) |
sage/src/sage/libs/pari/pari_instance.pxd |
1 0 + 1 - 0 ! |
upgrade to pari 2.9.0 |
u0 version singular 4.patch | (download) |
sage/src/bin/sage |
2 1 + 1 - 0 ! |
necessary changes to work with singular 4. |
u0 distutils fixes.patch | (download) |
sage/src/module_list.py |
18 4 + 14 - 0 ! |
clean up some # distutils directives |
u0 pip nowarn.patch | (download) |
sage/src/sage/misc/package.py |
2 1 + 1 - 0 ! |
don't output pip warnings, otherwise some doctests fail This removes two types of warnings. "--no-index" suppresses messages from pip advertising a new pip version. This was applied to sage in https://trac.sagemath.org/ticket/21812 "--format=legacy" suppresses a warning that the default format will change from legacy to columns. This is being discussed in https://trac.sagemath.org/ticket/21835 |
u0 timeit python 2.7.11.patch | (download) |
sage/src/sage/misc/sage_timeit.py |
2 1 + 1 - 0 ! |
fix timeit when used with python 2.7.11 Causes many tests to fail otherwise. |
u1 version planarity 3.patch | (download) |
sage/src/sage/graphs/planarity.pyx |
53 30 + 23 - 0 ! |
update sage's planarity module to use api v3 Between v3 and v2, planarity upstream decided to switch from 0-based array indexing to 1-based array indexing for the lulz. So funny, I really enjoyed wasting several hours of my time. |
u1 version pbori boost1.62 hashes.patch | (download) |
sage/src/sage/rings/polynomial/pbori.pyx |
12 6 + 6 - 0 ! |
change expected brial hashes for change in hash_combine in boost 1.62 The hash function for boost::hash_combine() which is called in libbrial/include/polybori/routines/pbori_routines_hash.h was changed for boost 1.62 in the commit https://github.com/boostorg/functional/commit/45eeb170f2b1372b4b5e52744d3c51eddb285b42 . Therefore the hashes changed. For the same reason brial in Debian has the patch testsuite-boost-1.62.patch. |
u1 version ecm 7.patch | (download) |
sage/src/sage/interfaces/ecm.py |
24 10 + 14 - 0 ! |
necessary changes to work with ecm 7. |
u1 version cddlib 094h.patch | (download) |
sage/src/sage/geometry/polyhedron/backend_cdd.py |
8 6 + 2 - 0 ! |
use cddlib version 094h |
u1 version pkgconfig.patch | (download) |
sage/src/module_list.py |
2 1 + 1 - 0 ! |
--- |
u1 fix libgap systemwide.patch | (download) |
sage/src/sage/libs/gap/gap_includes.pxd |
40 20 + 20 - 0 ! |
--- |
u1 fix use lexists not exists.patch | (download) |
sage/src/sage_setup/docbuild/ext/multidocs.py |
2 1 + 1 - 0 ! |
use lexists instead of exists os.path.exists returns False for a broken symlink; we want lexists here |
u1 fix proper scipy rtol.patch | (download) |
sage/src/sage/numerical/optimize.py |
5 4 + 1 - 0 ! |
fix sage's use of scipy rtol parameter The scipy documentation very clearly says: "The parameter cannot be smaller than its default value of ``4*np.finfo(float).eps``" so use that instead of a hard-coded value. |
u1 fix preexec fn.patch | (download) |
sage/src/sage/interfaces/expect.py |
2 2 + 0 - 0 ! |
work around python bug #1652 This avoids GAP printing extraneous "gzip: stdout: Broken pipe" errors However it is NOT related to Debian bug #844789 |
u1 fix dont require DISPLAY.patch | (download) |
sage/src/sage/gsl/probability_distribution.pyx |
1 1 + 0 - 0 ! |
don't fail plot.py doctest if display is unset https://stackoverflow.com/questions/37604289/tkinter-tclerror-no-display-name-and-no-display-environment-variable |
u2 reproducible docs.patch | (download) |
sage/src/doc/common/conf.py |
2 1 + 1 - 0 ! |
generate documentation reproducibly TODO: make this use SOURCE_DATE_EPOCH instead which is set automatically by debhelper https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Python |
u2 looser doctest basename.patch | (download) |
sage/src/sage/doctest/sources.py |
4 2 + 2 - 0 ! |
make sage.doctest.sources.get_basename work in more situations This lets you specify SAGE_SRC like /path/to/test/dir/../../src/dir, which avoids post-install test failures in sage/doctest/test.py |
u2 fix atrocious symlink logic.patch | (download) |
sage/src/sage/repl/ipython_kernel/install.py |
8 8 + 0 - 0 ! |
fix atrocious logic in symlink() If the desired result is already in effect, do nothing. Otherwise, proceed with the previous behaviour, but handle permissions errors correctly. We don't actually need any part of this file in Debian, but fixing this (so that post-install tests don't fail) was easier than trying to figure out if removing the file would have other consequences elsewhere. |
u2 fix trivial test cases.patch | (download) |
sage/src/sage/calculus/calculus.py |
2 1 + 1 - 0 ! |
fix trivial test cases to work Includes cases of: - add more "..." wildcard patterns to the test - changing the value to an exactly-equivalent value. These should probably be forwarded upstream. . Also includes cases of: - update an expected error message to some conceptually identical message |
u2 fix less trivial test cases.patch | (download) |
sage/src/sage/coding/code_bounds.py |
2 1 + 1 - 0 ! |
fix some more test cases with less-trivial failures Every override in this file should be accompanied by an explanation on why it's correct or beneficial. |
u2 fix sympow cachedir.patch | (download) |
sage/src/sage/lfunctions/sympow.py |
3 2 + 1 - 0 ! |
set sympow_cachedir to be inside dot_sage Otherwise tests fail in sbuild because sympow can't create HOME/.sympow |
u2 allow override sage local.patch | (download) |
sage/build/make/install |
6 3 + 3 - 0 ! |
allow sage_local to be overridden from outside the makefiles This makes it easier for package managers to create binary distributions. However, keep SAGE_SPKG_INST relative to SAGE_ROOT rather than SAGE_LOCAL since that would be a more intrusive change. |
u2 scripts dir.patch | (download) |
sage/src/bin/sage |
12 6 + 6 - 0 ! |
define and use sage_scripts_dir in more places So distros can install them somewhere other than /usr/bin |
d0 arb.patch | (download) |
sage/src/module_list.py |
4 2 + 2 - 0 ! |
link with -lflint-arb instead of -larb The name of the arb library is libflint-arb in Debian. |
d0 cython sys path.patch | (download) |
sage/src/sage/misc/cython.py |
1 1 + 0 - 0 ! |
add sys.path to cython includes In SageMath this is achieved by patching Cython, in this way we can used an unpatched Cython. |
d0 gsl cblas.patch | (download) |
sage/src/module_list.py |
7 3 + 4 - 0 ! |
hard-code gsl cblas paths Debian does not provide a pkg-config file for libgslcblas, so just hard-code the paths here for Sage |
d0 libgap sage.patch | (download) |
sage/src/module_list.py |
14 9 + 5 - 0 ! |
use debian libgap paths Debian installs libGAP headers to non-standard paths to avoid conflict with the main GAP headers. Moreover, many Sage modules use libGAP, so just add these paths to all modules instead of doing module-specific patches. |
d0 maxima.patch | (download) |
sage/src/bin/sage |
2 1 + 1 - 0 ! |
change to work with debians maxima-sage packages |
d0 nauty.patch | (download) |
sage/src/sage/graphs/digraph_generators.py |
2 1 + 1 - 0 ! |
--- |
d0 pari.patch | (download) |
sage/src/generate_py_source.mk |
2 1 + 1 - 0 ! |
--- |
d0 pari stackwarn.patch | (download) |
sage/src/doc/en/thematic_tutorials/explicit_methods_in_number_theory/elliptic_curves.rst |
13 11 + 2 - 0 ! |
set the default size of the pari stack to 16*10^6 bytes Also ignore the remaining warnings. This gets rid of the warnings of pari increasing the stack size which caused tests to fail. |
d0 rubiks.patch | (download) |
sage/src/sage/interfaces/rubik.py |
6 3 + 3 - 0 ! |
find rubiks binaries |
d0 singular.patch | (download) |
sage/src/sage/interfaces/singular.py |
2 1 + 1 - 0 ! |
additional changes to work with the debian package of singular |
d0 disable jsmol.patch | (download) |
sage/src/sage/repl/display/jsmol_iframe.py |
3 3 + 0 - 0 ! |
disable installation of jsmol nbextension |
d0 paths sharedata.patch | (download) |
sage/src/sage/combinat/designs/latin_squares.py |
3 1 + 2 - 0 ! |
hard-code paths to system shared data This could be made generic and forwarded upstream. For example, add another SAGE_SHARE_DATA directory, which for upstream would be the same as SAGE_SHARE and for us would be /usr/share/sagemeth. However, this may not be worth the effort: - upstream already tried it before (as SAGE_DATA) and decide to ditch that - for upstream to accept it again, we'd also have to patch lots of things that are pointless for Debian, such as the scripts in build/pkgs |
d0 paths.patch | (download) |
sage/src/sage/all.py |
21 0 + 21 - 0 ! |
hard-code paths to external system run-time dependencies |
d1 install paths.patch # many things in here could be split into an upstreamable patch | (download) |
sage/configure.ac |
3 1 + 2 - 0 ! |
install to debian paths TODO: upstream hard-codes "site-packages" in a bunch of places; these should be fixed to use SAGE_LIB instead and forwarded upstream. Then this patch could be a lot smaller. . The multidocs.py patch looks like a Sage upstream bug, that probably needs to be forwarded. |
d1 sage cli.patch | (download) |
sage/src/bin/sage |
380 5 + 375 - 0 ! |
patch the sage startup script This patch removes options that do not work for us and removes a check for if we are in a sage source directory. It has only minor modifications from the sage-on-gentoo version. |
d1 sage env.patch | (download) |
sage/README.md |
2 1 + 1 - 0 ! |
patch sage-env Note that this file is only used during the package build and not installed. Instead the file debian/adhoc/sage-env is installed. . The LD_LIBRARY_PATH can probably be forwarded upstream, either way is fine. |
d1 fakeroot.patch | (download) |
sage/configure.ac |
1 0 + 1 - 0 ! |
we are building with fakeroot which makes this check fail. dpkg-buildpackage uses `fakeroot debian/rules clean` so this is needed |
d1 test optional.patch | (download) |
sage/src/sage/doctest/control.py |
16 0 + 16 - 0 ! |
do not look for optional packages when running the testsuite |
d1 multiarch python paths.patch | (download) |
sage/src/sage/misc/sageinspect.py |
8 7 + 1 - 0 ! |
correctly handle debian's python multiarch extension module names We need to strip that part in order to return the correct ".pyx" filename. Otherwise a few post-install tests break. |
d1 doc docs.patch | (download) |
sage/src/sage/misc/copying.py |
2 1 + 1 - 0 ! |
--- |