This branch is the core portion of https://jira.nypl.org/browse/SIMPLY-3100. All Python dependencies are set to the current latest releases that support Python 2. This will eliminate random breakage in the future caused by dependency releases, especially releases that drop Python 2 support.
I came up with this list by creating a fresh virtual environment and using pip freeze.
virtualenv env
source env/bin/activate
pip install --use-feature=2020-resolver -r requirements.txt # This is he old requirements.txt
pip freeze > requirements.txt # This is the new one
Then I edited the new requirements.txt to preserve comments found in the old one.
In both this branch and the circulation branch I also had to remove this line inserted by pip freeze:
This branch is the core portion of https://jira.nypl.org/browse/SIMPLY-3100. All Python dependencies are set to the current latest releases that support Python 2. This will eliminate random breakage in the future caused by dependency releases, especially releases that drop Python 2 support.
I came up with this list by creating a fresh virtual environment and using
pip freeze
.Then I edited the new requirements.txt to preserve comments found in the old one.
In both this branch and the circulation branch I also had to remove this line inserted by
pip freeze
:This looks like a bug in Ubuntu.