Commit graph

188 commits

Author SHA1 Message Date
samlich c0bd938e5c
sage: fix doctest matrix_double_dense is_unitary 2020-05-01 16:04:23 +00:00
Matthew Bauer ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer 1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Timo Kaufmann ba589e24c9 sage: patch for pari 2.11.3 2020-03-12 12:24:41 +01:00
Timo Kaufmann 7133577405 sage: fix test suite with docutils 0.15
The better way to fix this would be to backport the upstream sphinx
patch:

faedcc48cc

Unfortunately it doesn't apply cleanly and isn't worth the effort
of backporting. Let's hope we can switch to python3 sage and the recent
sphinx version that comes with it before this becomes a problem.
2020-03-10 13:15:41 +01:00
Anders Kaseorg 3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Timo Kaufmann 8ac53ed0b1 python.pkgs.sympy: 1.4 -> 1.5
Sage needs some doctest changes. The patch was included upstream.
Modelled after https://trac.sagemath.org/ticket/28911.
2019-12-26 11:46:42 +01:00
Timo Kaufmann 6a800927bb pybrial: 1.2.3 -> 1.2.5, directly use the brial src
The pybrial package is a bit awkward. It doesn't have its own top-level
attribute, since it has a cyclic dependency with sage. That's one of the
reasons why it rarely gets updated. Its distributed along with brial, so
its best to keep the versions synchronized. The easiest way to do this
is to just re-use the source of brial.
2019-12-13 20:29:16 +01:00
Timo Kaufmann e371a02b6c sage: disable test timeout
I already did that once in 359bf7f1e3.
That change mysteriously got lost somehow (presumably in some merge
commit).

Nix has its own timeout settings, so there is no risk in running
forever. At the same time, some tests can exceed the default timeout
(30minutes per file for --long tests) when run on many weak cores (like
the aarch64 community builder or some hydra builders).
2019-12-01 13:23:54 +01:00
Timo Kaufmann afb9887dbd sage: backport fix for threejs r109 2019-11-06 14:40:16 +01:00
Timo Kaufmann f64885b9ca sage: fix pkgconfig errors in tests
python.pkgs.pkgconfig raises an exception on missing packages since
version 1.5.0. Previously those errors were just silently ignored. That
worked fine, since the packages are only missing at runtime (when they
are not really needed) but present at buildtime.

Since this fails the tests now, we just add the packages to
PKG_CONFIG_PATH at runtime. This does not add additional runtime
dependencies. Still, it would be nicer if the sage testssuite would not
test the buildsystem at runtime in the first place.

The breakage was originally caused by the pkgconfig update in
1efa71616f.
2019-11-06 14:40:13 +01:00
Timo Kaufmann da7ec1c139 sage: ignore werkzeug immutable dict deprecation 2019-11-06 14:40:13 +01:00
Timo Kaufmann f85ce834ce sage: ignore deprecation warnings in rst2sws
Needs to be fixed upstream (by werkzeug, twisted). Doesn't impact the
functionality and the tests are soon to be removed with the py3 update
anyway.
2019-11-06 14:40:13 +01:00
Timo Kaufmann af480796c9 sage: ignore cmp deprecation in sagenb 2019-11-06 14:40:13 +01:00
Timo Kaufmann 32827e35d8 sage: ignore attrs deprecation warning
cmp is deprecated since attrs 19.2.0:
http://www.attrs.org/en/19.2.0/changelog.html

The deprecation warning breaks the doctests.  Fortunately they have a
rather long deprecation window, so we can just wait until upstream(s)
fix this.
2019-10-30 22:27:00 +01:00
Timo Kaufmann 7a7e9c1b27
Merge pull request #64193 from timokau/sage-8.9
sage: 8.8 -> 8.9
2019-09-30 11:13:46 +00:00
Timo Kaufmann d9176bee70 sage: 8.9.rc1 -> 8.9 2019-09-30 11:10:10 +02:00
R. RyanTM faf9a73e2f eclib: 20190226 -> 20190909
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/eclib/versions

Relevant sage upstream ticket: https://trac.sagemath.org/ticket/28472
2019-09-26 16:41:50 +02:00
Timo Kaufmann 78741fc409 sage: 8.9.rc0 -> 8.9.rc1 2019-09-25 10:19:04 +02:00
Timo Kaufmann 1797c9c295 sage: 8.9.beta9 -> 8.9.rc0
Sage now by default expects the lcalc library to be named Lfunction
(instead of libLfunction). This could be changed by an environment
variable (https://trac.sagemath.org/ticket/28224), but various distros
seem to agree on this standard
(https://groups.google.com/forum/#!topic/sage-packaging/xvh55IxHTZg) so
it's best just to follow it. The old standard was set by sage anyway and
sage is the only consumer of lcalc in nixpkgs.
2019-09-24 17:51:09 +02:00
Timo Kaufmann 5aba3be6f9 sage: 8.9.beta8 -> 8.9.beta9 2019-09-23 18:50:59 +02:00
Timo Kaufmann 8593d468ae Merge remote-tracking branch 'upstream/master' into sage-8.9 2019-09-23 17:11:15 +02:00
Timo Kaufmann cbe12344ca sage: add pager to environment
Temporary fixup while waiting for an upstream fix.
2019-09-23 15:14:43 +02:00
volth 7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Timo Kaufmann 84578046aa sage: 8.9.beta7 -> 8.9.beta8 2019-09-03 15:34:28 +02:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Timo Kaufmann 071a4db33e sage: 8.9.beta6 -> 8.9.beta7 2019-08-19 00:16:06 +02:00
Timo Kaufmann e8436f5e23 sage: 8.9.beta5 -> 8.9.beta6 2019-08-18 21:52:27 +02:00
Frederik Rietdijk fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
Timo Kaufmann 192197dc6c
Merge pull request #65802 from timokau/sage-transient-debug
sage: add patch to debug transient issue
2019-08-17 00:33:05 +02:00
Timo Kaufmann 41bb319462 sage: avoid running out of memory during tests 2019-08-16 23:50:55 +02:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Timo Kaufmann f6265b0da5 sage: default to long tests again
Changed by accident in 5e58c5f900.
2019-08-09 18:42:14 +02:00
Timo Kaufmann 9ef44b3431 sage: move sympow cache to .sage 2019-08-09 17:45:14 +02:00
Timo Kaufmann 5e58c5f900 sympow: 1.018.1 -> 2.023.4
Maintenance taken over by debian package maintainer jgmbenoit:
https://trac.sagemath.org/ticket/3360#comment:17

This moves sympow to his fork, since there is no offical
version-controlled source repository from the original author and they
do not seem to maintain sympow anymore. We had already accumulated quite
some patches from debian, who have effectively maintained sympow for a
while now.
2019-08-09 17:45:08 +02:00
Timo Kaufmann ddd3faf08e sage: 8.9.beta4 -> 8.9.beta5 2019-08-07 15:33:15 +02:00
Timo Kaufmann f6a1fe64eb sage: 8.9.beta3 -> 8.9.beta4 2019-08-02 23:50:45 +02:00
Timo Kaufmann 69d9700c61 sage: add list of past test failures 2019-08-02 18:09:18 +02:00
Timo Kaufmann dac4719e0b sage: add patch to debug transient issue 2019-08-02 18:09:15 +02:00
Timo Kaufmann b884552c35 sage: 8.9.beta2 -> 8.9.beta3 2019-08-02 01:03:33 +02:00
Timo Kaufmann 56bd506e42 sage: 8.9.beta0 -> 8.9.beta2 2019-07-11 19:42:01 +02:00
Frederik Rietdijk 25a77b7210 Merge staging-next into staging 2019-07-03 08:59:42 +02:00
Timo Kaufmann 924c321e8a sage: 8.8 -> 8.9.beta0 2019-07-02 23:02:36 +02:00
worldofpeace 3f4a353737 treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
Timo Kaufmann 5b2db39c49 sage: 8.8.rc2 -> 8.8 2019-06-27 22:05:30 +02:00
Timo Kaufmann e7d4386e0e sage: 8.8.rc1 -> 8.8.rc2 2019-06-27 22:03:00 +02:00
Timo Kaufmann 218fd843a3 sage: 8.8.rc0 -> 8.8.rc1 2019-06-27 22:03:00 +02:00
Timo Kaufmann 409bee28b6 sage: 8.8.beta7 -> 8.8.rc0 2019-06-27 22:03:00 +02:00
Timo Kaufmann c76e8fa86e sage: 8.8.beta6 -> 8.8.beta7 2019-06-27 22:02:57 +02:00