GeezerVison is showing github.com — feat: Add support for Python 3.13 and 3.14 (#485) · googleapis/google-resumable-media-python@9937233
This repository was archived by the owner on May 6, 2026. It is now read-only.
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/lint.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 12 | 12 | - name: Setup Python | 13 | 13 | uses: actions/setup-python@v5 | 14 | 14 | with: | 15 | | - python-version: "3.8" | | 15 | + python-version: "3.10" | 16 | 16 | - name: Install nox | 17 | 17 | run: | | 18 | 18 | python -m pip install --upgrade setuptools pip wheel | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/unittest.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 45 | 45 | - name: Setup Python | 46 | 46 | uses: actions/setup-python@v5 | 47 | 47 | with: | 48 | | - python-version: "3.8" | | 48 | + python-version: "3.10" | 49 | 49 | - name: Install coverage | 50 | 50 | run: | | 51 | 51 | python -m pip install --upgrade setuptools pip wheel | |
Collapse file Copy file name to clipboardExpand all lines: noxfile.py +16-4Lines changed: 16 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 24 | 24 | SYSTEM_TEST_ENV_VARS = ("GOOGLE_APPLICATION_CREDENTIALS",) | 25 | 25 | BLACK_VERSION = "black==22.3.0" | 26 | 26 |
| 27 | | -DEFAULT_PYTHON_VERSION = "3.8" | 28 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] | 29 | | -UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | | 27 | +DEFAULT_PYTHON_VERSION = "3.10" | | 28 | +SYSTEM_TEST_PYTHON_VERSIONS = ["3.10"] | | 29 | +UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | 30 | 30 |
| 31 | 31 | # Error if a python version is missing | 32 | 32 | nox.options.error_on_missing_interpreters = True | 33 | 33 |
| | 34 | +nox.options.sessions = [ | | 35 | + "system", | | 36 | + "blacken", | | 37 | + "mypy", | | 38 | + "doctest", | | 39 | +] | | 40 | + | 34 | 41 |
| 35 | 42 | @nox.session(python=UNIT_TEST_PYTHON_VERSIONS) | 36 | 43 | def unit(session): | @@ -150,7 +157,12 @@ def doctest(session): | 150 | 157 | session.install("-e", ".[requests,aiohttp]") | 151 | 158 | session.install("sphinx==4.0.1", "alabaster", "recommonmark") | 152 | 159 | session.install( | 153 | | - "sphinx==4.0.1", | | 160 | + "sphinxcontrib-applehelp==1.0.4", | | 161 | + "sphinxcontrib-devhelp==1.0.2", | | 162 | + "sphinxcontrib-htmlhelp==2.0.1", | | 163 | + "sphinxcontrib-qthelp==1.0.3", | | 164 | + "sphinxcontrib-serializinghtml==1.1.5", | | 165 | + "sphinx==4.5.0", | 154 | 166 | "sphinx_rtd_theme", | 155 | 167 | "sphinx-docstring-typing >= 0.0.3", | 156 | 168 | "mock", | |
Collapse file Copy file name to clipboardExpand all lines: owlbot.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | # ---------------------------------------------------------------------------- | 7 | 7 | # Add templated .kokoro files | 8 | 8 | # ---------------------------------------------------------------------------- | 9 | | -templated_files = common.py_library() | | 9 | +templated_files = common.py_library(default_python_version="3.10") | 10 | 10 | s.move(templated_files / ".kokoro") | 11 | 11 | s.move(templated_files / ".trampolinerc") | 12 | 12 | s.move(templated_files / ".github") | |
Collapse file Copy file name to clipboardExpand all lines: setup.py +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 64 | 64 | 'Programming Language :: Python :: 3.10', | 65 | 65 | 'Programming Language :: Python :: 3.11', | 66 | 66 | 'Programming Language :: Python :: 3.12', | | 67 | + 'Programming Language :: Python :: 3.13', | | 68 | + 'Programming Language :: Python :: 3.14', | 67 | 69 | 'Topic :: Internet', | 68 | 70 | ], | 69 | 71 | ) |
Collapse file Copy file name to clipboardExpand all lines: testing/constraints-3.14.txt
|