Skip to content

Commit

Permalink
build: Add back universal (none-any) wheel (#358)
Browse files Browse the repository at this point in the history
* add univ wheel

* ignore w004

* comment out pull request
  • Loading branch information
tlambert03 authored Feb 11, 2025
1 parent 9dcbd8f commit 313192d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main]
tags: [v*]
# pull_request:

jobs:
test:
Expand All @@ -13,15 +14,13 @@ jobs:
coverage-upload: none

build-sdist:
name: 🐍 sdist
name: 🐍 sdist and universal wheel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
with:
skip-wheel: true

build-wheels:
name: mypyc wheels (${{ matrix.os }})
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ before-all = "yum install -y python3-devel"
[tool.cibuildwheel.environment]
HATCH_BUILD_HOOKS_ENABLE = "1"

[tool.check-wheel-contents]
# W004: Module is not located at importable path (hook-psygnal.py)
ignore = ["W004"]

# https://docs.astral.sh/ruff/
[tool.ruff]
line-length = 88
Expand Down

0 comments on commit 313192d

Please sign in to comment.