-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
enhancementNew featuresNew featurespypiIssue related to PyPI dependenciesIssue related to PyPI dependencies
Description
Problem description
This feature aim to allow to specify source dependencies ( direct reference of a dependency) in pixi.toml
this is how pixi.toml will look like
[pypi-dependencies]
# relative path
numpy = {path = "../numpy_repo"}
# editable install of relative path
numpy = {path = "../numpy_repo", editable = true}
# URLs
tensorflow = {url = "https://mytensorflow.com/tf.tar.gz" }
# reference by branch
boltons = {git = "https://github.com/mahmoud/boltons" , branch = "next"}
# reference by rev
boltons = {git = "https://github.com/mahmoud/boltons" , rev = "38eb5d3b"}
# reference by tag
boltons = {git = "https://github.com/mahmoud/boltons" , tag = "v0.13.2"}
# using subdirectory
boltons = {git = "https://github.com/mahmoud/boltons" , subdirectory = "subdir"}
# by ssh
requests = { git = "git@github.com:requests/requests.git" }CLI commands
also we will extend pixi add command:
pixi add https://github.com/mahmoud/boltons/archive/refs/tags/23.0.0.tar.gz
which should produce this in pixi.toml
[pypi-dependencies]
boltons = {url = "https://github.com/mahmoud/boltons/archive/refs/tags/23.0.0.tar.gz" }pavelzw, moritzwilksch, abkfenris and tadejsvmoritzwilksch
Metadata
Metadata
Assignees
Labels
enhancementNew featuresNew featurespypiIssue related to PyPI dependenciesIssue related to PyPI dependencies