Skip to content

Commit

Permalink
Django support update (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopicchio authored Dec 20, 2024
1 parent dc475d0 commit 38b8070
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
poetry 1.8.3
13 changes: 1 addition & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-feedback-govuk"
version = "0.2.10"
version = "0.2.11"
description = "A Django app to gather and send internal Government staff feedback"
authors = [
"jafacakes2011 <cameron.lamb@digitial.trade.gov.uk>",
Expand All @@ -24,22 +24,22 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.9"
Django = ">=3.2,<4.3"
Django = ">=4.2,<5.2"
crispy-forms-gds = "^0.2.4"
django-crispy-forms = "^1.9"

[tool.poetry.group.testing.dependencies]
tox = "^4"
pytest = "^7.2.2"
pytest-django = "^4.5.2"
coverage = "^7.2.1"
tox = "^4.4.12"
coverage = "*"
factory-boy = "^3.2.1"

[tool.poetry.group.dev.dependencies]
black = ">=23.1,<25.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
djlint = "^1.19.16"
black = "*"
isort = "*"
flake8 = "*"
djlint = "*"


[build-system]
Expand Down
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
[tox]
envlist =
py{38,39,310,311}-dj{32}
py{38,39,310}-dj{40}
py{38,39,310,311}-dj{41}
py{38,39,310,311,312}-dj{42}
py{310,311,312}-dj{50,latest}
dj{32,40,41,42,latest}
py{310,311,312,313}-dj{51,latest}
skip_missing_interpreters = True

[testenv]
Expand All @@ -17,11 +14,9 @@ deps =
coverage[toml]
mohawk
factory_boy
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
djlatest: Django

install_command = pip install -U {opts} {packages}
Expand Down

0 comments on commit 38b8070

Please sign in to comment.