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

Add page with instructions for installing old versions of napari #374

Open
jni opened this issue Mar 13, 2024 · 0 comments
Open

Add page with instructions for installing old versions of napari #374

jni opened this issue Mar 13, 2024 · 0 comments
Labels
content Ideas for new or improved content

Comments

@jni
Copy link
Member

jni commented Mar 13, 2024

📚 New content request

Python's dependency management is not ideal for installing old versions of libraries, because metadata in PyPI is static and upper version constraints are generally not a good idea for libraries. This means that installing old versions of napari for whatever reason (reproducing a paper or using a library that is no longer being updated) is very hard.

Since we started using version constraints/pinning for CI, from version 0.4.18 we have a record of all the library dependencies, both direct and indirect, that work for a specific napari release. (See this comment.) This is a great and unexpected* version of the pinning! (*at least by me 😅)

Additionally, I recently came across PyPI time machine, which lets you install packages with pip while pretending to live in the past.

It would be good to have a page, or a section in the installation guide, that points readers to these resources (including direct links to the constraints files).

Potentially, we should also generate equivalent conda environment definitions for each release.

@jni jni added the content Ideas for new or improved content label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Ideas for new or improved content
Projects
Development

No branches or pull requests

1 participant