Skip to content

Commit 816a772

Browse files
authored
sage: 10.5 -> 10.6.rc1 (#393143)
2 parents 1f9c08c + faff103 commit 816a772

File tree

1 file changed

+8
-36
lines changed

1 file changed

+8
-36
lines changed

pkgs/by-name/sa/sage/sage-src.nix

Lines changed: 8 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
# all get the same sources with the same patches applied.
1313

1414
stdenv.mkDerivation rec {
15-
version = "10.5";
15+
version = "10.6.rc1";
1616
pname = "sage-src";
1717

1818
src = fetchFromGitHub {
1919
owner = "sagemath";
2020
repo = "sage";
2121
rev = version;
22-
hash = "sha256-OiGMc3KyHWnjVWXJ/KiqEQS1skM9nPLYcoMK9kw4718=";
22+
hash = "sha256-fhCKe0mz3Rwz+HQJWkMj6/0gbvpVW1/ENCMNWkK5ngQ=";
2323
};
2424

2525
# contains essential files (e.g., setup.cfg) generated by the bootstrap script.
2626
# TODO: investigate https://github.com/sagemath/sage/pull/35950
2727
configure-src = fetchurl {
2828
# the hash below is the tagged commit's _parent_. it can also be found by looking for
2929
# the "configure" asset at https://github.com/sagemath/sage/releases/tag/${version}
30-
url = "mirror://sageupstream/configure/configure-f6ad0ecf1f4a269f5954d5487336b13f70624594.tar.gz";
31-
hash = "sha256-VANtZDUhjOHap9XVEuG/1003E+1XRdXEnuH15hIqJd4=";
30+
url = "mirror://sageupstream/configure/configure-8dab37468c9feb4a5a1fcc22bbccc12321aaa475.tar.gz";
31+
hash = "sha256-WqaUbmqZ7qwrgp8hRjOO7vhTejE0tCiQeMhBcJLsqvI=";
3232
};
3333

3434
# Patches needed because of particularities of nix or the way this is packaged.
@@ -60,13 +60,6 @@ stdenv.mkDerivation rec {
6060
# compile libs/gap/element.pyx with -O1
6161
# a more conservative version of https://github.com/sagemath/sage/pull/37951
6262
./patches/gap-element-crash.patch
63-
64-
# https://github.com/sagemath/sage/pull/38940, landed in 10.6.beta0
65-
(fetchpatch {
66-
name = "simplicial-sets-flaky-test.patch";
67-
url = "https://github.com/sagemath/sage/commit/1830861c5130d30b891e8c643308e1ceb91ce2b5.diff";
68-
hash = "sha256-6MbZ+eJPFBEtnJsJX0MgO2AykPXSeuya0W0adiIH+KE=";
69-
})
7063
];
7164

7265
# Patches needed because of package updates. We could just pin the versions of
@@ -76,32 +69,11 @@ stdenv.mkDerivation rec {
7669
# should come from or be proposed to upstream. This list will probably never
7770
# be empty since dependencies update all the time.
7871
packageUpgradePatches = [
79-
# https://github.com/sagemath/sage/pull/38887, landed in 10.6.beta0
80-
(fetchpatch {
81-
name = "libbraiding-1.3-update.patch";
82-
url = "https://github.com/sagemath/sage/commit/f10a6d04599795732c1d99e2da0a4839ccdcb4f5.diff";
83-
hash = "sha256-xB0xg8dGLnSMdFK3/B5hkI9yzI5N3lUMhPZ89lDsp3s=";
84-
})
85-
86-
# https://github.com/sagemath/sage/pull/39261, landed in 10.6.beta4
87-
(fetchpatch {
88-
name = "scipy-1.15-update.patch";
89-
url = "https://github.com/sagemath/sage/commit/545f5bf75084a7467aae0c0b34bc000ca996df78.diff";
90-
hash = "sha256-CMwwZLPalU4jWyRf4jnYncEQbw980gt+7xtAtqypDG4=";
91-
})
92-
93-
# https://github.com/sagemath/sage/pull/38749, to land in 10.6.beta6
94-
(fetchpatch {
95-
name = "pari-2.17.1-update.patch";
96-
url = "https://github.com/sagemath/sage/compare/10.6.beta2...26f411e5939718d4439325ff669635e5a72d50e5.diff";
97-
hash = "sha256-Z4JwCuUDpqktAzNtVKRUbrJEh7TmCtFI7PJnOrcEbr4=";
98-
})
99-
100-
# https://github.com/sagemath/sage/pull/38962, landed in 10.6.beta7
72+
# https://github.com/sagemath/sage/pull/39737, positively reviewed
10173
(fetchpatch {
102-
name = "eclib-update.patch";
103-
url = "https://github.com/sagemath/sage/commit/5289298248a1d6ab11ccf169e636d951f1d77c41.diff";
104-
hash = "sha256-iQNqvywvtnvqAA9o8zn4il/XIFBiuEX+vSFZHPaPzcs=";
74+
name = "sphinx-8.2-update.patch";
75+
url = "https://github.com/sagemath/sage/pull/39737/commits/4e485497fb5e20a056ffd2178360b88f482447d8.patch";
76+
hash = "sha256-oIcFeol0SW5dE/iE6mbYyas3kXIjOwsG1k+h99R94x8=";
10577
})
10678
];
10779

0 commit comments

Comments
 (0)