GeezerVison is showing github.com — feat: add support for Python 3.10 (#284) · software-dov/python-api-core@a422a5d
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: CONTRIBUTING.rst +4-2Lines changed: 4 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -21,7 +21,7 @@ In order to add a feature: | 21 | 21 | documentation. | 22 | 22 |
| 23 | 23 | - The feature must work fully on the following CPython versions: | 24 | | - 3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows. | | 24 | + 3.6, 3.7, 3.8, 3.9, and 3.10 on both UNIX and Windows. | 25 | 25 |
| 26 | 26 | - The feature must not add unnecessary dependencies (where | 27 | 27 | "unnecessary" is of course subjective, but new dependencies should | @@ -71,7 +71,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests. | 71 | 71 |
| 72 | 72 | - To run a single unit test:: | 73 | 73 |
| 74 | | - $ nox -s unit-3.9 -- -k <name of test> | | 74 | + $ nox -s unit-3.10 -- -k <name of test> | 75 | 75 |
| 76 | 76 |
| 77 | 77 | .. note:: | @@ -201,11 +201,13 @@ We support: | 201 | 201 | - `Python 3.7`_ | 202 | 202 | - `Python 3.8`_ | 203 | 203 | - `Python 3.9`_ | | 204 | +- `Python 3.10`_ | 204 | 205 |
| 205 | 206 | .. _Python 3.6: https://docs.python.org/3.6/ | 206 | 207 | .. _Python 3.7: https://docs.python.org/3.7/ | 207 | 208 | .. _Python 3.8: https://docs.python.org/3.8/ | 208 | 209 | .. _Python 3.9: https://docs.python.org/3.9/ | | 210 | +.. _Python 3.10: https://docs.python.org/3.10/ | 209 | 211 |
| 210 | 212 |
| 211 | 213 | Supported versions can be found in our ``noxfile.py`` `config`_. | |
Collapse file Copy file name to clipboardExpand all lines: google/api_core/bidi.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -727,7 +727,7 @@ def resume(self): | 727 | 727 | """Resumes the response stream.""" | 728 | 728 | with self._wake: | 729 | 729 | self._paused = False | 730 | | - self._wake.notifyAll() | | 730 | + self._wake.notify_all() | 731 | 731 |
| 732 | 732 | @property | 733 | 733 | def is_paused(self): | |
Collapse file Copy file name to clipboardExpand all lines: noxfile.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -121,7 +121,7 @@ def default(session): | 121 | 121 | session.run(*pytest_args) | 122 | 122 |
| 123 | 123 |
| 124 | | -@nox.session(python=["3.6", "3.7", "3.8", "3.9"]) | | 124 | +@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"]) | 125 | 125 | def unit(session): | 126 | 126 | """Run the unit test suite.""" | 127 | 127 | default(session) | |
Collapse file Copy file name to clipboardExpand all lines: setup.py +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 87 | 87 | "Programming Language :: Python :: 3.7", | 88 | 88 | "Programming Language :: Python :: 3.8", | 89 | 89 | "Programming Language :: Python :: 3.9", | | 90 | + "Programming Language :: Python :: 3.10", | 90 | 91 | "Operating System :: OS Independent", | 91 | 92 | "Topic :: Internet", | 92 | 93 | ], | |
|