Giter Site home page Giter Site logo

option to use uv about maturin HOT 7 CLOSED

mbway avatar mbway commented on June 26, 2024
option to use uv

from maturin.

Comments (7)

konstin avatar konstin commented on June 26, 2024 3

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.

messense avatar messense commented on June 26, 2024 2

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.

bluenote10 avatar bluenote10 commented on June 26, 2024 1

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.

dmatos2012 avatar dmatos2012 commented on June 26, 2024

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.

messense avatar messense commented on June 26, 2024

@dmatos2012 Thanks!

from maturin.

nleroy917 avatar nleroy917 commented on June 26, 2024

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.

nleroy917 avatar nleroy917 commented on June 26, 2024

Just now occurring to me that this might not be released yet.

from maturin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.