Skip to content

Commit 8e45bcd

Browse files
author
Matthias Koeppe
committed
Update using '(cd .. && pipx run cruft create https://github.com/mkoeppe/sage --checkout sagemath-environment-cookiecutter --directory=pkgs/sage-project-cookiecutter/sage_project_cookiecutter/sagemath-upstream-package-template --overwrite-if-exists)'
1 parent 30f9d2d commit 8e45bcd

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/mkoeppe/sage",
3-
"commit": "395ca6708b260eda0da376a1847260cf7c841ebd",
3+
"commit": "efb7f3c3571532dfac58d5fab2326a45e1fc1370",
44
"checkout": "sagemath-environment-cookiecutter",
55
"context": {
66
"cookiecutter": {

.github/workflows/dist.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
python3 -m pip install build
2626
python3 -m build --sdist
27-
- uses: actions/upload-artifact@v3
27+
- uses: actions/upload-artifact@v4
2828
with:
2929
path: "dist/*.tar.gz"
3030
name: dist
@@ -48,10 +48,10 @@ jobs:
4848
arch: x86_64
4949
- os: ubuntu-latest
5050
arch: i686
51-
- os: macos-latest
52-
arch: auto
51+
- os: macos-13
52+
arch: x86_64
5353
- os: macos-14
54-
arch: auto
54+
arch: arm64
5555
env:
5656
# SPKGs to install as system packages
5757
SPKGS: _bootstrap _prereq
@@ -74,7 +74,7 @@ jobs:
7474
repository: sagemath/sage
7575
ref: develop
7676

77-
- uses: actions/download-artifact@v3
77+
- uses: actions/download-artifact@v4
7878
with:
7979
name: dist
8080
path: dist
@@ -101,18 +101,19 @@ jobs:
101101
mkdir -p unpacked
102102
for pkg in cysignals; do
103103
(cd unpacked && tar xfz - ) < dist/$pkg*.tar.gz
104-
"${{ steps.python.outputs.python-path }}" -m pipx run cibuildwheel==2.17.0 unpacked/$pkg*
104+
"${{ steps.python.outputs.python-path }}" -m pipx run cibuildwheel==2.18.0 unpacked/$pkg*
105105
done
106106
env:
107107
# on pp310: build/src/cysignals/implementation.c:231:9: error: implicit declaration of function 'PyPyErr_SetInterrupt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
108108
CIBW_SKIP: "pp31*"
109109

110-
- uses: actions/upload-artifact@v3
110+
- uses: actions/upload-artifact@v4
111111
with:
112-
name: wheels
112+
name: ${{ matrix.os }}-${{ matrix.arch }}-wheels
113113
path: ./wheelhouse/*.whl
114114

115115
pypi-publish:
116+
# This needs to be a separate job because pypa/gh-action-pypi-publish cannot run on macOS
116117
# https://github.com/pypa/gh-action-pypi-publish
117118
name: Upload wheels to PyPI
118119
needs: build_wheels
@@ -122,10 +123,11 @@ jobs:
122123
CAN_DEPLOY: ${{ secrets.SAGEMATH_PYPI_API_TOKEN != '' }}
123124
steps:
124125

125-
- uses: actions/download-artifact@v3
126+
- uses: actions/download-artifact@v4
126127
with:
127-
name: wheels
128+
pattern: "*-*-wheels"
128129
path: wheelhouse
130+
merge-multiple: true
129131

130132
- name: Publish package distributions to PyPI
131133
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)