diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a5c1d41..b8de1b0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,10 +20,10 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" cache: poetry - name: Install requirements diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ce67090..e2a195e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,5 +14,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa18df0..8d71920 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,11 +47,6 @@ repos: - id: poetry-check additional_dependencies: - poetry-plugin-sort==0.2.0 - - poetry-plugin-export==1.8.0 - # FIXME: poetry lock export more platform on the CI - # - id: poetry-lock - # args: ["--no-update"] - - id: poetry-export - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.11.12 diff --git a/README.md b/README.md index 507f926..e5febd6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Django friendly finite state machine support [![CI tests](https://github.com/django-commons/django-fsm-2/actions/workflows/test.yml/badge.svg)](https://github.com/django-commons/django-fsm-2/actions/workflows/test.yml) -[![codecov](https://codecov.io/github/django-commons/django-fsm-2/branch/master/graph/badge.svg?token=GWGDR6AR6D)](https://codecov.io/github/django-commons/django-fsm-2) +[![codecov](https://codecov.io/github/django-commons/django-fsm-2/graph/badge.svg?token=gxsNL3cBl3)](https://codecov.io/github/django-commons/django-fsm-2) [![Documentation](https://img.shields.io/static/v1?label=Docs&message=READ&color=informational&style=plastic)](https://github.com/django-commons/django-fsm-2#settings) [![MIT License](https://img.shields.io/static/v1?label=License&message=MIT&color=informational&style=plastic)](https://github.com/django-commons/anymail-history/LICENSE) diff --git a/poetry.lock b/poetry.lock index 4dd2469..7d11658 100644 --- a/poetry.lock +++ b/poetry.lock @@ -533,4 +533,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.1" python-versions = "^3.8" -content-hash = "f46b8a5b9ffa4e59610be81ead75f64886b8138740c3538a88bf5912b140a652" +content-hash = "092f3ae7c4a31bb2f69f516ae5a635f67668e6f29e4c35257422bdaf2c9615ce" diff --git a/pyproject.toml b/pyproject.toml index 557d507..cdc6195 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ django-guardian = "*" graphviz = "*" pre-commit = "*" pytest = "*" -pytest-cov = "^4.1.0" +pytest-cov = "*" pytest-django = "*" [tool.pytest.ini_options] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 0cf3fed..0000000 --- a/requirements.txt +++ /dev/null @@ -1,32 +0,0 @@ -asgiref==3.8.1 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:3e1e3ecc849832fe52ccf2cb6686b7a55f82bb1d6aee72a58826471390335e47 \ - --hash=sha256:c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590 -backports-zoneinfo==0.2.1 ; python_version >= "3.8" and python_version < "3.9" \ - --hash=sha256:17746bd546106fa389c51dbea67c8b7c8f0d14b5526a579ca6ccf5ed72c526cf \ - --hash=sha256:1b13e654a55cd45672cb54ed12148cd33628f672548f373963b0bff67b217328 \ - --hash=sha256:1c5742112073a563c81f786e77514969acb58649bcdf6cdf0b4ed31a348d4546 \ - --hash=sha256:4a0f800587060bf8880f954dbef70de6c11bbe59c673c3d818921f042f9954a6 \ - --hash=sha256:5c144945a7752ca544b4b78c8c41544cdfaf9786f25fe5ffb10e838e19a27570 \ - --hash=sha256:7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9 \ - --hash=sha256:8439c030a11780786a2002261569bdf362264f605dfa4d65090b64b05c9f79a7 \ - --hash=sha256:8961c0f32cd0336fb8e8ead11a1f8cd99ec07145ec2931122faaac1c8f7fd987 \ - --hash=sha256:89a48c0d158a3cc3f654da4c2de1ceba85263fafb861b98b59040a5086259722 \ - --hash=sha256:a76b38c52400b762e48131494ba26be363491ac4f9a04c1b7e92483d169f6582 \ - --hash=sha256:da6013fd84a690242c310d77ddb8441a559e9cb3d3d59ebac9aca1a57b2e18bc \ - --hash=sha256:e55b384612d93be96506932a786bbcde5a2db7a9e6a4bb4bffe8b733f5b9036b \ - --hash=sha256:e81b76cace8eda1fca50e345242ba977f9be6ae3945af8d46326d776b4cf78d1 \ - --hash=sha256:e8236383a20872c0cdf5a62b554b27538db7fa1bbec52429d8d106effbaeca08 \ - --hash=sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac \ - --hash=sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2 -django==4.2.16 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:1ddc333a16fc139fd253035a1606bb24261951bbc3a6ca256717fa06cc41a898 \ - --hash=sha256:6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad -sqlparse==0.5.0 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:714d0a4932c059d16189f58ef5411ec2287a4360f17cdd0edd2d09d4c5087c93 \ - --hash=sha256:c204494cd97479d0e39f28c93d46c0b2d5959c7b9ab904762ea6c7af211c8663 -typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "3.11" \ - --hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \ - --hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8 -tzdata==2024.1 ; python_version >= "3.8" and python_version < "4.0" and sys_platform == "win32" \ - --hash=sha256:2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5ceae07efd \ - --hash=sha256:9068bc196136463f5245e51efda838afa15aaeca9903f49050dfa2679db4d252 diff --git a/tox.ini b/tox.ini index 51da166..ba66b74 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,8 @@ envlist = py{310,311,312}-dj50 py{310,311,312}-dj51 py{310,311,312,313}-dj52 + py{312,313}-djmain + skipsdist = True [testenv] @@ -12,6 +14,7 @@ deps = dj50: Django==5.0 dj51: Django==5.1 dj52: Django==5.2 + djmain: https://github.com/django/django/tarball/main django-guardian graphviz