Skip to content

Commit da301c8

Browse files
author
Release Manager
committed
sagemathgh-36521: GH Actions: Fix wheel build <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Fixes sagemath#35078. Successful run: https://github.com/mkoeppe/sage/actions/runs/6618701506 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36521 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents 6c8b369 + b3725e3 commit da301c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/dist.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ jobs:
111111
fail-fast: false
112112
matrix:
113113
include:
114-
- os: ubuntu-20.04
114+
- os: ubuntu-latest
115115
arch: x86_64
116-
- os: ubuntu-20.04
116+
- os: ubuntu-latest
117117
arch: i686
118-
- os: macos-10.15
118+
- os: macos-latest
119119
arch: auto
120120
env:
121121
# SPKGs to install as system packages
@@ -128,7 +128,7 @@ jobs:
128128
#
129129
CIBW_ARCHS: ${{ matrix.arch }}
130130
# https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python
131-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
131+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9, <3.12"
132132
# Environment during wheel build
133133
CIBW_ENVIRONMENT: "PATH=$(pwd)/local/bin:$PATH CPATH=$(pwd)/local/include:$CPATH LIBRARY_PATH=$(pwd)/local/lib:$LIBRARY_PATH PKG_CONFIG_PATH=$(pwd)/local/share/pkgconfig:$PKG_CONFIG_PATH ACLOCAL_PATH=/usr/share/aclocal"
134134
# Use 'build', not 'pip wheel'
@@ -156,7 +156,7 @@ jobs:
156156
mkdir -p unpacked
157157
for pkg in sagemath-objects sagemath-categories; do
158158
(cd unpacked && tar xfz - ) < dist/$pkg*.tar.gz
159-
pipx run cibuildwheel==2.7.0 unpacked/$pkg*
159+
pipx run cibuildwheel==2.16.2 unpacked/$pkg*
160160
done
161161
162162
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)