Comments (7)
A --uv
option would be great! As messense said this should use the uv pip
cli, as uv
doesn't expose a stable rust interface.
from maturin.
I'm in favor of add support for it, but I don't want to bundle/link it into maturin directly given that it's not stable yet (we don't want to release a new version of maturin everytime uv
makes a new release) and will increase compile time and binary size for maturin.
Call uv pip
in subprocess should be fine.
cc @konstin
from maturin.
Nice to have this feature implemented! @nleroy917 Looks like it is released in maturin 1.6.0
Out of curiosity: Is there also a way to configure the usage of uv
via the config, so that it is not necessary to pass --uv
along with each command line invocation?
from maturin.
from the comments it seems clear how it should look like , so I would like to give this one a try if ok with everyone :)
from maturin.
@dmatos2012 Thanks!
from maturin.
Hey guys, I might be missing something, but this is what I see when I run maturin develop --uv
:
error: unexpected argument '--uv' found
tip: to pass '--uv' as a value, use '-- --uv'
Usage: maturin develop [OPTIONS] [ARGS]...
Then trying with maturin develop -- --uv
, yeilds:
error: Unrecognized option: 'uv'
I am using the latest maturin (I believe):
Package Version
---------- -------
maturin 1.5.1
tomli 2.0.1
from maturin.
Just now occurring to me that this might not be released yet.
from maturin.
Related Issues (20)
- 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
- Panic running sdist when `python-source` points outside of Rust source directory HOT 2
- Cross compilation issues with several architectures with Yocto Project
- iOS simulator linking: symbol(s) not found for architecture arm64 HOT 2
- Add -r flag explanation for release builds in Maturin quickstart guide HOT 1
- Copy `.pdb` files to `Editable Installations` and `Wheel`s for easier debugging on windows HOT 4
- msys2: whl is not a supported wheel on this platform. HOT 13
- cannot open shared object file: No such file or directory HOT 2
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.