Skip to content

Commit 3afc3f0

Browse files
committed
Django v4 but not yet Django v5
1 parent ba609d1 commit 3afc3f0

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
12+
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
1515
- name: Checkout the source code

tests/test_versioning.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import sys
2-
31
import pytest
42

53
from drf_yasg.errors import SwaggerGenerationError
64
from drf_yasg.codecs import yaml_sane_load
75

86

9-
@pytest.mark.xfail(sys.version_info >= (3, 11), reason="FIXME: This test fails on Python >= 3.11")
107
def _get_versioned_schema(prefix, client, validate_schema, path='/snippets/'):
118
response = client.get(prefix + '/swagger.yaml')
129
assert response.status_code == 200

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ envlist =
88
py{37,38,39}-django{22,30}-drf{310,311,312},
99
py{37,38,39}-django{31,32}-drf{311,312},
1010
py{39,310}-django{40,41}-drf{313,314},
11-
py311-django{40,41,42,50,51}-drf314,
12-
py312-django{42,50,51}-drf314,
13-
py313-django{51}-drf314,
11+
# py311-django{40,41,42,50,51}-drf314,
12+
py311-django{40,41,42}-drf314,
13+
# py312-django{42,50,51}-drf314,
14+
py312-django{42}-drf314,
15+
# py313-django{51}-drf314,
1416
py38-{lint, docs},
15-
py313-djmaster
17+
# py313-djmaster
1618

1719
skip_missing_interpreters = true
1820

0 commit comments

Comments
 (0)