mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-17 20:50:35 +03:00
Merge branch 'main' into fix/prevent-recursion-limit-fields
This commit is contained in:
commit
d54f83d479
29
.github/release.yml
vendored
Normal file
29
.github/release.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
changelog:
|
||||
exclude:
|
||||
labels:
|
||||
- dependencies
|
||||
- Internal
|
||||
- CI
|
||||
- Documentation
|
||||
authors:
|
||||
- dependabot[bot]
|
||||
- pre-commit-ci[bot]
|
||||
categories:
|
||||
- title: Breaking changes
|
||||
labels:
|
||||
- Breaking
|
||||
- title: Features
|
||||
labels:
|
||||
- Feature
|
||||
- title: Bug fixes
|
||||
labels:
|
||||
- Bug
|
||||
- title: Translations
|
||||
labels:
|
||||
- Translations
|
||||
- title: Packaging
|
||||
labels:
|
||||
- Packaging
|
||||
- title: Other changes
|
||||
labels:
|
||||
- '*'
|
||||
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
|
@ -11,6 +11,19 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
tests:
|
||||
name: Python ${{ matrix.python-version }}
|
||||
runs-on: ubuntu-24.04
|
||||
|
|
|
|||
22
.github/workflows/pre-commit.yml
vendored
22
.github/workflows/pre-commit.yml
vendored
|
|
@ -1,22 +0,0 @@
|
|||
name: pre-commit
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 142 KiB |
|
|
@ -44,9 +44,7 @@ dev = [
|
|||
{ include-group = "test" },
|
||||
]
|
||||
test = [
|
||||
# temporary pin of attrs
|
||||
"attrs==22.1.0",
|
||||
"importlib-metadata<5.0",
|
||||
"importlib-metadata<9.0",
|
||||
|
||||
# Pytest for running the tests.
|
||||
"pytest==9.*",
|
||||
|
|
@ -64,16 +62,18 @@ docs = [
|
|||
]
|
||||
optional = [
|
||||
# Optional packages which may be used with REST framework.
|
||||
"coreapi==2.3.1",
|
||||
"coreapi==2.3.3",
|
||||
"coreschema==0.0.4",
|
||||
"django-filter",
|
||||
"django-guardian>=2.4.0,<2.5",
|
||||
"django-guardian>=2.4.0,<3.3",
|
||||
"inflection==0.5.1",
|
||||
"legacy-cgi; python_version>='3.13'",
|
||||
"markdown>=3.3.7",
|
||||
"psycopg[binary]>=3.1.8",
|
||||
"pygments~=2.17.0",
|
||||
"pyyaml>=5.3.1,<5.4",
|
||||
"pygments>=2.17,<2.20",
|
||||
"pyyaml>=5.3.1,<6.1",
|
||||
# setuptools is needed for coreapi (imports pkg_resources)
|
||||
"setuptools<82",
|
||||
]
|
||||
django42 = [ "django>=4.2,<5.0" ]
|
||||
django50 = [ "django>=5.0,<5.1" ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user