mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-10 22:07:01 +03:00
GitHub Actions: Test on Python 3.14 release candidate 2 (#9780)
Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc2
This commit is contained in:
parent
5bb4899467
commit
5cc16335ee
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
||||||
- '3.11'
|
- '3.11'
|
||||||
- '3.12'
|
- '3.12'
|
||||||
- '3.13'
|
- '3.13'
|
||||||
|
- '3.14'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
@ -25,6 +26,7 @@ jobs:
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
allow-prereleases: true
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
cache-dependency-path: 'requirements/*.txt'
|
cache-dependency-path: 'requirements/*.txt'
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ continued development by **[signing up for a paid plan][funding]**.
|
||||||
REST framework requires the following:
|
REST framework requires the following:
|
||||||
|
|
||||||
* Django (4.2, 5.0, 5.1, 5.2)
|
* Django (4.2, 5.0, 5.1, 5.2)
|
||||||
* Python (3.10, 3.11, 3.12, 3.13)
|
* Python (3.10, 3.11, 3.12, 3.13, 3.14)
|
||||||
|
|
||||||
We **highly recommend** and only officially support the latest patch release of
|
We **highly recommend** and only officially support the latest patch release of
|
||||||
each Python and Django series.
|
each Python and Django series.
|
||||||
|
|
|
@ -25,6 +25,7 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Programming Language :: Python :: 3.14",
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
]
|
]
|
||||||
dynamic = [ "version" ]
|
dynamic = [ "version" ]
|
||||||
|
@ -56,6 +57,9 @@ known_first_party = [ "rest_framework", "tests" ]
|
||||||
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po"
|
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po"
|
||||||
ignore-words-list = "fo,malcom,ser"
|
ignore-words-list = "fo,malcom,ser"
|
||||||
|
|
||||||
|
[tool.pyproject-fmt]
|
||||||
|
max_supported_python = "3.14"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--tb=short --strict-markers -ra"
|
addopts = "--tb=short --strict-markers -ra"
|
||||||
testpaths = [ "tests" ]
|
testpaths = [ "tests" ]
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,6 +4,7 @@ envlist =
|
||||||
{py311}-{django42,django51,django52}
|
{py311}-{django42,django51,django52}
|
||||||
{py312}-{django42,django51,django52,djangomain}
|
{py312}-{django42,django51,django52,djangomain}
|
||||||
{py313}-{django51,django52,djangomain}
|
{py313}-{django51,django52,djangomain}
|
||||||
|
{py314}-{django52,djangomain}
|
||||||
base
|
base
|
||||||
dist
|
dist
|
||||||
docs
|
docs
|
||||||
|
@ -49,3 +50,6 @@ ignore_outcome = true
|
||||||
|
|
||||||
[testenv:py313-djangomain]
|
[testenv:py313-djangomain]
|
||||||
ignore_outcome = true
|
ignore_outcome = true
|
||||||
|
|
||||||
|
[testenv:py314-djangomain]
|
||||||
|
ignore_outcome = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user