You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution for #482 was to allow (--) args to be passed to pip (the installer). Currently if a package index url is passed to pip it isn't persisted anywhere. So the user will have to know to use that package index url to reproduce the environment.
Motivation
Until better environment reproducibility can be implemented, there needs to be a way to reproduce installs that pass --index-url to pip. --index-url will always be configuration a future Huak will support, so a form of this can be added sooner rather than later.
Requirements
Support --index-url in CLI
If --index-url is used then packages added from that repository should be persisted with that information
Allow for future package installer implementations (pip-agnostic)
Securely use credentials for a package index
Questions
If more than one package index is used per-project how are dependencies managed between them?
Should --no-dependencies be implemented prior to this?
Should this be persisted to pyproject.toml or entered to Huak's home directory?
Summary
The solution for #482 was to allow (--) args to be passed to
pip
(the installer). Currently if a package index url is passed topip
it isn't persisted anywhere. So the user will have to know to use that package index url to reproduce the environment.Motivation
Until better environment reproducibility can be implemented, there needs to be a way to reproduce installs that pass
--index-url
topip
.--index-url
will always be configuration a future Huak will support, so a form of this can be added sooner rather than later.Requirements
--index-url
in CLI--index-url
is used then packages added from that repository should be persisted with that informationpip
-agnostic)Questions
--no-dependencies
be implemented prior to this?Details
Per-project package index configuration
In the project's pyproject.toml file:
Package index credentials management
In Huak's credentials.toml located in Huak's home directory:
The text was updated successfully, but these errors were encountered: