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

Commit cb74baf

Browse files
tests: update default runtime used for tests (#411)
* tests: update default runtime used for tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * set default_python_version in owlbot.py * restore changes to noxfile.py * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4b1a5f3 commit cb74baf

6 files changed

Lines changed: 18 additions & 14 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.8"
15+
python-version: "3.10"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: "3.8"
48+
python-version: "3.10"
4949
- name: Install coverage
5050
run: |
5151
python -m pip install --upgrade setuptools pip wheel

noxfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@
3232
ISORT_VERSION = "isort==5.11.0"
3333
LINT_PATHS = ["docs", "google_auth_oauthlib", "tests", "noxfile.py", "setup.py"]
3434

35-
DEFAULT_PYTHON_VERSION = "3.8"
35+
DEFAULT_PYTHON_VERSION = "3.10"
36+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.10"]
3637

38+
# TODO(https://github.com/googleapis/google-auth-library-python-oauthlib/issues/410):
39+
# Remove or restore testing for Python 3.7/3.8
3740
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3841
"3.7",
3942
"3.8",
@@ -58,7 +61,6 @@
5861
UNIT_TEST_EXTRAS: List[str] = []
5962
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6063

61-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"]
6264
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
6365
"mock",
6466
"pytest",

owlbot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
cov_level=99,
1212
unit_test_external_dependencies=["click"],
1313
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
14+
default_python_version="3.10",
1415
)
1516
s.move(templated_files, excludes=[
1617
"docs/multiprocessing.rst",
1718
"README.rst",
19+
"noxfile.py",
1820
".kokoro/samples/**", # this repository has no samples
1921
])
2022

testing/constraints-3.6.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

testing/constraints-3.9.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py
3+
# List *all* library dependencies and extras in this file.
4+
# Pin the version to the lower bound.
5+
#
6+
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7+
# Then this file should have foo==1.14.0
8+
google-auth==2.15.0
9+
requests-oauthlib==0.7.0
10+
click==6.0.0

0 commit comments

Comments
 (0)