Skip to content

Commit

Permalink
Django v4 but not yet Django v5
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 15, 2024
1 parent ba609d1 commit 3afc3f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout the source code
Expand Down
3 changes: 0 additions & 3 deletions tests/test_versioning.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import sys

import pytest

from drf_yasg.errors import SwaggerGenerationError
from drf_yasg.codecs import yaml_sane_load


@pytest.mark.xfail(sys.version_info >= (3, 11), reason="FIXME: This test fails on Python >= 3.11")
def _get_versioned_schema(prefix, client, validate_schema, path='/snippets/'):
response = client.get(prefix + '/swagger.yaml')
assert response.status_code == 200
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ envlist =
py{37,38,39}-django{22,30}-drf{310,311,312},
py{37,38,39}-django{31,32}-drf{311,312},
py{39,310}-django{40,41}-drf{313,314},
py311-django{40,41,42,50,51}-drf314,
py312-django{42,50,51}-drf314,
py313-django{51}-drf314,
# py311-django{40,41,42,50,51}-drf314,
py311-django{40,41,42}-drf314,
# py312-django{42,50,51}-drf314,
py312-django{42}-drf314,
# py313-django{51}-drf314,
py38-{lint, docs},
py313-djmaster
# py313-djmaster

skip_missing_interpreters = true

Expand Down

0 comments on commit 3afc3f0

Please sign in to comment.