Skip to content

Commit af4c4a5

Browse files
committed
Update github action for py313 and py314
1 parent 95f72ea commit af4c4a5

File tree

2 files changed

+3
-31
lines changed

2 files changed

+3
-31
lines changed

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
path-type: inherit
4545

4646
- name: Build wheels
47-
uses: pypa/cibuildwheel@v2.19.2
47+
uses: pypa/cibuildwheel@v3.2.0
4848
env:
4949
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
5050
CIBW_ARCHS: ${{ matrix.buildplat[1] }}
@@ -59,34 +59,6 @@ jobs:
5959
name: cibw-wheels-${{ matrix.buildplat[0] }}-${{ matrix.buildplat[1] }}
6060
path: ./wheelhouse/*.whl
6161

62-
publish-wheels-to-repo:
63-
name: Commit Wheels to Repository
64-
needs: build_wheels
65-
runs-on: ubuntu-latest
66-
permissions:
67-
contents: write
68-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
69-
steps:
70-
- name: Checkout code
71-
uses: actions/checkout@v4
72-
- name: Download all wheel artifacts
73-
uses: actions/download-artifact@v4
74-
with:
75-
path: ./dist
76-
pattern: cibw-wheels-*
77-
merge-multiple: true
78-
- name: Commit and push wheels
79-
run: |
80-
git config --global user.name 'github-actions[bot]'
81-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
82-
git add ./dist/*.whl
83-
if git diff --staged --quiet; then
84-
echo "No new wheels to commit."
85-
else
86-
git commit -m "ci: Add built wheels [skip ci]"
87-
git push
88-
fi
89-
9062
publish-to-testpypi:
9163
name: Publish to TestPyPI
9264
needs: build_wheels

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tool.cibuildwheel]
22
build-verbosity = 1
33
build-frontend = "pip"
4-
build = "cp39* cp310* cp311* cp312* cp313*"
4+
build = "cp39* cp310* cp311* cp312* cp313* cp314*"
55

66
[build-system]
77
requires = ["setuptools>=42", "wheel", "numpy>=1.23", "meson", "ninja", "cibuildwheel"]
88

99
[project]
1010
name = "equilipy"
11-
version = "0.1.6"
11+
version = "0.1.7"
1212
authors = [
1313
{name = "Sunyong Kwon", email = "[email protected]"},
1414
]

0 commit comments

Comments
 (0)