Closed Bug 1920609 Opened 2 years ago Closed 2 years ago

add Python 3.11 and 3.12 to moz-phab CI coverage

Categories

(Conduit :: moz-phab, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

Details

Attachments

(5 external files)

This was previously blocked by failures in CI, which I have narrowed down to CI not using a virtualenv to run tests.

Pass --upgrade to pip-compile so packages are moved to the
latest version where possible.

Update packages to the latest version for compatibility with
Python 3.12.

Failure to use a virtualenv causes test_style.py::test_black to fail
as packages cannot be found when running black outside the venv.
Run some commands (pip, pytest) as Python modules to be more precise
about which environment the command could be running from.

Add Python 3.11 and 3.12 jobs to moz-phab CI runs. Add new
docker-compose recipes to build requirements files for these
new Python versions, and build a set of requirements files
with them.

Newer versions of ruff issue a warning that the isort
section should be moved to lint.isort.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: