diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1f1e61..51156fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,9 +121,31 @@ jobs: - name: Build source and wheel distributions run: | - python -m pip install --upgrade pip build + python -m pip install --upgrade pip build auditwheel python -m build + - name: Repair Linux wheel for PyPI compatibility + if: runner.os == 'Linux' + run: | + python - <<'PY' + import glob + import os + import subprocess + + wheels = sorted(glob.glob('dist/*.whl')) + if not wheels: + raise SystemExit('No wheel files found in dist/') + + original_wheel = wheels[0] + subprocess.check_call([ + 'auditwheel', 'repair', original_wheel, + '--plat', 'manylinux2014_x86_64', + '-w', 'dist' + ]) + os.remove(original_wheel) + print('Repaired wheel output is ready in dist/') + PY + - name: Smoke test built artifacts run: | python -m venv .venv-smoke diff --git a/CHANGELOG.md b/CHANGELOG.md index 05014ee..6d5d813 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. +## [1.1.1] - 2026-06-28 + +### Fixed + +- Fixed Linux wheel packaging for PyPI uploads by repairing binary + wheels to a manylinux-compatible tag. + ## [1.1.0] - 2026-06-28 ### Added @@ -70,6 +77,7 @@ project adheres to [Semantic Versioning][semver]. - Initial commit by James Cleveland. +[1.1.1]: https://github.com/oohlaf/python-whirlpool/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/oohlaf/python-whirlpool/compare/v1.0.0...v1.1.0 [1.0.0]: https://github.com/oohlaf/python-whirlpool/compare/v0.3...v1.0.0 [0.3]: https://github.com/oohlaf/python-whirlpool/compare/v0.1...v0.3