-
Notifications
You must be signed in to change notification settings - Fork 0
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
PyPI (pip) #1
Comments
The pixi package manager has support for using packages from PyPI in addition to conda channels now. See e.g. here for more info: https://prefix.dev/blog/using_python_projects_with_pixi This makes it possible to have one unified lock file for your dependencies from both PyPI and e.g. conda-forge. So it could support both #1 and #2. |
@matrss thanks for the pointer! Do you know is there is some way to pin to a specific state/date of the entire pypi distribution? (To a degree that's what time machine would achieve) |
Sort of, but not exactly. The workflow with pixi looks like this:
This will produce a pixi.toml file like this:
which list a bit of metadata about the project and the dependencies that were added. At the same time, the Now, as long as pixi.lock is not modified, all future invocations of This isn't exactly what you were asking for, but I'd imagine it solves the same issue for which you would want to pin a state of PyPI. Does it? |
Ah, I just realized that pypi-timemachine behaves as an alternative server to point pip to. I'd imagine you could also just point pixi to that: https://pixi.sh/v0.27.1/reference/project_configuration/#alternative-registries. But again, I suspect that most issues this would solve are already addressed by the existence of the lock file. |
https://pypi.org/project/pypi-timemachine/
The text was updated successfully, but these errors were encountered: