commit d5ce3722e6a058f8b74ff501097eb8a194aa6cfb
parent 2002947047756f9326c0d39df377e653834f5226
Author: Alex Hochheiden <ahochheiden@mozilla.com>
Date: Thu, 8 Jan 2026 21:13:30 +0000
Bug 2006716 - Set `target-version = "py38"` in `pyproject.toml` r=ahal
CI workers on `ubuntu1804` still use `Python 3.8`. When we did the minimum
Python version bump to `3.9` for `mach`, changing this was a mistake, because
these jobs use files from in the tree, but don't go through `mach`.
With this set a `py39`, formatters can make changes that are incompatible with
`Python 3.8`, which causes jobs on these workers to fail. We don't want that, so
we're switching back to `py38` until the tasks these workers run are moved to
`ubuntu2404` which is not on `Python 3.8`.
Differential Revision: https://phabricator.services.mozilla.com/D278340
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.ruff]
line-length = 99
-target-version = "py39"
+target-version = "py38"
# See https://beta.ruff.rs/docs/rules/ for a full list of rules.
lint.select = [
"E", "W", # pycodestyle