| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 83ce2d7 commit ff379e3
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,11 +15,14 @@ branchProtectionRules: | |||
| 15 | 15 | - 'unit_grpc_gcp-3.8' | |
| 16 | 16 | - 'unit_grpc_gcp-3.9' | |
| 17 | 17 | - 'unit_grpc_gcp-3.10' | |
| 18 | + - 'unit_grpc_gcp-3.11' | ||
| 18 | 19 | - 'unit-3.7' | |
| 19 | 20 | - 'unit-3.8' | |
| 20 | 21 | - 'unit-3.9' | |
| 21 | 22 | - 'unit-3.10' | |
| 23 | + - 'unit-3.11' | ||
| 22 | 24 | - 'unit_wo_grpc-3.10' | |
| 25 | + - 'unit_wo_grpc-3.11' | ||
| 23 | 26 | - 'cover' | |
| 24 | 27 | - 'docs' | |
| 25 | 28 | - 'docfx' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,6 +17,7 @@ jobs: | |||
| 17 | 17 | - "3.8" | |
| 18 | 18 | - "3.9" | |
| 19 | 19 | - "3.10" | |
| 20 | + - "3.11" | ||
| 20 | 21 | exclude: | |
| 21 | 22 | - option: "_wo_grpc" | |
| 22 | 23 | python: 3.7 | |
| 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.7, 3.8, 3.9, and 3.10 on both UNIX and Windows. | ||
| 24 | + 3.7, 3.8, 3.9, 3.10, and 3.11 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.10 -- -k <name of test> | ||
| 74 | + $ nox -s unit-3.11 -- -k <name of test> | ||
| 75 | 75 | ||
| 76 | 76 | ||
| 77 | 77 | .. note:: | |
@@ -201,11 +201,13 @@ We support: | |||
| 201 | 201 | - `Python 3.8`_ | |
| 202 | 202 | - `Python 3.9`_ | |
| 203 | 203 | - `Python 3.10`_ | |
| 204 | + - `Python 3.11`_ | ||
| 204 | 205 | ||
| 205 | 206 | .. _Python 3.7: https://docs.python.org/3.7/ | |
| 206 | 207 | .. _Python 3.8: https://docs.python.org/3.8/ | |
| 207 | 208 | .. _Python 3.9: https://docs.python.org/3.9/ | |
| 208 | 209 | .. _Python 3.10: https://docs.python.org/3.10/ | |
| 210 | + .. _Python 3.11: https://docs.python.org/3.11/ | ||
| 209 | 211 | ||
| 210 | 212 | ||
| 211 | 213 | Supported versions can be found in our ``noxfile.py`` `config`_. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,7 +113,7 @@ def default(session, install_grpc=True): | |||
| 113 | 113 | pytest_args = [ | |
| 114 | 114 | "python", | |
| 115 | 115 | "-m", | |
| 116 | - "py.test", | ||
| 116 | + "pytest", | ||
| 117 | 117 | *( | |
| 118 | 118 | # Helpful for running a single test or testfile. | |
| 119 | 119 | session.posargs | |
@@ -146,13 +146,13 @@ def default(session, install_grpc=True): | |||
| 146 | 146 | session.run(*pytest_args) | |
| 147 | 147 | ||
| 148 | 148 | ||
| 149 | - @nox.session(python=["3.7", "3.8", "3.9", "3.10"]) | ||
| 149 | + @nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"]) | ||
| 150 | 150 | def unit(session): | |
| 151 | 151 | """Run the unit test suite.""" | |
| 152 | 152 | default(session) | |
| 153 | 153 | ||
| 154 | 154 | ||
| 155 | - @nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10"]) | ||
| 155 | + @nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"]) | ||
| 156 | 156 | def unit_grpc_gcp(session): | |
| 157 | 157 | """Run the unit test suite with grpcio-gcp installed.""" | |
| 158 | 158 | constraints_path = str( | |
@@ -166,7 +166,7 @@ def unit_grpc_gcp(session): | |||
| 166 | 166 | default(session) | |
| 167 | 167 | ||
| 168 | 168 | ||
| 169 | - @nox.session(python=["3.8", "3.10"]) | ||
| 169 | + @nox.session(python=["3.8", "3.10", "3.11"]) | ||
| 170 | 170 | def unit_wo_grpc(session): | |
| 171 | 171 | """Run the unit test suite w/o grpcio installed""" | |
| 172 | 172 | default(session, install_grpc=False) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,7 +35,12 @@ | |||
| 35 | 35 | "requests >= 2.18.0, < 3.0.0dev", | |
| 36 | 36 | ] | |
| 37 | 37 | extras = { | |
| 38 | - "grpc": ["grpcio >= 1.33.2, < 2.0dev", "grpcio-status >= 1.33.2, < 2.0dev"], | ||
| 38 | + "grpc": [ | ||
| 39 | + "grpcio >= 1.33.2, < 2.0dev", | ||
| 40 | + "grpcio >= 1.49.1, < 2.0dev; python_version>='3.11'", | ||
| 41 | + "grpcio-status >= 1.33.2, < 2.0dev", | ||
| 42 | + "grpcio-status >= 1.49.1, < 2.0dev; python_version>='3.11'", | ||
| 43 | + ], | ||
| 39 | 44 | "grpcgcp": "grpcio-gcp >= 0.2.2, < 1.0dev", | |
| 40 | 45 | "grpcio-gcp": "grpcio-gcp >= 0.2.2, < 1.0dev", | |
| 41 | 46 | } | |
@@ -86,6 +91,7 @@ | |||
| 86 | 91 | "Programming Language :: Python :: 3.8", | |
| 87 | 92 | "Programming Language :: Python :: 3.9", | |
| 88 | 93 | "Programming Language :: Python :: 3.10", | |
| 94 | + "Programming Language :: Python :: 3.11", | ||
| 89 | 95 | "Operating System :: OS Independent", | |
| 90 | 96 | "Topic :: Internet", | |
| 91 | 97 | ], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments