Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add custom pypi indexes #4

Closed

Conversation

nichmor
Copy link

@nichmor nichmor commented Nov 5, 2024

Add custom indexes for pixi like here: https://docs.astral.sh/uv/configuration/indexes/

A small example will be :

[project]
authors = ["nichmor <nmorkotilo@gmail.com>"]
channels = ["conda-forge"]
description = "Add a short description here"
name = "custom_pypi"
platforms = ["osx-arm64"]
version = "0.1.0"

[tasks]

[dependencies]
python = "*"


[pypi-dependencies]
tqdm ={ version = "*", index = "https://download.pytorch.org/whl/cu118" }

nichmor and others added 4 commits November 5, 2024 12:44
Upgrade to uv `0.4.28` fixes:
prefix-dev#2181

Enables the use of more interesting uv features like the pinning of indexes, as well as the use of custom middleware.

---------

Co-authored-by: nichmor <nmorkotilo@gmail.com>
- move to a single integration test binary as described in
https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
- organize test folder
@nichmor nichmor closed this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants