Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af8be30

Browse filesBrowse files
authored
feat: add support for Python 3.10 (#121)
1 parent a343587 commit af8be30
Copy full SHA for af8be30

File tree

Expand file treeCollapse file tree

4 files changed

+10
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-4
lines changed
Open diff view settings
Collapse file

‎CONTRIBUTING.rst‎

Copy file name to clipboardExpand all lines: CONTRIBUTING.rst
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 and 3.9 on both UNIX and Windows.
25+
3.6, 3.7, 3.8, 3.9 and 3.10 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.9 -- -k <name of test>
75+
$ nox -s unit-3.10 -- -k <name of test>
7676

7777

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

229230
.. _Python 3.6: https://docs.python.org/3.6/
230231
.. _Python 3.7: https://docs.python.org/3.7/
231232
.. _Python 3.8: https://docs.python.org/3.8/
232233
.. _Python 3.9: https://docs.python.org/3.9/
234+
.. _Python 3.10: https://docs.python.org/3.10/
233235

234236

235237
Supported versions can be found in our ``noxfile.py`` `config`_.
Collapse file

‎noxfile.py‎

Copy file name to clipboardExpand all lines: noxfile.py
+1-1Lines 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"]
32+
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]
3333

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

Collapse file

‎owlbot.py‎

Copy file name to clipboardExpand all lines: owlbot.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
# ----------------------------------------------------------------------------
2626
# Add templated files
2727
# ----------------------------------------------------------------------------
28-
templated_files = common.py_library(microgenerator=True)
28+
templated_files = common.py_library(
29+
microgenerator=True,
30+
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9", "3.10"],
31+
)
2932
s.move(templated_files, excludes=["docs/multiprocessing.rst"])
3033

3134
python.py_samples(skip_readmes=True)
Collapse file

‎setup.py‎

Copy file name to clipboardExpand all lines: setup.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"Programming Language :: Python :: 3.7",
7777
"Programming Language :: Python :: 3.8",
7878
"Programming Language :: Python :: 3.9",
79+
"Programming Language :: Python :: 3.10",
7980
"Operating System :: OS Independent",
8081
"Topic :: Internet",
8182
],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.