| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0534ce2 commit 6838b24
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ jobs: | |||
| 12 | 12 | - name: Setup Python | |
| 13 | 13 | uses: actions/setup-python@v5 | |
| 14 | 14 | with: | |
| 15 | - python-version: "3.8" | ||
| 15 | + python-version: "3.14" | ||
| 16 | 16 | - name: Install nox | |
| 17 | 17 | run: | | |
| 18 | 18 | python -m pip install --upgrade setuptools pip wheel | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ jobs: | |||
| 11 | 11 | runs-on: ubuntu-22.04 | |
| 12 | 12 | strategy: | |
| 13 | 13 | matrix: | |
| 14 | - python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] | ||
| 14 | + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] | ||
| 15 | 15 | steps: | |
| 16 | 16 | - name: Checkout | |
| 17 | 17 | uses: actions/checkout@v4 | |
@@ -45,7 +45,7 @@ jobs: | |||
| 45 | 45 | - name: Setup Python | |
| 46 | 46 | uses: actions/setup-python@v5 | |
| 47 | 47 | with: | |
| 48 | - python-version: "3.8" | ||
| 48 | + python-version: "3.14" | ||
| 49 | 49 | - name: Install coverage | |
| 50 | 50 | run: | | |
| 51 | 51 | python -m pip install --upgrade setuptools pip wheel | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ In order to add a feature: | |||
| 22 | 22 | documentation. | |
| 23 | 23 | ||
| 24 | 24 | - The feature must work fully on the following CPython versions: | |
| 25 | - 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows. | ||
| 25 | + 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows. | ||
| 26 | 26 | ||
| 27 | 27 | - The feature must not add unnecessary dependencies (where | |
| 28 | 28 | "unnecessary" is of course subjective, but new dependencies should | |
@@ -228,6 +228,7 @@ We support: | |||
| 228 | 228 | - `Python 3.11`_ | |
| 229 | 229 | - `Python 3.12`_ | |
| 230 | 230 | - `Python 3.13`_ | |
| 231 | + - `Python 3.14`_ | ||
| 231 | 232 | ||
| 232 | 233 | .. _Python 3.7: https://docs.python.org/3.7/ | |
| 233 | 234 | .. _Python 3.8: https://docs.python.org/3.8/ | |
@@ -236,6 +237,7 @@ We support: | |||
| 236 | 237 | .. _Python 3.11: https://docs.python.org/3.11/ | |
| 237 | 238 | .. _Python 3.12: https://docs.python.org/3.12/ | |
| 238 | 239 | .. _Python 3.13: https://docs.python.org/3.13/ | |
| 240 | + .. _Python 3.14: https://docs.python.org/3.14/ | ||
| 239 | 241 | ||
| 240 | 242 | ||
| 241 | 243 | Supported versions can be found in our ``noxfile.py`` `config`_. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ | |||
| 32 | 32 | ISORT_VERSION = "isort==5.11.0" | |
| 33 | 33 | LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] | |
| 34 | 34 | ||
| 35 | - DEFAULT_PYTHON_VERSION = "3.8" | ||
| 35 | + DEFAULT_PYTHON_VERSION = "3.14" | ||
| 36 | 36 | ||
| 37 | 37 | UNIT_TEST_PYTHON_VERSIONS: List[str] = [ | |
| 38 | 38 | "3.7", | |
@@ -42,6 +42,7 @@ | |||
| 42 | 42 | "3.11", | |
| 43 | 43 | "3.12", | |
| 44 | 44 | "3.13", | |
| 45 | + "3.14", | ||
| 45 | 46 | ] | |
| 46 | 47 | UNIT_TEST_STANDARD_DEPENDENCIES = [ | |
| 47 | 48 | "mock", | |
@@ -56,7 +57,7 @@ | |||
| 56 | 57 | UNIT_TEST_EXTRAS: List[str] = [] | |
| 57 | 58 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} | |
| 58 | 59 | ||
| 59 | - SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8"] | ||
| 60 | + SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.12"] | ||
| 60 | 61 | SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ | |
| 61 | 62 | "mock", | |
| 62 | 63 | "pytest", | |
@@ -135,7 +136,7 @@ def format(session): | |||
| 135 | 136 | @nox.session(python=DEFAULT_PYTHON_VERSION) | |
| 136 | 137 | def lint_setup_py(session): | |
| 137 | 138 | """Verify that setup.py is valid (including RST check).""" | |
| 138 | - session.install("docutils", "pygments") | ||
| 139 | + session.install("docutils", "pygments", "setuptools") | ||
| 139 | 140 | session.run("python", "setup.py", "check", "--restructuredtext", "--strict") | |
| 140 | 141 | ||
| 141 | 142 | ||
@@ -175,7 +176,12 @@ def install_unittest_dependencies(session, *constraints): | |||
| 175 | 176 | def unit(session, protobuf_implementation): | |
| 176 | 177 | # Install all test dependencies, then install this package in-place. | |
| 177 | 178 | ||
| 178 | - if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"): | ||
| 179 | + if protobuf_implementation == "cpp" and session.python in ( | ||
| 180 | + "3.11", | ||
| 181 | + "3.12", | ||
| 182 | + "3.13", | ||
| 183 | + "3.14", | ||
| 184 | + ): | ||
| 179 | 185 | session.skip("cpp implementation is not supported in python 3.11+") | |
| 180 | 186 | ||
| 181 | 187 | constraints_path = str( | |
@@ -375,7 +381,7 @@ def docfx(session): | |||
| 375 | 381 | ) | |
| 376 | 382 | ||
| 377 | 383 | ||
| 378 | - @nox.session(python="3.13") | ||
| 384 | + @nox.session(python="3.14") | ||
| 379 | 385 | @nox.parametrize( | |
| 380 | 386 | "protobuf_implementation", | |
| 381 | 387 | ["python", "upb", "cpp"], | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,6 +81,7 @@ | |||
| 81 | 81 | "Programming Language :: Python :: 3.11", | |
| 82 | 82 | "Programming Language :: Python :: 3.12", | |
| 83 | 83 | "Programming Language :: Python :: 3.13", | |
| 84 | + "Programming Language :: Python :: 3.14", | ||
| 84 | 85 | "Operating System :: OS Independent", | |
| 85 | 86 | "Topic :: Internet", | |
| 86 | 87 | ], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments