GithubHelp home page GithubHelp logo

Supporting `uv` configuration about pixi HOT 4 OPEN

zen-xu avatar zen-xu commented on September 6, 2024 1
Supporting `uv` configuration

from pixi.

Comments (4)

tdejager avatar tdejager commented on September 6, 2024 2

Thanks @zen-xu this is the PR I mentioned: #1986

from pixi.

baszalmstra avatar baszalmstra commented on September 6, 2024 1

I think it would be possible for us to port most of these over. But Ill let @tdejager chime in here. :)

from pixi.

tdejager avatar tdejager commented on September 6, 2024 1

Yes we can port most of these over, I've already started on index-strategy actually.

To explain a bit better why this is taking some time:
Ideally you would just rust import the uv options and use these directly, without requiring a translation on our side. However, as I see it, and feel free to convince me otherwise, we currently cannot. Because of the following reasons:

  1. We sometimes do not want to expose the option (pretty rare), but we opted to only do build isolation per package for example.
  2. We need to make decisions to make them work nicely with environments.
  3. We might have different reasons for breaking compatibility, by relying on these options directly we are essentialy tied in that respect to uv's release cycle. We might want to deprecate an option more slowely for example.
  4. Finally and most important a lot of these options are part of the pixi_manifest crate, as uv does not publish on crates.io I do not want a git dependency in there, as there is a big chance we want to publish this crate in the future.

This makes it so it takes a little more time to add these options, sorry about that, but anyone reading it feel free to request any that you are missing.

Hope this gives a bit of insight. Thanks for the issue!

from pixi.

zen-xu avatar zen-xu commented on September 6, 2024

Thank @tdejager for your reply, I agree with your points, but I believe that any incompatibility resulting from users configuring uv options is the user's own responsibility (give a warning?), and the Pixi team does not need to handle these compatibility issues

from pixi.

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.