Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 0ad7a05

Browse files
add back 3.9 support to nox temporarily
1 parent 785703e commit 0ad7a05

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

noxfile.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
# https://cloud.google.com/run/docs/runtimes/python
6565
E2E_TEST_PYTHON_VERSION = "3.12"
6666

67-
UNIT_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
67+
UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
6868
UNIT_TEST_STANDARD_DEPENDENCIES = [
6969
"mock",
7070
PYTEST_VERSION,
@@ -85,7 +85,7 @@
8585
# 3.10 is needed for Windows tests as it is the only version installed in the
8686
# bigframes-windows container image. For more information, search
8787
# bigframes/windows-docker, internally.
88-
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
88+
SYSTEM_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
8989
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
9090
"jinja2",
9191
"mock",
@@ -661,9 +661,7 @@ def prerelease(session: nox.sessions.Session, tests_path, extra_pytest_options=(
661661
# version, the first version we test with in the unit tests sessions has a
662662
# constraints file containing all dependencies and extras.
663663
with open(
664-
CURRENT_DIRECTORY
665-
/ "testing"
666-
/ f"constraints-{UNIT_TEST_PYTHON_VERSIONS[0]}.txt",
664+
CURRENT_DIRECTORY / "testing" / f"constraints-{DEFAULT_PYTHON_VERSION}.txt",
667665
encoding="utf-8",
668666
) as constraints_file:
669667
constraints_text = constraints_file.read()

0 commit comments

Comments
 (0)