Reputation: 166
I'm using Django 1.8.4 and currently in the process of upgrading it to 1.11.1
I have many packages and dependencies installed inside a virtual environment, and I'm not sure how should I check/update them.
How can I easily check what should be updated?
How can I check which packages are not supported yet with the latest Django?
Should I do it manually or is there a tool that helps handle large number of packages?
Thanks,
Upvotes: 1
Views: 551
Reputation: 53734
There are no hard and fast rules except to create a new virtualenv and try it out. You can install the latest versions of everything in your old virtualenv in the new one as as follows
source old/activate
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 > requirements.txt
deactivate
source new/activate
pip install -r requirements.txt
Upvotes: 2