Skip to content

Commit 0301a1d

Browse files
fix: exclude support for python 3.10 (#831)
* fix: exclude support for python 3.10 * fix: exclude support for python 3.10 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot 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 8d04138 commit 0301a1d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

CONTRIBUTING.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.6, 3.7, 3.8, 3.9 and 3.10 on both UNIX and Windows.
25+
3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -72,7 +72,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7272

7373
- To run a single unit test::
7474

75-
$ nox -s unit-3.10 -- -k <name of test>
75+
$ nox -s unit-3.9 -- -k <name of test>
7676

7777

7878
.. note::
@@ -225,13 +225,11 @@ We support:
225225
- `Python 3.7`_
226226
- `Python 3.8`_
227227
- `Python 3.9`_
228-
- `Python 3.10`_
229228

230229
.. _Python 3.6: https://docs.python.org/3.6/
231230
.. _Python 3.7: https://docs.python.org/3.7/
232231
.. _Python 3.8: https://docs.python.org/3.8/
233232
.. _Python 3.9: https://docs.python.org/3.9/
234-
.. _Python 3.10: https://docs.python.org/3.10/
235233

236234

237235
Supported versions can be found in our ``noxfile.py`` `config`_.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
DEFAULT_PYTHON_VERSION = "3.8"
3131
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
32-
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
32+
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
3333

3434
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
3535

owlbot.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@
8181
# Add templated files
8282
# ----------------------------------------------------------------------------
8383

84-
templated_files = common.py_library(cov_level=99, microgenerator=True)
84+
templated_files = common.py_library(
85+
cov_level=99,
86+
system_test_python_versions=["3.8"],
87+
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9"],
88+
microgenerator=True)
8589
python.py_samples(skip_readmes=True)
8690
s.move(
8791
templated_files,

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
"Programming Language :: Python :: 3.7",
9494
"Programming Language :: Python :: 3.8",
9595
"Programming Language :: Python :: 3.9",
96-
"Programming Language :: Python :: 3.10",
9796
"Topic :: Internet",
9897
"Topic :: Software Development :: Libraries :: Python Modules",
9998
],

0 commit comments

Comments
 (0)