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

Upgrading guide should document use of a constraints file to avoid inadvertent Nautobot upgrade #42

Open
glennmatthews opened this issue Oct 25, 2023 · 0 comments

Comments

@glennmatthews
Copy link
Contributor

https://github.com/nautobot/cookiecutter-nautobot-app/blob/develop/nautobot-app/%7B%7B%20cookiecutter.project_slug%20%7D%7D/docs/admin/upgrade.md should probably have some boilerplate about using a constraints file with pip to avoid inadvertently updating to a new Nautobot version just because the latest release of the App requires a newer version. Probably something similar to how it's done in the Dockerfile, i.e.:

pip show nautobot | grep "^Version: " | sed -e 's/Version: /nautobot==/' > constraints.txt
pip install --constraint constraints.txt --upgrade {{ cookiecutter.plugin_name }}
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

No branches or pull requests

1 participant