diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c5c00d..9663112 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,30 +16,34 @@ jobs: strategy: matrix: include: - - name: Python 3.8 / Django 3.0 + - name: Python 3.8 / Django 4.2 python_version: "3.8" - tox_env: py38-django30 + tox_env: py38-django42 - - name: Python 3.9 / Django 3.1 + - name: Python 3.9 / Django 4.2 python_version: "3.9" - tox_env: py39-django31 + tox_env: py39-django42 - - name: Python 3.10 / Django 3.2 + - name: Python 3.10 / Django 4.2 python_version: "3.10" - tox_env: py310-django32 - - - name: Python 3.10 / Django 4.0 - python_version: "3.10" - tox_env: py310-django40 - - - name: Python 3.11 / Django 4.1 - python_version: "3.11" - tox_env: py311-django41 + tox_env: py310-django42 - name: Python 3.11 / Django 4.2 python_version: "3.11" tox_env: py311-django42 + - name: Python 3.12 / Django 4.2 + python_version: "3.12" + tox_env: py312-django42 + + - name: Python 3.12 / Django 5.0 + python_version: "3.12" + tox_env: py312-django50 + + - name: Python 3.12 / Django 5.1 + python_version: "3.12" + tox_env: py312-django51 + name: "${{ matrix.name }}" runs-on: ubuntu-latest diff --git a/README.rst b/README.rst index 44f8ac8..1bf0033 100644 --- a/README.rst +++ b/README.rst @@ -40,8 +40,8 @@ Requirements ------------ + **Postgresql only** -+ Django, tested from 2.2 to 4.2 -+ With Python, tested from 3.8 to 3.11 ++ Django, tested from 4.2 to 5.1 ++ With Python, tested from 3.8 to 3.12 Documentation ------------- diff --git a/poetry.lock b/poetry.lock index 1d32453..ecfe3e8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1591,4 +1591,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "5d1a298f66f3b9a9643fd1483bf76ce544e3506938f58e726cbb9cfb22db5c4d" +content-hash = "a14f831e0fd3997060afb534a16ffba273939ad278fd0cb177b7c74449656537" diff --git a/pyproject.toml b/pyproject.toml index 7ac746b..11ecf56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,23 +18,14 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Development Status :: 5 - Production/Stable", "Framework :: Django", - "Framework :: Django :: 2.2", - "Framework :: Django :: 3.0", - "Framework :: Django :: 3.1", - "Framework :: Django :: 3.2", - "Framework :: Django :: 4.0", - "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", + "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", ] [tool.poetry.dependencies] python = "^3.8" -django = "^2.2 || ^3.0 || ^4.0" +django = "*" [tool.poetry.group.dev.dependencies] build = "*" diff --git a/tox.ini b/tox.ini index 33c3219..9760b04 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] isolated_build = true envlist = - py38-django30 - py39-django31 - py310-django{32,40} - py311-django{41,42} + py38-django42 + py39-django42 + py310-django42 + py311-django42 + py312-django{42,50,51} linters docs @@ -16,16 +17,10 @@ setenv = DATABASE_URL = {env:DATABASE_URL:postgres://postgres:password@127.0.0.1:5432/db} commands_pre = poetry install - django22: pip install psycopg2<2.9 # https://github.com/django/django/commit/837ffcfa681d0f65f444d881ee3d69aec23770be - django30: pip install psycopg2<2.9 # https://github.com/django/django/commit/837ffcfa681d0f65f444d881ee3d69aec23770be - django22: pip install Django==2.2.* - django30: pip install Django==3.0.* - django31: pip install Django==3.1.* - django32: pip install Django==3.2.* - django40: pip install Django==4.0.* - django41: pip install Django==4.1.* django42: pip install Django==4.2.* + django50: pip install Django==5.0.* + django51: pip install Django==5.1.* djangostable: pip install Django commands = poetry run pytest