mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-10 13:56:45 +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.12'
|
||||
- '3.13'
|
||||
- '3.14'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
@ -25,6 +26,7 @@ jobs:
|
|||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
allow-prereleases: true
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'requirements/*.txt'
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ continued development by **[signing up for a paid plan][funding]**.
|
|||
REST framework requires the following:
|
||||
|
||||
* 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
|
||||
each Python and Django series.
|
||||
|
|
|
@ -25,6 +25,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
]
|
||||
dynamic = [ "version" ]
|
||||
|
@ -56,6 +57,9 @@ known_first_party = [ "rest_framework", "tests" ]
|
|||
skip = "*/kickstarter-announcement.md,*.js,*.map,*.po"
|
||||
ignore-words-list = "fo,malcom,ser"
|
||||
|
||||
[tool.pyproject-fmt]
|
||||
max_supported_python = "3.14"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--tb=short --strict-markers -ra"
|
||||
testpaths = [ "tests" ]
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,6 +4,7 @@ envlist =
|
|||
{py311}-{django42,django51,django52}
|
||||
{py312}-{django42,django51,django52,djangomain}
|
||||
{py313}-{django51,django52,djangomain}
|
||||
{py314}-{django52,djangomain}
|
||||
base
|
||||
dist
|
||||
docs
|
||||
|
@ -49,3 +50,6 @@ ignore_outcome = true
|
|||
|
||||
[testenv:py313-djangomain]
|
||||
ignore_outcome = true
|
||||
|
||||
[testenv:py314-djangomain]
|
||||
ignore_outcome = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user