diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 50c1bf67..52021ce5 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -4,6 +4,7 @@ on: push: branches: [main] tags: [v*] + # pull_request: jobs: test: @@ -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 }}) diff --git a/pyproject.toml b/pyproject.toml index af1e28e4..4111073e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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