8000 Add `--compatibility pypi` to avoid building for unsupported architectures by konstin · Pull Request #2650 · PyO3/maturin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add --compatibility pypi to avoid building for unsupported architectures #2650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 16, 2025

Conversation

konstin
Copy link
Member
@konstin konstin commented Jun 13, 2025

This was motivated by astral-sh/uv#14007, where I accidentally assumed PyPI would support all manylinux targets. To prevent such regressions in the future by adding --compatibility pypi. This flag ensures we're only building for architectures compatible with PyPI's legacy.py validation. It falls use the default compatibility internally, i.e. it uses manylinux on linux.

@konstin konstin force-pushed the konsti/compatibility-pypi branch 3 times, most recently from 1afe1d6 to c8b7819 Compare June 15, 2025 15:06
@konstin konstin changed the base branch from main to konsti/platform-tag-no-display June 15, 2025 15:06
@@ -203,6 +159,45 @@ Manifest Options:
Run without accessing the network
```

## Source Distribution
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block only moved

Base automatically changed from konsti/platform-tag-no-display to main June 15, 2025 15:25
@konstin konstin force-pushed the konsti/compatibility-pypi branch from c8b7819 to 5053d43 Compare June 15, 2025 15:32
@messense messense merged commit ea5adfc into main Jun 16, 2025
42 checks passed
@messense messense deleted the konsti/compatibility-pypi branch June 16, 2025 01:20
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jun 24, 2025
https://build.opensuse.org/request/show/1288127
by user mia + anag_factory
- Update to 1.9.0
  * Update pyproject-toml to 0.13.5
    gh#PyO3/maturin#2645
  * Fix clippy lints
    gh#PyO3/maturin#2648
  * ZipWriter requires a compression level of None for the stored
    method
    gh#PyO3/maturin#2644
  * Implement PEP 639 Support
    gh#PyO3/maturin#2647
  * Don't go through Display for platform tag to policy
    gh#PyO3/maturin#2652
  * Add --compatibility pypi to avoid building for unsupported
    architectures
    gh#PyO3/maturin#2650
  * Fix self bootstrap without Rust installed
    gh#PyO3/maturin#2653
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0