Skip to content

Commit

Permalink
Add Django 5.0 and Python 3.12 to classifiers / build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Nov 6, 2023
1 parent ab123ff commit 8dba18e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Check out the repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
Expand All @@ -37,8 +37,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11"]
django: [32,40,41,42,main]
python: ["3.10", "3.11", "3.12"]
django: [32,40,41,42,50,main]

env:
TOXENV: py${{ matrix.python }}-django${{ matrix.django }}
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ homepage = "https://github.com/yunojuno/django-zapier-trigger"
repository = "https://github.com/yunojuno/django-zapier-trigger"
documentation = "https://github.com/yunojuno/django-zapier-trigger"
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
packages = [{ include = "zapier" }]

[tool.poetry.dependencies]
python = "^3.10"
django = "^3.2 || ^4.0"
django = "^3.2 || ^4.0 | ^5.0"
requests = "*"
djangorestframework = "*"

Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ isolated_build = True
envlist =
fmt, lint, mypy,
django-checks,
py{310,311}-django{32,40,41,42,main}
py310-django{32,40,41,42,50,main}
py311-django{32,40,41,42,50,main}
py312-django{40,41,42,50,main}

[testenv]
deps =
coverage
factory-boy
pytest
pytest-cov
pytest-django
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: https://github.com/django/django/archive/stable/5.0.x.tar.gz
djangomain: https://github.com/django/django/archive/main.tar.gz

commands =
Expand Down Expand Up @@ -48,7 +50,6 @@ commands =
description = Python source code type hints (mypy)
deps =
mypy
types-requests

commands =
mypy zapier

0 comments on commit 8dba18e

Please sign in to comment.