Commit Graph

116 Commits

Author SHA1 Message Date
Timo Kaufmann
9e3754786b sage: fix strictDeps fallout
See https://github.com/NixOS/nixpkgs/pull/54182 and
https://github.com/NixOS/nixpkgs/pull/55757.
2019-03-03 13:25:40 +01:00
Timo Kaufmann
2de81ee78f sage: patch for pip 19
pip 19 introduced a deprecation warning for python 2.7. Since sage
internally uses pip to query for installed packages, this deprecation
warning will show up at unexpected times. That is ugly and messes with
the testsuite.

Upstream: https://trac.sagemath.org/ticket/27405
2019-03-03 13:21:22 +01:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Timo Kaufmann
9243e85fbc
sage: fix fetchSageDiff (#55783)
For some reason I changed it to use `cgit`s `rawdiff` instead of `patch`
in the update to sage 8.6. Probably commited that by accident, at least
I can't remember the reason. Also changed the excludes filter, the
leading slash prevented it from working.

As a result, the cypari2 patch changed. Only didn't notice because it
was cached.

Fixes #55780
2019-02-14 21:48:03 +01:00
Timo Kaufmann
5728028916 sage: add numpy 1.16 compatibility patch
https://trac.sagemath.org/ticket/27000
2019-02-11 21:43:56 +01:00
Timo Kaufmann
342333c0ab
sage: add compatibility for sphinx 1.8.3 (#55078) (#55560)
Since https://github.com/NixOS/nixpkgs/pull/48841 was replaced by
https://github.com/NixOS/nixpkgs/pull/54186, this needs to be done
separately.

(cherry picked from commit 33db01e6d9)
2019-02-11 13:18:16 +01:00
Vladimír Čunát
d2c4b5777b
sagelib: fix missing pkgs.pkgconfig
Again: eb3f0aef43 #54306
Apparently the derivation needs both pkgconfigs
(it fails when missing either).
2019-02-09 10:36:47 +01:00
Robert Schütz
052acfe930 sage: python-openid: move django and twill to checkInputs (#54949)
A search through the source code
(https://github.com/openid/python-openid/search?q=django and
https://github.com/openid/python-openid/search?q=twill) reveals
that they are only used in examples and tests.
2019-01-31 10:14:36 +01:00
Timo Kaufmann
d34f44db45
sage: fix transient ecl error (#54285)
Sometimes the doctests fail because ecl races to create a directory.
This should fix that by making sure each process has its own directory.
2019-01-18 23:02:03 +01:00
Timo Kaufmann
e379ee67c3 sage: 8.5 -> 8.6 2019-01-17 20:39:02 +01:00
Timo Kaufmann
a8dbc5e313
python.pkgs.cypari2: 1.3.1 -> 2.0.3 (#54093)
Upstream issues should be fixed now, see https://trac.sagemath.org/ticket/26442.
Sage needs a patch to adapt.
2019-01-16 22:15:40 +01:00
Timo Kaufmann
22c16ed300 Merge remote-tracking branch 'upstream/master' into sage-8.5 2018-12-29 12:16:02 +01:00
Timo Kaufmann
95909d4fb6 Revert "sage: preload openblasCompat"
This reverts commit 4900bbee17.

The issue that was supposed to fix is now fixed by lazy-loading rpy2 and
makign sure scipy is loaded before that.
That is not quite as nice, but preloading is now causing its own issues
with openblas 0.3.4:
https://github.com/xianyi/OpenBLAS/issues/1936
2018-12-28 23:06:05 +01:00
Timo Kaufmann
360eddd3a3 sage: remove outdated patch files 2018-12-28 23:06:05 +01:00
Timo Kaufmann
6f0f06ec89 sage: 8.5.rc1 -> 8.5 2018-12-28 23:06:05 +01:00
Timo Kaufmann
b09967d812 sage: 8.5.rc0 -> 8.5.rc1 2018-12-16 21:33:28 +01:00
Timo Kaufmann
90bc5ce04d sage: 8.5.beta5 -> 8.5.beta6 2018-12-10 19:36:24 +01:00
Symphorien Gibol
b5435d0551 giac: 1.4.9 -> 1.5.0 2018-12-09 23:18:46 +01:00
Timo Kaufmann
5f2b8de75c
Revert "pythonPackages.cypari2: 1.3.1 -> 2.0.1 (#49446)" (#51414)
This reverts commit d9b650f4cc.

The update is causing segfaults. See
https://trac.sagemath.org/ticket/26442.
2018-12-03 00:44:33 +01:00
Timo Kaufmann
88b69a0d40
Merge pull request #51337 from timokau/sagenb-matplotlib-fix
sage: misc fixes
2018-12-01 22:04:48 +01:00
Timo Kaufmann
0e570199de sage: fix jmol integration 2018-12-01 21:31:29 +01:00
Timo Kaufmann
cb73495f02 sagenb: fix matplotlib path 2018-12-01 20:41:40 +01:00
Timo Kaufmann
d9b650f4cc
pythonPackages.cypari2: 1.3.1 -> 2.0.1 (#49446) 2018-12-01 12:57:55 +01:00
Timo Kaufmann
d6376bca6d sage: don't test the downgraded R
Fails transiently. See https://github.com/NixOS/nixpkgs/pull/49249. The
failures look harmless and are fixed with R 3.5 which will be used in
sage 8.5.
2018-11-28 22:52:15 +01:00
Timo Kaufmann
359bf7f1e3 sage: disable test timeout
Hydra build failed due to timeout:
https://hydra.nixos.org/build/84870983
2018-11-28 22:37:24 +01:00
Timo Kaufmann
4900bbee17 sage: preload openblasCompat 2018-11-28 20:44:09 +01:00
Timo Kaufmann
7ca2915a50 sage: 8.5.beta4 -> 8.5.beta5 2018-11-27 18:26:16 +01:00
Timo Kaufmann
2dd9a0ed72 Merge remote-tracking branch 'upstream/master' into sage-8.5 2018-11-27 18:25:39 +01:00
Timo Kaufmann
90cebaf828 sage: 8.5.beta3 -> 8.5.beta4 2018-11-25 19:39:18 +01:00
Timo Kaufmann
2a87caa892 sage: 8.5.beta2 -> 8.5.beta3 2018-11-25 19:39:17 +01:00
Timo Kaufmann
3370247f7f sage: 8.5.beta1 -> 8.5.beta2 2018-11-25 19:39:17 +01:00
Timo Kaufmann
883aa99226 sage: add short tests 2018-11-25 19:39:13 +01:00
Timo Kaufmann
8e7da1b8a4 sage: 8.5.beta0 -> 8.5.beta1 2018-11-25 19:36:21 +01:00
Timo Kaufmann
6138f5d5eb sage: 8.4 -> 8.5.beta0 2018-11-25 19:36:21 +01:00
Timo Kaufmann
2fbde72556
sage: add tkinter as matplotlib backend (#51032)
Fixes #50959.
2018-11-25 17:38:45 +01:00
Timo Kaufmann
98c94d3d7d sage: add jupyter notebook support
Fixes #48544.
2018-11-25 15:54:31 +01:00
Timo Kaufmann
a0723f1285 sage: don't fix node version 2018-11-24 23:14:38 +01:00
Timo Kaufmann
e28a8ed287 sage: add some flexibility to the test runner
Make it possible to run individual tests. This is very useful while
git-bisecting.
2018-11-24 23:14:38 +01:00
Timo Kaufmann
21f9123ea6 sage: remove openblas hack
The pc files have since been included into the openblas package.
2018-11-24 23:14:38 +01:00
Timo Kaufmann
3832ddedb9 sage: refactor 2018-11-24 23:14:33 +01:00
Timo Kaufmann
9b4a518465 sage: drop known-padics-failure patch
The failure was not observed for a while and is probably fixed now.
2018-11-24 19:01:57 +01:00
Timo Kaufmann
ca6475b5e8 sage: drop unused patches 2018-11-24 19:01:57 +01:00
Frederik Rietdijk
63c6875f26 Merge master into staging-next 2018-11-18 10:32:12 +01:00
Jörg Thalheim
131f2e93b6
sage: unpin nodePackage version 2018-11-16 21:24:25 +00:00
Frederik Rietdijk
53d00c3351 Merge master into staging-next 2018-11-10 11:08:54 +01:00
Timo Kaufmann
efe6322ce4 pythonPackages.networkx: 2.1 -> 2.2 2018-11-07 20:15:37 +01:00
Timo Kaufmann
72e6e792f6 sage: add fetchSageDiff utility function 2018-11-07 20:15:37 +01:00
Tuomas Tynkkynen
067d1cf330 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/applications/science/math/sage/sage-src.nix
2018-10-27 19:58:03 +03:00
Timo Kaufmann
2513747356 sage: fix attrname
This is a minimal change mainly to make sure repology recognizes this
package as sage. I plan a bit more refactoring later, but this is
intentionally kept minimally invasive so that it won't break anything
and can be backported to 18.09.
2018-10-27 14:18:08 +02:00
Timo Kaufmann
fbea2cd77a arb: 2.14.0 -> 2.15.1 2018-10-27 11:27:03 +02:00