osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[CR][ENG-5681] Great Big Python Upgrade

Open felliott opened this issue 1 year ago • 0 comments

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 poetry for 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

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_api is now invoke test-addons-api when 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

felliott avatar Jun 25 '24 12:06 felliott