2424 run : |
2525 python3 -m pip install build
2626 python3 -m build --sdist
27- - uses : actions/upload-artifact@v3
27+ - uses : actions/upload-artifact@v5
2828 with :
2929 path : " dist/*.tar.gz"
3030 name : dist
@@ -54,16 +54,14 @@ jobs:
5454 arch : auto
5555 env :
5656 # SPKGs to install as system packages
57- SPKGS : _bootstrap _prereq
57+ SPKGS : _bootstrap _prereq gmp mpfr mpc
5858 # Non-Python packages to install as spkgs
5959 TARGETS_PRE : gmp mpfr mpc ppl-ensure
6060 # Disable building PyPy wheels on all platforms
6161 # Disable musllinux until #33083 provides alpine package information
6262 CIBW_SKIP : " pp* *-musllinux*"
6363 #
6464 CIBW_ARCHS : ${{ matrix.arch }}
65- # https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python
66- CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9"
6765 # Environment during wheel build
6866 CIBW_ENVIRONMENT : " PATH=$(pwd)/local/bin:$PATH CPATH=$(pwd)/local/include:$CPATH LIBRARY_PATH=$(pwd)/local/lib:$LIBRARY_PATH LD_LIBRARY_PATH=$(pwd)/local/lib:$LD_LIBRARY_PATH PKG_CONFIG_PATH=$(pwd)/local/share/pkgconfig:$PKG_CONFIG_PATH ACLOCAL_PATH=/usr/share/aclocal"
6967 # Use 'build', not 'pip wheel'
7472 repository : sagemath/sage
7573 ref : develop
7674
77- - uses : actions/download-artifact@v3
75+ - uses : actions/download-artifact@v6
7876 with :
7977 name : dist
8078 path : dist
8482 # Installing pipx follows the approach of https://github.com/pypa/cibuildwheel/pull/1743
8583 id : python
8684 with :
87- python-version : " 3.8 - 3.12 "
85+ python-version : " 3.12 - 3.14 "
8886 update-environment : false
8987
9088 - name : Build platform wheels
@@ -97,14 +95,14 @@ jobs:
9795 run : |
9896 "${{ steps.python.outputs.python-path }}" -m pip install pipx
9997 export PATH=build/bin:$PATH
100- export CIBW_BEFORE_ALL="( $(sage-print-system-package-command debian --yes --no-install-recommends install $(sage-get-system-packages debian $SPKGS)) || $(sage-print-system-package-command fedora --yes --no-install-recommends install $(sage-get-system-packages fedora $SPKGS | sed s/pkg-config/pkgconfig/)) || ( $(sage-print-system-package-command homebrew --yes --no-install-recommends install $(sage-get-system-packages homebrew $SPKGS)) || echo error ignored) ) && ./bootstrap && ./configure --enable-build-as-root --enable-fat-binary && MAKE=\"make -j6\" make V=0 $TARGETS_PRE"
98+ export CIBW_BEFORE_ALL="( $(sage-print-system-package-command debian --yes --no-install-recommends install $(sage-get-system-packages debian $SPKGS)) || $(sage-print-system-package-command fedora --yes --no-install-recommends install $(sage-get-system-packages fedora $SPKGS | sed s/pkg-config/pkgconfig/)) || ( $(sage-print-system-package-command homebrew --yes --no-install-recommends install $(sage-get-system-packages homebrew $SPKGS)) || $(sage-print-system-package-command alpine --yes --no-install-recommends install $(sage-get-system-packages alpine $SPKGS)) || echo error ignored) ) && ./bootstrap && ./configure --enable-build-as-root --enable-fat-binary --disable-meson-check --disable-boost && MAKE=\"make -j6\" make V=0 $TARGETS_PRE"
10199 mkdir -p unpacked
102100 for pkg in pplpy; do
103101 (cd unpacked && tar xfz - ) < dist/$pkg*.tar.gz
104- "${{ steps.python.outputs.python-path }}" -m pipx run cibuildwheel==2.17.0 unpacked/$pkg*
102+ "${{ steps.python.outputs.python-path }}" -m pipx run cibuildwheel==3.2.1 unpacked/$pkg*
105103 done
106104
107- - uses : actions/upload-artifact@v3
105+ - uses : actions/upload-artifact@v5
108106 with :
109107 name : wheels
110108 path : ./wheelhouse/*.whl
@@ -119,7 +117,7 @@ jobs:
119117 CAN_DEPLOY : ${{ secrets.SAGEMATH_PYPI_API_TOKEN != '' }}
120118 steps :
121119
122- - uses : actions/download-artifact@v3
120+ - uses : actions/download-artifact@v6
123121 with :
124122 name : wheels
125123 path : wheelhouse
0 commit comments