Were any Django, import pipeline, or table_schema files modified? Y
If YES:
Database used: New import
FLAKE8 run on modified code: Y
All Django tests pass: Y
Code coverage run and still at 100%: Y
Were any JavaScript or CSS files modified? N
If YES:
JSHINT run on all affected files: Y/NA
Tested on Chrome, Firefox, Safari, Edge, and iOS: Y/NA
(Remember to test all browser sizes)
Tested for race conditions (with delayed API calls if applicable): Y/NA
Was the documentation reviewed for necessary changes or additions? NA
About
Getting Started
FAQ
API Guide
Tooltips
Description of changes:
Fixed problem with running code coverage if the user didn't have PYTHONPATH set to include the pds-tools repo (which shouldn't be necessary).
Fixed settings.py to be more intelligent about whether memcached is available and running. Falls back to the Django local cache system if not. 100% code coverage for all cases.
Added scripts for Linux that allow the creation of Python virtual environments for a variety of Python versions and then run a full import and test/code coverage with those virtual environments to make sure OPUS is compatible with all relevant versions of Python. OPUS now works properly with Python 3.8, 3.9, 3.10, and 3.11.
The requirements.txt file has been updated. The only thing that really needs to be code reviewed is to create a new virtual environment and test on Mac and Windows.
Description of changes:
Fixed problem with running code coverage if the user didn't have PYTHONPATH set to include the pds-tools repo (which shouldn't be necessary).
Fixed settings.py to be more intelligent about whether memcached is available and running. Falls back to the Django local cache system if not. 100% code coverage for all cases.
Added scripts for Linux that allow the creation of Python virtual environments for a variety of Python versions and then run a full import and test/code coverage with those virtual environments to make sure OPUS is compatible with all relevant versions of Python. OPUS now works properly with Python 3.8, 3.9, 3.10, and 3.11.
The requirements.txt file has been updated. The only thing that really needs to be code reviewed is to create a new virtual environment and test on Mac and Windows.
Known problems: