Skip to content

Commit

Permalink
chore: improving django dependency version constraints for allowing d…
Browse files Browse the repository at this point in the history
…jango 5.0
  • Loading branch information
maticardenas committed Apr 3, 2024
1 parent 9f9687f commit df65512
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 142 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ jobs:
fail-fast: false
matrix:
python-version: [ "3.8.14" , "3.9.14", "3.10.7", "3.11.2" ]
django-version: [ "3.2", "4.0", "4.1" ]
django-version: [ "3.2", "4.0", "4.1", "5.0" ]
exclude:
# Django v4 dropped 3.7 support
- django-version: 3.2
python-version: 3.11.2
- django-version: 4.0
python-version: 3.7.14
- django-version: 4.1
python-version: 3.7.14
python-version: 3.11.2
- django-version: 5.0
python-version: 3.8.14
- django-version: 5.0
python-version: 3.9.14
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ repos:
'flake8-pytest-style',
'flake8-type-checking==2.3.0',
]
args: ["--ignore=E231"]

- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
Expand All @@ -52,6 +53,7 @@ repos:
- types-PyYAML
- drf-yasg
- drf-spectacular
- setuptools

- repo: local
hooks:
Expand Down
Loading

0 comments on commit df65512

Please sign in to comment.