Comments (9)
To be able to take advantage of improvements (e.g. performance) on newer versions, while maintaining compatibility.
The specific improvement that motivated us to do this was https://github.com/PyO3/pyo3/blob/main/src/impl_/pymodule.rs#L83-L119
from maturin.
Do you think support for something like "auto" abi3, where it used the current Python's version is possible?
I think we can support this, we can change maturin to use the current Python's version when abi3
feature is enabled without an explicit abi3-pyXY
feature, and print a message about this behavior of course.
from maturin.
What's the motivation for targeting multiple abi3 versions instead of the lowest supported?
from maturin.
I think it's already possible by using MATURIN_PEP517_ARGS
env var or --config-settings
, for example
pip wheel --config-settings=build-args='--features abi3-py312'
from maturin.
Ah, that will be respected? Let me test it. Thanks!
from maturin.
Hmm, it fails when building an sdist with:
Caused by: You have selected the
abi3
feature but not a minimum version (e.g. theabi3-py36
feature). maturin needs a minimum version feature to build abi3 wheels.
from maturin.
I guess it fails everywhere except the places I passed that argument.
from maturin.
To follow up on this, it's missing a key element that setuptools-rust "auto" provides: using abi3 with the current python if nothing is explicitly provided.
from maturin.
Do you think support for something like "auto" abi3, where it used the current Python's version is possible?
from maturin.
Related Issues (20)
- Regression in cffi binding in 1.6 HOT 2
- Mixted rust/python project fails to install on windows with maturin 1.7 HOT 3
- v1.7.0 from v1.6.0 introduces a rustls version conflict preventing v.1.7.0 from compiling HOT 1
- Support for different package managers like poetry, uv, rye HOT 1
- CentOS 7 Deprecation & Possibility to upgrade base image HOT 1
- Issue with README building sdist HOT 7
- Build succeeds but wheel is broken on cross compile. HOT 1
- Incompatible with conda or venv, with error "markers XXX don't match your environment" HOT 5
- Add a way to override the resultant Python package version HOT 1
- `cargo metadata --manifest-path Cargo.toml --format-version 1 --locked` errors on macos-12 builds HOT 7
- can't find crate `num_enum_derive` HOT 11
- Gentoo Linux: dev-util/maturin-1.7.0 QA Notice: setuptools warnings detected: `install_requires` overwritten in `pyproject.toml` (dependencies)
- Cannot publish projects to PyPi HOT 1
- Move maturin project metadata from `setup.py` to `pyproject.toml`
- wheel `License-File` metadata is missing the relative path `license_files/`
- Make CI faster and more reliable
- Update to latest cargo deny release
- `--uv` does not allow passing in `--break-system-packages` on system Python HOT 3
- How can I specify a crate version for maturin to compile? HOT 1
- maturin develop builds for mixed python versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maturin.