osf.io
osf.io copied to clipboard
[CR][ENG-5681] Great Big Python Upgrade
Purpose
Double our pythons, Lacoön-style, by bumping from py3.6 to py3.12. Much dependency upgrades included!
Changes
- Bump base python version from py3.6 to py3.12.
- Switch to using
poetryfor dependency management - Bump most (not all) dependencies to their maximum version as of mid-March.
- Significantly update Dockerfile
- Upgrade Django to v4.2
- Generate test summary reports in CI
-
1240 files changed, 23012 insertions(+), 22362 deletions(-)- bulk of changes include: updates to f-strings, switching to basic asserts, tidying constructors, removing
future
- bulk of changes include: updates to f-strings, switching to basic asserts, tidying constructors, removing
QA Notes
Full QA regression required, alongside selenium runs
Documentation
- Invoke v0.20.0 started converting underscores in task names to hyphens.
invoke test_addons_apiis nowinvoke test-addons-apiwhen called on the command line.
Side Effects
None whatsoever.
Ticket
This ticket: https://openscience.atlassian.net/browse/ENG-5681 Epic link: https://openscience.atlassian.net/browse/ENG-4145