HomePhabricator

Switch to Python3.9 as default interpreter

Tags
None
Referenced Files
None
Subscribers
None

Description

Switch to Python3.9 as default interpreter

Python3.9 has been available for a while on Toolforge,
and 3.7 (pinned in 9d5e608e) is not supported there anymore.

  • Update base image in Dockerfile
  • Update python_version in Pipfile
  • Update tox target
  • Add .python-version for pyenv usage

We confirmed the application works with the new version
in unit tests and docker-compose setup.

Pre-requisite for T319813.

Bug: T319813

Details

Provenance
JeanFredAuthored on Mar 17 2024, 1:07 PM
Parents
R2566:bde571587721: Add pyproject.toml with pytest configuration to run tests outside of tox
Branches
Unknown
Tags
Unknown
ChangeId
None