From b27da1a5c350315786c3e474675efd13092bfd06 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 19 Oct 2024 10:54:27 -0700 Subject: [PATCH 01/19] pybind11: Update to 2.13.6, switch to wheel --- build/pkgs/pybind11/checksums.ini | 8 ++++---- build/pkgs/pybind11/package-version.txt | 2 +- build/pkgs/pybind11/spkg-install.in | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 build/pkgs/pybind11/spkg-install.in diff --git a/build/pkgs/pybind11/checksums.ini b/build/pkgs/pybind11/checksums.ini index 66a54f106b5..5b78db42c17 100644 --- a/build/pkgs/pybind11/checksums.ini +++ b/build/pkgs/pybind11/checksums.ini @@ -1,4 +1,4 @@ -tarball=pybind11-VERSION.tar.gz -sha1=3c75333a9056f0be18eb612803cd46a2bb0c87fc -sha256=00cd59116a6e8155aecd9174f37ba299d1d397ed4a6b86ac1dfe01b3e40f2cc4 -upstream_url=https://files.pythonhosted.org/packages/source/p/pybind11/pybind11-VERSION.tar.gz +tarball=pybind11-VERSION-py3-none-any.whl +sha1=3d927e0ba37bd0af47cd14ec2b52eb796d412806 +sha256=237c41e29157b962835d356b370ededd57594a26d5894a795960f0047cb5caf5 +upstream_url=https://pypi.io/packages/py3/p/pybind11/pybind11-VERSION-py3-none-any.whl diff --git a/build/pkgs/pybind11/package-version.txt b/build/pkgs/pybind11/package-version.txt index 6ceb272eecd..14239ef1586 100644 --- a/build/pkgs/pybind11/package-version.txt +++ b/build/pkgs/pybind11/package-version.txt @@ -1 +1 @@ -2.11.1 +2.13.6 diff --git a/build/pkgs/pybind11/spkg-install.in b/build/pkgs/pybind11/spkg-install.in deleted file mode 100644 index deba1bb42bb..00000000000 --- a/build/pkgs/pybind11/spkg-install.in +++ /dev/null @@ -1 +0,0 @@ -cd src && sdh_pip_install . From fe3e29d34c0e42f93afff897993b4136b7a99e45 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Sat, 8 Mar 2025 16:55:21 -0600 Subject: [PATCH 02/19] version needed for scipy update --- build/pkgs/pybind11/version_requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/pkgs/pybind11/version_requirements.txt b/build/pkgs/pybind11/version_requirements.txt index 6c44c4bd07e..b282a22ae24 100644 --- a/build/pkgs/pybind11/version_requirements.txt +++ b/build/pkgs/pybind11/version_requirements.txt @@ -1 +1,2 @@ -pybind11 >=2.6 +pybind11>=2.12.0,<2.13.0 +# see https://github.com/scipy/scipy/blob/maintenance/1.14.x/pyproject.toml From 21fef4d860767c56f51664f2807b51fdb1138892 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Sat, 8 Mar 2025 15:40:03 -0600 Subject: [PATCH 03/19] pythran 0.17.0, switch to wheel --- build/pkgs/pythran/checksums.ini | 8 ++++---- build/pkgs/pythran/package-version.txt | 2 +- build/pkgs/pythran/spkg-install.in | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 build/pkgs/pythran/spkg-install.in diff --git a/build/pkgs/pythran/checksums.ini b/build/pkgs/pythran/checksums.ini index b9626c89359..05937cf071e 100644 --- a/build/pkgs/pythran/checksums.ini +++ b/build/pkgs/pythran/checksums.ini @@ -1,4 +1,4 @@ -tarball=pythran-VERSION.tar.gz -sha1=dc8a6035c0c46d36630085003160a3aba4444add -sha256=f9bc61bcb96df2cd4b578abc5a62dfb3fbb0b0ef02c264513dfb615c5f87871c -upstream_url=https://files.pythonhosted.org/packages/source/p/pythran/pythran-VERSION.tar.gz +tarball=pythran-VERSION-py3-none-any.whl +sha1=2341d42c014f88318f447083c62e8d3953b04ac2 +sha256=be569cc2817b625ccd2c8f74fa3c93806f245c65fadc282c26a9f546ebd34cfa +upstream_url=https://files.pythonhosted.org/packages/source/p/pythran/pythran-VERSION-py3-none-any.whl diff --git a/build/pkgs/pythran/package-version.txt b/build/pkgs/pythran/package-version.txt index a5510516948..c5523bd09b1 100644 --- a/build/pkgs/pythran/package-version.txt +++ b/build/pkgs/pythran/package-version.txt @@ -1 +1 @@ -0.15.0 +0.17.0 diff --git a/build/pkgs/pythran/spkg-install.in b/build/pkgs/pythran/spkg-install.in deleted file mode 100644 index 37ac1a53437..00000000000 --- a/build/pkgs/pythran/spkg-install.in +++ /dev/null @@ -1,2 +0,0 @@ -cd src -sdh_pip_install . From f98e5409afa178cdafc540ad35ff8e7519101be3 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 15 Jun 2024 17:09:19 -0700 Subject: [PATCH 04/19] build/pkgs/ninja_build: Update to 1.12.1 --- build/pkgs/ninja_build/checksums.ini | 4 ++-- build/pkgs/ninja_build/package-version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/pkgs/ninja_build/checksums.ini b/build/pkgs/ninja_build/checksums.ini index d640d72d1fc..245170a1449 100644 --- a/build/pkgs/ninja_build/checksums.ini +++ b/build/pkgs/ninja_build/checksums.ini @@ -1,4 +1,4 @@ tarball=ninja_build-VERSION.tar.gz -sha1=938723cdfc7a6f7c8f84c83b9a2cecdf1e5e1ad3 -sha256=31747ae633213f1eda3842686f83c2aa1412e0f5691d1c14dbbcc67fe7400cea +sha1=f3a1a28e0e427be58b4f2ff2e61b7a4a0e4f0c24 +sha256=821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a upstream_url=https://github.com/ninja-build/ninja/archive/refs/tags/vVERSION.tar.gz diff --git a/build/pkgs/ninja_build/package-version.txt b/build/pkgs/ninja_build/package-version.txt index 720c7384c61..f8f4f03b3dc 100644 --- a/build/pkgs/ninja_build/package-version.txt +++ b/build/pkgs/ninja_build/package-version.txt @@ -1 +1 @@ -1.11.1 +1.12.1 From a7abfcf21226e6e1e0cbf4ddb9f2a1de19d46c7f Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Sat, 8 Mar 2025 22:23:16 -0600 Subject: [PATCH 05/19] bump numpy to 2.2.3, scipy to 1.15.2 also fix a related doctest in graphs --- build/pkgs/numpy/checksums.ini | 4 ++-- build/pkgs/numpy/package-version.txt | 2 +- build/pkgs/scipy/checksums.ini | 4 ++-- build/pkgs/scipy/package-version.txt | 2 +- build/pkgs/scipy/version_requirements.txt | 2 +- src/sage/graphs/generic_graph.py | 12 ++++++++---- 6 files changed, 15 insertions(+), 11 deletions(-) diff --git a/build/pkgs/numpy/checksums.ini b/build/pkgs/numpy/checksums.ini index 6814f0f5c10..f2d23137e15 100644 --- a/build/pkgs/numpy/checksums.ini +++ b/build/pkgs/numpy/checksums.ini @@ -1,4 +1,4 @@ tarball=numpy-VERSION.tar.gz -sha1=915414f1efabd7c183583154cf1a709bd2745828 -sha256=697df43e2b6310ecc9d95f05d5ef20eacc09c7c4ecc9da3f235d39e71b7da1e4 +sha1=f776e594fbd88e4a50639213b4c510b1588e2dd0 +sha256=dbdc15f0c81611925f382dfa97b3bd0bc2c1ce19d4fe50482cb0ddc12ba30020 upstream_url=https://files.pythonhosted.org/packages/source/n/numpy/numpy-VERSION.tar.gz diff --git a/build/pkgs/numpy/package-version.txt b/build/pkgs/numpy/package-version.txt index f8f73814096..585940699b5 100644 --- a/build/pkgs/numpy/package-version.txt +++ b/build/pkgs/numpy/package-version.txt @@ -1 +1 @@ -1.26.3 +2.2.3 diff --git a/build/pkgs/scipy/checksums.ini b/build/pkgs/scipy/checksums.ini index d834a3ad1b3..35831f94fc9 100644 --- a/build/pkgs/scipy/checksums.ini +++ b/build/pkgs/scipy/checksums.ini @@ -1,4 +1,4 @@ tarball=scipy-VERSION.tar.gz -sha1=0fd6e14972d8dd9b4a656686a40aed00ad0f1396 -sha256=4bf5abab8a36d20193c698b0f1fc282c1d083c94723902c447e5d2f1780936a3 +sha1=093c30bdd187fd5693a8d2fc9fcb961b96418a85 +sha256=cd58a314d92838f7e6f755c8a2167ead4f27e1fd5c1251fd54289569ef3495ec upstream_url=https://files.pythonhosted.org/packages/source/s/scipy/scipy-VERSION.tar.gz diff --git a/build/pkgs/scipy/package-version.txt b/build/pkgs/scipy/package-version.txt index 0eed1a29efd..42cf0675c56 100644 --- a/build/pkgs/scipy/package-version.txt +++ b/build/pkgs/scipy/package-version.txt @@ -1 +1 @@ -1.12.0 +1.15.2 diff --git a/build/pkgs/scipy/version_requirements.txt b/build/pkgs/scipy/version_requirements.txt index 8f07730e208..930dcdb6bd5 100644 --- a/build/pkgs/scipy/version_requirements.txt +++ b/build/pkgs/scipy/version_requirements.txt @@ -4,4 +4,4 @@ # deprecations cannot be introduced in micro releases. # SciPy devs wait "at least 6 months", "in practice two (minor) releases" # from deprecation to removal of a feature. -scipy >=1.5 +scipy >=1.12 diff --git a/src/sage/graphs/generic_graph.py b/src/sage/graphs/generic_graph.py index f2a18b088bb..f0c6e527979 100644 --- a/src/sage/graphs/generic_graph.py +++ b/src/sage/graphs/generic_graph.py @@ -16220,21 +16220,25 @@ def clustering_coeff(self, {0: 1/3, 1: 1/3, 2: 0, 3: 1/3, 4: 1/3, 5: 1/3, 6: 1/3, 7: 1/3, 8: 0, 9: 1/3, 10: 1/3, 11: 0} - sage: (graphs.FruchtGraph()).clustering_coeff(weight=True) # needs networkx + sage: # needs networkx + sage: import numpy + sage: if int(numpy.version.short_version[0]) > 1: + ....: numpy.set_printoptions(legacy="1.25") + sage: graphs.FruchtGraph().clustering_coeff(weight=True) {0: 0.3333333333333333, 1: 0.3333333333333333, 2: 0, 3: 0.3333333333333333, 4: 0.3333333333333333, 5: 0.3333333333333333, 6: 0.3333333333333333, 7: 0.3333333333333333, 8: 0, 9: 0.3333333333333333, 10: 0.3333333333333333, 11: 0} - sage: (graphs.FruchtGraph()).clustering_coeff(nodes=[0,1,2]) + sage: graphs.FruchtGraph().clustering_coeff(nodes=[0,1,2]) {0: 0.3333333333333333, 1: 0.3333333333333333, 2: 0.0} - sage: (graphs.FruchtGraph()).clustering_coeff(nodes=[0,1,2], # needs networkx + sage: graphs.FruchtGraph().clustering_coeff(nodes=[0,1,2], # needs networkx ....: weight=True) {0: 0.3333333333333333, 1: 0.3333333333333333, 2: 0} - sage: (graphs.GridGraph([5,5])).clustering_coeff(nodes=[(0,0),(0,1),(2,2)]) + sage: graphs.GridGraph([5,5]).clustering_coeff(nodes=[(0,0),(0,1),(2,2)]) {(0, 0): 0.0, (0, 1): 0.0, (2, 2): 0.0} TESTS: From a792b55409464c201475e1384b99a9ed63c8da07 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Mon, 20 Jan 2025 17:27:24 -0600 Subject: [PATCH 06/19] correctly document location of conftest.py for pytest --- src/doc/en/developer/tools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/en/developer/tools.rst b/src/doc/en/developer/tools.rst index bc18723cb24..661b8972185 100644 --- a/src/doc/en/developer/tools.rst +++ b/src/doc/en/developer/tools.rst @@ -382,7 +382,7 @@ package :mod:`sage.numerical.backends` and some modules in - VS Code: Install the `Python extension `_ and follow the `official VS Code documentation `__. -*Configuration:* :sage_root:`src/conftest.py` +*Configuration:* :sage_root:`conftest.py` *Documentation:* https://docs.pytest.org/en/stable/index.html From 7d543f8535ec115989b5bfe0f2e1ecbfa76074cd Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Tue, 21 Jan 2025 18:04:32 -0600 Subject: [PATCH 07/19] wrap ./configure in a wrapper saving conftest.py as autoconf's generated configure clobbers conftest*, we are saving conftest.py from it by making a backup copy and then restoring it after the real configure was run. --- .gitignore | 1 + bootstrap | 2 ++ configure_wrapper | 4 ++++ 3 files changed, 7 insertions(+) create mode 100755 configure_wrapper diff --git a/.gitignore b/.gitignore index d290bd9883d..0424cf2d961 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ /config.log /config.status /configure +/real_configure /confdefs.h /m4/sage_spkg_configures.m4 diff --git a/bootstrap b/bootstrap index 00c2a1f7d54..c5abb339832 100755 --- a/bootstrap +++ b/bootstrap @@ -329,3 +329,5 @@ fi if [ $SAVE = yes ]; then save fi +mv configure real_configure +cp configure_wrapper configure diff --git a/configure_wrapper b/configure_wrapper new file mode 100755 index 00000000000..3eb3eeb00b4 --- /dev/null +++ b/configure_wrapper @@ -0,0 +1,4 @@ +#! /bin/sh +cp conftest.py bak_conftest.py +./real_configure $@ +mv bak_conftest.py conftest.py From 4ce11db2f31c4b54cfd1a5298280088c8718f586 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Wed, 22 Jan 2025 11:22:23 -0600 Subject: [PATCH 08/19] add the wrapper and real_configure to configure tarball --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index c5abb339832..048d16e8575 100755 --- a/bootstrap +++ b/bootstrap @@ -220,7 +220,7 @@ save () { fi mkdir -p upstream tar zcf "$NEWCONFBALL" \ - configure \ + configure real_configure configure_wrapper \ config/install-sh config/compile config/config.guess config/config.sub config/missing \ build/make/Makefile-auto.in \ src/doc/en/installation/*.txt \ From 211789bb33012f8241df8cd3f9548bb0d2e9e243 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Wed, 22 Jan 2025 14:24:25 -0600 Subject: [PATCH 09/19] use ./bootstrap in building docker container --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a97664b2292..4cc7e2884e5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -196,7 +196,7 @@ ARG MAKEFLAGS="-j2" ENV MAKEFLAGS $MAKEFLAGS ARG SAGE_NUM_THREADS="2" ENV SAGE_NUM_THREADS $SAGE_NUM_THREADS -RUN make configure +RUN ./bootstrap # Old default before https://github.com/sagemath/sage/issues/32406 RUN ./configure --disable-editable RUN make build From e0fd9c4f970c159c68e8d0289b6d7a9a1038542c Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Wed, 22 Jan 2025 19:30:17 -0600 Subject: [PATCH 10/19] move wrapper creation to the better place --- bootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstrap b/bootstrap index 048d16e8575..77a5cde41ed 100755 --- a/bootstrap +++ b/bootstrap @@ -146,7 +146,9 @@ EOF st=$? case $st in - 0) true;; # Success + 0) # Success + mv configure real_configure + cp configure_wrapper configure;; 179|16|63|127) # no m4 for pkg-config|autotools not installed|or version too old if [ $DOWNLOAD = yes ]; then @@ -329,5 +331,3 @@ fi if [ $SAVE = yes ]; then save fi -mv configure real_configure -cp configure_wrapper configure From acc98084731a7b0337abe6568fcf68ec275e54bb Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Fri, 24 Jan 2025 11:02:29 +0700 Subject: [PATCH 11/19] also ADD configure_wrapper and conftest.py --- .ci/write-dockerfile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/write-dockerfile.sh b/.ci/write-dockerfile.sh index 7a3512dafd9..0453a023a74 100755 --- a/.ci/write-dockerfile.sh +++ b/.ci/write-dockerfile.sh @@ -275,7 +275,7 @@ cat < Date: Fri, 24 Jan 2025 00:19:54 -0600 Subject: [PATCH 12/19] add comments suggested on #39373i by user202729 --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 189c25b6e3c..ae1da225f67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -311,6 +311,8 @@ jobs: - name: Generate Dockerfile # From docker.yml + # tox -e command runs commands in `tox.ini`, + # in particlar the script `.ci/write-dockerfile.sh`, to generate `Dockerfile`. run: | tox -e ${{ env.TOX_ENV }} cp .tox/${{ env.TOX_ENV }}/Dockerfile . From ce445f0182d9aaa76152fa8dda7a5e16e3b96dcc Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Fri, 24 Jan 2025 22:12:39 -0600 Subject: [PATCH 13/19] Revert "use ./bootstrap in building docker container" This reverts commit 48a81bdf8042ad7855dc2ff83e46618d9e26ef47. --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4cc7e2884e5..a97664b2292 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -196,7 +196,7 @@ ARG MAKEFLAGS="-j2" ENV MAKEFLAGS $MAKEFLAGS ARG SAGE_NUM_THREADS="2" ENV SAGE_NUM_THREADS $SAGE_NUM_THREADS -RUN ./bootstrap +RUN make configure # Old default before https://github.com/sagemath/sage/issues/32406 RUN ./configure --disable-editable RUN make build From f4d90d930c29b9cf50f990fd4575004f646d9c06 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Fri, 24 Jan 2025 23:41:14 -0600 Subject: [PATCH 14/19] typo fix --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae1da225f67..81fbfd463e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -312,7 +312,7 @@ jobs: - name: Generate Dockerfile # From docker.yml # tox -e command runs commands in `tox.ini`, - # in particlar the script `.ci/write-dockerfile.sh`, to generate `Dockerfile`. + # in particular the script `.ci/write-dockerfile.sh`, to generate `Dockerfile`. run: | tox -e ${{ env.TOX_ENV }} cp .tox/${{ env.TOX_ENV }}/Dockerfile . From 783439e48a1174d9ff02f171747b7cf1329894f2 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Mon, 10 Mar 2025 17:18:43 +0000 Subject: [PATCH 15/19] correct version-requirements --- build/pkgs/pybind11/version_requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pkgs/pybind11/version_requirements.txt b/build/pkgs/pybind11/version_requirements.txt index b282a22ae24..ddd5ff5f7bc 100644 --- a/build/pkgs/pybind11/version_requirements.txt +++ b/build/pkgs/pybind11/version_requirements.txt @@ -1,2 +1,2 @@ -pybind11>=2.12.0,<2.13.0 -# see https://github.com/scipy/scipy/blob/maintenance/1.14.x/pyproject.toml +pybind11>=2.13.2,<2.14.0 +# see https://github.com/scipy/scipy/blob/maintenance/1.15.x/pyproject.toml From e22f4432b93f90b5a4e6a8d039bcdc5e1ff11464 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Tue, 11 Mar 2025 15:26:43 +0000 Subject: [PATCH 16/19] correct package's wheel URL --- build/pkgs/pythran/checksums.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pkgs/pythran/checksums.ini b/build/pkgs/pythran/checksums.ini index 05937cf071e..61b3f423e5f 100644 --- a/build/pkgs/pythran/checksums.ini +++ b/build/pkgs/pythran/checksums.ini @@ -1,4 +1,4 @@ tarball=pythran-VERSION-py3-none-any.whl sha1=2341d42c014f88318f447083c62e8d3953b04ac2 sha256=be569cc2817b625ccd2c8f74fa3c93806f245c65fadc282c26a9f546ebd34cfa -upstream_url=https://files.pythonhosted.org/packages/source/p/pythran/pythran-VERSION-py3-none-any.whl +upstream_url=https://files.pythonhosted.org/packages/packages/py3/p/pythran/pythran-VERSION-py3-none-any.whl From c79b0fe880281e040495aacc3ee467667b4e55a3 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Tue, 11 Mar 2025 12:34:31 -0500 Subject: [PATCH 17/19] fix typo --- build/pkgs/pythran/checksums.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pkgs/pythran/checksums.ini b/build/pkgs/pythran/checksums.ini index 61b3f423e5f..ebb9201d099 100644 --- a/build/pkgs/pythran/checksums.ini +++ b/build/pkgs/pythran/checksums.ini @@ -1,4 +1,4 @@ tarball=pythran-VERSION-py3-none-any.whl sha1=2341d42c014f88318f447083c62e8d3953b04ac2 sha256=be569cc2817b625ccd2c8f74fa3c93806f245c65fadc282c26a9f546ebd34cfa -upstream_url=https://files.pythonhosted.org/packages/packages/py3/p/pythran/pythran-VERSION-py3-none-any.whl +upstream_url=https://files.pythonhosted.org/packages/py3/p/pythran/pythran-VERSION-py3-none-any.whl From 052acf6f37ba06c8c0b74c9d46dfb3806fd520d5 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Tue, 11 Mar 2025 13:22:51 -0500 Subject: [PATCH 18/19] correct version reqs --- build/pkgs/pythran/version_requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/pkgs/pythran/version_requirements.txt b/build/pkgs/pythran/version_requirements.txt index f365e5f4971..32d8417ff53 100644 --- a/build/pkgs/pythran/version_requirements.txt +++ b/build/pkgs/pythran/version_requirements.txt @@ -1 +1,2 @@ -pythran >=0.12.1 +pythran>=0.14.0,<0.18.0 +# per https://github.com/scipy/scipy/blob/maintenance/1.15.x/pyproject.toml From 07e64616a42c2f773d6aa98681766983542547d3 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Tue, 11 Mar 2025 21:50:47 -0500 Subject: [PATCH 19/19] bump up external meson's minimal version for scipy --- build/pkgs/meson/spkg-configure.m4 | 8 +++----- build/pkgs/meson/version_requirements.txt | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/build/pkgs/meson/spkg-configure.m4 b/build/pkgs/meson/spkg-configure.m4 index 7ebfa601644..1dd9935816a 100644 --- a/build/pkgs/meson/spkg-configure.m4 +++ b/build/pkgs/meson/spkg-configure.m4 @@ -1,8 +1,6 @@ SAGE_SPKG_CONFIGURE([meson], [dnl - dnl scipy 1.11.2 needs meson >= 1.1.0 - dnl contourpy needs meson >= 1.2.0 - dnl meson_python needs meson >= 1.2.3 for Python >= 3.12 - AC_CACHE_CHECK([for meson >= 1.2.3], [ac_cv_path_MESON], [dnl + dnl scipy 1.15.2 needs meson >= 1.5.0 + AC_CACHE_CHECK([for meson >= 1.5.0], [ac_cv_path_MESON], [dnl dnl Do not accept meson installed in the default user scheme; dnl it will not work in our venv because we set PYTHONUSERBASE dnl in sage-env. @@ -10,7 +8,7 @@ SAGE_SPKG_CONFIGURE([meson], [dnl AC_PATH_PROGS_FEATURE_CHECK([MESON], [meson], [dnl AS_IF([meson_version=$($ac_path_MESON --version 2>&1)], [dnl AS_IF([test -n "$meson_version"], [dnl - AX_COMPARE_VERSION([$meson_version], [ge], [1.2.3], [dnl + AX_COMPARE_VERSION([$meson_version], [ge], [1.5.0], [dnl ac_cv_path_MESON="$ac_path_MESON" ac_path_MESON_found=: ]) diff --git a/build/pkgs/meson/version_requirements.txt b/build/pkgs/meson/version_requirements.txt index 0b9952eaa15..6026d02b4af 100644 --- a/build/pkgs/meson/version_requirements.txt +++ b/build/pkgs/meson/version_requirements.txt @@ -1 +1 @@ -meson +meson >= 1.5.0