Code Monkey home page Code Monkey logo

Comments (11)

travishathaway avatar travishathaway commented on August 25, 2024 1

@baszalmstra,

That sounds like a good idea.

So, going forward this is what we will want:

from pixi.

travishathaway avatar travishathaway commented on August 25, 2024 1

Brief update: there's actually a very easy way to implement this with serde_with using PickFirst:

Pull request coming soon... 😄

from pixi.

mjkanji avatar mjkanji commented on August 25, 2024

This would be a very useful feature to have, especially when working with DL libraries, where installing the Nvidia versions of drivers and CUDA-related packages is preferred over the conda-forge equivalent.

from pixi.

baszalmstra avatar baszalmstra commented on August 25, 2024

@travishathaway is working on this issue.

from pixi.

travishathaway avatar travishathaway commented on August 25, 2024

Just FYI...

I will try to follow how this was done in Cargo to make it work (see here: https://github.com/rust-lang/cargo/blob/b644a40a1f8406a08bc64305a6a8fd6bb5a34071/src/cargo/util/toml/mod.rs#L218-L262)

from pixi.

baszalmstra avatar baszalmstra commented on August 25, 2024

Sounds perfect! Im not sure if this was your intention already but I propose that we split the entire matchspec struct out into this "new" form. That would forgo all complex matchspec parsing. WDYT?

from pixi.

baszalmstra avatar baszalmstra commented on August 25, 2024

I like it! 👍

from pixi.

wolfv avatar wolfv commented on August 25, 2024

yay!

from pixi.

kszlim avatar kszlim commented on August 25, 2024

How do you see this fitting with pypi/pip dependencies?

pip = { version = "*", repository = "YOUR_CUSTOM_REGISTRY" }?

from pixi.

travishathaway avatar travishathaway commented on August 25, 2024

I've opened this pull request in rattler. This should provide everything to get my proposed solution working:

from pixi.

ruben-arts avatar ruben-arts commented on August 25, 2024

Channel specific works since v0.7.0.

package = { version = "1.2.3", channel = "https://repo.prefix.dev/foo-bar-channel" }

Some caveats still, these can be looked at later when the need for those increases:

  • Only uses channels from project.channels list.
  • Doesn't support the label channels yet.

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.