Skip to content

Commit 5a486f4

Browse files
committed
BLD don't allow wasm wheels to be published
1 parent 3f3fa0d commit 5a486f4

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

.github/workflows/wheels.yml

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@ jobs:
4949
# https://github.com/github/feedback/discussions/7835#discussioncomment-1769026
5050
buildplat:
5151
- [ubuntu-22.04, manylinux_x86_64, ""]
52-
- [ubuntu-22.04, musllinux_x86_64, ""]
53-
- [ubuntu-22.04-arm, manylinux_aarch64, ""]
54-
- [ubuntu-22.04-arm, musllinux_aarch64, ""]
55-
- [macos-13, macosx_x86_64, openblas]
56-
57-
# targeting macos >= 14. Could probably build on macos-14, but it would be a cross-compile
58-
- [macos-13, macosx_x86_64, accelerate]
59-
- [macos-14, macosx_arm64, openblas]
60-
- [macos-14, macosx_arm64, accelerate]
61-
- [windows-2022, win_amd64, ""]
62-
- [windows-2022, win32, ""]
63-
- [windows-11-arm, win_arm64, ""]
52+
# - [ubuntu-22.04, musllinux_x86_64, ""]
53+
# - [ubuntu-22.04-arm, manylinux_aarch64, ""]
54+
# - [ubuntu-22.04-arm, musllinux_aarch64, ""]
55+
# - [macos-13, macosx_x86_64, openblas]
56+
#
57+
# # targeting macos >= 14. Could probably build on macos-14, but it would be a cross-compile
58+
# - [macos-13, macosx_x86_64, accelerate]
59+
# - [macos-14, macosx_arm64, openblas]
60+
# - [macos-14, macosx_arm64, accelerate]
61+
# - [windows-2022, win_amd64, ""]
62+
# - [windows-2022, win32, ""]
63+
# - [windows-11-arm, win_arm64, ""]
6464
python: ["cp311", "cp312", "cp313", "cp313t", "cp314", "cp314t", "pp311"]
6565
exclude:
6666
# Don't build PyPy 32-bit windows
@@ -79,8 +79,6 @@ jobs:
7979
- buildplat: [ macos13, macosx_x86_64, openblas ]
8080
python: "cp314t"
8181
include:
82-
- buildplat: [ ubuntu-22.04, pyodide_wasm32, "" ]
83-
python: "cp312"
8482
- buildplat: [ ubuntu-22.04, pyodide_wasm32, "" ]
8583
python: "cp313"
8684
env:
@@ -224,7 +222,7 @@ jobs:
224222

225223
testpypi-publish:
226224
name: Publish release to TestPyPI
227-
if: github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'testpypi'
225+
# if: github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'testpypi'
228226
needs: [build_wheels, build_sdist]
229227
runs-on: ubuntu-latest
230228
environment:
@@ -238,13 +236,18 @@ jobs:
238236
with:
239237
path: dist
240238

241-
- name: Publish
242-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
243-
with:
244-
repository-url: https://test.pypi.org/legacy/
245-
skip-existing: true
246-
print-hash: true
247-
attestations: true
239+
- name: Remove wasm wheels
240+
run: |
241+
rm dist/*wasm*.whl
242+
ls -al dist
243+
244+
# - name: Publish
245+
# uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
246+
# with:
247+
# repository-url: https://test.pypi.org/legacy/
248+
# skip-existing: true
249+
# print-hash: true
250+
# attestations: true
248251

249252
check_version:
250253
name: Ensure commit is tag before upload to PyPi
@@ -292,6 +295,11 @@ jobs:
292295
with:
293296
path: dist
294297

298+
- name: Remove wasm wheels
299+
run: |
300+
rm dist/*wasm*.whl
301+
ls -al dist
302+
295303
- name: Publish
296304
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
297305
with:

0 commit comments

Comments
 (0)