Skip to content

Commit

Permalink
chore: Update test matrix; drop old Django, add python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
last-partizan committed Feb 26, 2024
1 parent 2f256fa commit 2a9c823
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
django: ["3.2", "4.0", "4.2"]
python: ["3.9", "3.10", "3.11", "3.12"]
django: ["4.2"]
database: ["sqlite", "postgres", "mysql"]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
40 changes: 27 additions & 13 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<4"
django = ">=3.2"
django = ">=4.2"
ruff = "^0.0.292"

[tool.poetry.dev-dependencies]
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ project_urls =
Mailing List = http://groups.google.com/group/django-modeltranslation
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent
Environment :: Web Environment
Intended Audience :: Developers
Expand All @@ -27,8 +27,7 @@ classifiers =
license = New BSD
[options]
install_requires =
Django>=3.2
importlib-metadata; python_version<"3.8"
Django>=4.2
packages =
modeltranslation
modeltranslation.management
Expand Down

0 comments on commit 2a9c823

Please sign in to comment.