Skip to content

Commit 313192d

Browse files
authored
build: Add back universal (none-any) wheel (#358)
* add univ wheel * ignore w004 * comment out pull request
1 parent 9dcbd8f commit 313192d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/pypi.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches: [main]
66
tags: [v*]
7+
# pull_request:
78

89
jobs:
910
test:
@@ -13,15 +14,13 @@ jobs:
1314
coverage-upload: none
1415

1516
build-sdist:
16-
name: 🐍 sdist
17+
name: 🐍 sdist and universal wheel
1718
runs-on: ubuntu-latest
1819
steps:
1920
- uses: actions/checkout@v4
2021
with:
2122
fetch-depth: 0
2223
- uses: hynek/build-and-inspect-python-package@v2
23-
with:
24-
skip-wheel: true
2524

2625
build-wheels:
2726
name: mypyc wheels (${{ matrix.os }})

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ before-all = "yum install -y python3-devel"
127127
[tool.cibuildwheel.environment]
128128
HATCH_BUILD_HOOKS_ENABLE = "1"
129129

130+
[tool.check-wheel-contents]
131+
# W004: Module is not located at importable path (hook-psygnal.py)
132+
ignore = ["W004"]
133+
130134
# https://docs.astral.sh/ruff/
131135
[tool.ruff]
132136
line-length = 88

0 commit comments

Comments
 (0)