Commit Graph

275 Commits

Author SHA1 Message Date
Zhenya Vinogradov
6714723bfa sage: fix icon location in the kernel definition
The icon location is incorrect, `doc` directory exists inside `src`
directory, but not on the top level.
2021-08-19 12:20:35 +03:00
Mauricio Collares
30cd543b32 eclib: 20190909 -> 20210625, import sage update patch 2021-07-03 12:55:52 -03:00
Mauricio Collares
17e024867f sage: import sphinx and sympy update patches, update pari 2.13 patch 2021-06-30 20:26:16 -03:00
Mauricio Collares
2c7d2ce295 sageWithDoc: fix documentation symlinks 2021-05-30 13:51:15 -03:00
Mauricio Collares
22c86a0466 sageWithDoc: fix static asset deduplication 2021-05-20 18:29:02 -07:00
Mauricio Collares
874d1aba74 sageWithDoc: update sagedoc.py test for sphinx 3.5 2021-05-20 18:29:02 -07:00
Mauricio Collares
cd9e8e284c sage: fix deprecation warning from matplotlib upgrade 2021-05-20 18:29:02 -07:00
Timo Kaufmann
6cf6470429
Merge pull request #122624 from collares/pari-2.13
pari: 2.11.4 -> 2.13.1, update sage test expectations
2021-05-19 16:07:15 +02:00
Mauricio Collares
9847e84d55 pari: 2.11.4 -> 2.13.1, update sage test expectations 2021-05-12 21:21:14 -03:00
Mauricio Collares
b413d3570a sage: 9.3.rc4 -> 9.3 2021-05-11 16:49:32 -03:00
Mauricio Collares
e1ad2f5aa4 sage: remove cypari2 override
This reverts commit c12ef05bda.
2021-04-25 18:21:58 -03:00
Michael Raskin
14f65f0dc5
Merge pull request #116365 from omasanori/sage-9.3
sage: 9.2 -> 9.3
2021-04-25 21:17:32 +00:00
Masanori Ogino
090b71f627 sage: 9.2 -> 9.3.rc4
Co-authored-by: Mauricio Collares <mauricio@collares.org>
2021-04-22 14:06:56 +09:00
Mauricio Collares
00d2e24395 eclib: 20210223 -> 20190909
This reverts commits 003705ef08
and ef615b5a61.
2021-04-22 14:06:56 +09:00
Garaba Flórián
a0f410646c sage: use threejs fork 2021-04-22 14:06:56 +09:00
Frederik Rietdijk
c12ef05bda sage: keep cypari2 at 2.1.1 2021-04-03 17:49:44 +02:00
Mauricio Collares
594eda3b7d sage: patch intermittently failing test 2021-03-23 22:09:29 -03:00
Mauricio Collares
15fd117e71 cypari2: 2.1.1 -> 2.1.2
* cypari2: 2.1.1 -> 2.1.2, patch to fix segfault

* sage: update test expectations
2021-03-23 22:09:29 -03:00
Mauricio Collares
c0b869f19f sage: re-add pkgconfig input, it's not duplicated 2021-03-20 06:43:23 -03:00
Sandro
2d01f4a96a
sage: remove duplicated pkgconfig 2021-03-17 09:24:07 +01:00
Mauricio Collares
f80271c7f0 sage: remove usage of deprecated numpy aliases 2021-03-09 21:28:46 -03:00
Mauricio Collares
3f02cdae14 sage: reenable pexpect interrupt test 2021-03-09 21:28:46 -03:00
Mauricio Collares
edc78bb31f sage: update test expectations for arb and giac, prepare for pari 2.13 2021-03-09 20:54:55 -03:00
Mauricio Collares
a0f55e48fa sage: use fetchSageDiff whenever possible 2021-03-09 20:54:55 -03:00
Mauricio Collares
ef615b5a61 sage: adapt for eclib output format changes 2021-03-06 12:28:52 -03:00
Mauricio Collares
4718aea896 sage: use slightly more robust way of getting threejs version 2021-02-25 22:31:27 -03:00
Mauricio Collares
7efa803a4b sage: disable intermittent test 2021-02-25 22:31:27 -03:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Сухарик
4746e1717f
sympy: 1.6.2 -> 1.7.1 (#107663)
* sympy: 1.6.2 -> 1.7.1

* sage: adapt tests to sympy 1.7

Co-authored-by: Mauricio Collares <mauricio@collares.org>
2021-01-06 17:10:30 +00:00
Mauricio Collares
8100c5a44b sage: 8.9 -> 9.2 fixups 2020-12-15 16:51:42 -03:00
Masanori Ogino
5c4136daf7 sage: 8.9 -> 9.2 2020-12-14 19:24:18 -03:00
Sandro
ec421ca248
Merge pull request #100532 from piegamesde/fix-desktopitems
treewide: Fix broken desktop files and mark packages as broken
2020-11-27 22:27:59 +01:00
Timo Kaufmann
ff8338343b maintainers: create sage team
Maintaining all the packages whose updates might break some aspect of
sage.

For reference:
https://github.com/NixOS/nixpkgs/pull/103810#issuecomment-727536510
2020-11-18 21:27:37 +01:00
piegames
e14a359896 treewide: Fix broken desktop files and mark packages as broken
This fixes all packages that are failed `nixpkgs-review` in #91790.
Packages that were broken prior to that PR were marked as broken.
Packages that failed because of #75729 were fixed.
2020-10-15 15:14:51 +02:00
Gabriel Ebner
1c576d0b37 sage: use jdk8 2020-09-19 14:22:43 +02:00
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
Timo Kaufmann
9f434d7080 sage: 8.8.beta5 -> 8.8.beta6 2019-06-27 22:01:40 +02:00
Timo Kaufmann
325a5037bf sage: 8.8.beta4 -> 8.8.beta5 2019-06-27 22:01:37 +02:00
Timo Kaufmann
240d4c31d2 sage: 8.8.beta3 -> 8.8.beta4 2019-06-27 21:57:33 +02:00
Timo Kaufmann
608948e3e9 sage: 8.8.beta2 -> 8.8.beta3 2019-06-27 21:57:33 +02:00
Timo Kaufmann
21c1ab6776 sage: 8.7 -> 8.8.beta2 2019-06-27 21:57:27 +02:00
Timo Kaufmann
9955657209 sage: fix online threejs 2019-06-20 12:50:00 +02:00
Timo Kaufmann
2d78d928cd sage: backport threejs r100 compatibility
https://github.com/NixOS/nixpkgs/issues/62736#issuecomment-503757429
2019-06-20 12:50:00 +02:00
Timo Kaufmann
6e74109b13
sage: fix threejs integration (#63375)
Before this it didn't find the correct files. Unfortunately, the
interactive parts of sage are hard to test automatically.
2019-06-18 11:50:41 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Robin Gloster
6cf583cf2f
Merge pull request #60406 from JohnAZoidberg/remove-isnull
treewide: Remove usage of isNull
2019-05-18 09:36:24 +00:00
Timo Kaufmann
3814d7b14a
givaro: 4.0.4 -> 4.1.0, fflas-ffpack: 2.3.2 -> 2.4.0, linbox: 1.5.2 -> 1.6.0 (#61285)
The three packages are interdependent and need to be updated together,
like the main contributor did for sage:

https://trac.sagemath.org/ticket/24214
2019-05-11 16:09:07 +02:00
Daniel Schaefer
786f02f7a4 treewide: Remove usage of isNull
isNull "is deprecated; just write e == null instead" says the Nix manual
2019-04-29 14:05:50 +02:00
Timo Kaufmann
6dabc28cd0 sage: add compatibility for R 3.6.0
The random number generator seems to have changed. Because of this, a
trivial test adjustment is needed.
2019-04-29 13:37:07 +02:00