Commit graph

215 commits

Author SHA1 Message Date
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