Skip to content

Commit

Permalink
feat: Add Django 4.2 support, but not later, to avoid non-LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Jul 7, 2023
1 parent 0395ee7 commit b82eb5f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- "Django>=3.0,<3.1"
- "Django>=3.1,<3.2"
- "Django>=3.2,<3.3"
- "Django>=4.2,<4.3"
exclude:
# Django 3.1+ supports Python 3.9.
# https://docs.djangoproject.com/en/3.1/releases/3.1.3/
Expand Down Expand Up @@ -48,6 +49,12 @@ jobs:
PYTHONWARNINGS: error
DJANGO_SETTINGS_MODULE: cove.settings
SECRET_KEY: 7ur)dt+e%1^e6$8_sd-@1h67_5zixe2&39%r2$$8_7v6fr_7ee
if: ${{ matrix.django-version != 'Django>=4.2,<4.3' }}
- run: "py.test -n 2 cove --cov"
env:
DJANGO_SETTINGS_MODULE: cove.settings
SECRET_KEY: 7ur)dt+e%1^e6$8_sd-@1h67_5zixe2&39%r2$$8_7v6fr_7ee
if: ${{ matrix.django-version == 'Django>=4.2,<4.3' }}
- run: "sudo apt-get update"
- run: "sudo apt-get install gettext"
# Check that changes to .po files have been compiled
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Add

- Support Django 4.2 https://github.com/OpenDataServices/lib-cove-web/issues/112

# [0.27.0] - 2023-03-06

## Changed
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
python_requires=">=3.7",
install_requires=[
"Django>=2.2,<3.3",
"Django>=2.2,<4.3",
"django-bootstrap3",
"requests",
"django-environ",
Expand Down

0 comments on commit b82eb5f

Please sign in to comment.