diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83093ec..58c8d91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: python-version: - "3.14" django-version: - - "6.1a1" + - "6.1" runs-on: ${{ matrix.os }} services: redis: @@ -39,7 +39,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} - - run: uv run --with django~=${{ matrix.django-version }} pytest -m "not benchmark" + - run: uv run --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" - uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -50,7 +50,7 @@ jobs: os: - "ubuntu-latest" django-version: - - "6.1a1" + - "6.1" extra: - "inspector" runs-on: ${{ matrix.os }} @@ -67,7 +67,7 @@ jobs: - uses: astral-sh/setup-uv@v7 with: python-version: ${{ matrix.python-version }} - - run: uv run --extra ${{ matrix.extra }} --with django~=${{ matrix.django-version }} pytest -m "not benchmark" + - run: uv run --extra ${{ matrix.extra }} --with django~=${{ matrix.django-version }}.0 pytest -m "not benchmark" - uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/AGENTS.md b/AGENTS.md index f62f14c..eb7a721 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,7 +21,7 @@ uv run manage.py threadmill worker # run the worker pool uv run manage.py threadmill inspector # launch the textual TUI inspector ``` -CI additionally pins Django per matrix step: `uv run --with django~=6.1a1 pytest -m "not benchmark"`. +CI additionally pins Django per matrix step: `uv run --with django~=6.1 pytest -m "not benchmark"`. Run a single test by node ID, e.g. `uv run pytest tests/test_command.py::TestCommand::test_add_arguments__register_all_worker_options`. diff --git a/pyproject.toml b/pyproject.toml index d66473c..e571941 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ "Topic :: Text Processing :: Markup :: Markdown", ] dynamic = [ "description", "version" ] -dependencies = [ "django>=6" ] +dependencies = [ "django>=6.1" ] optional-dependencies.inspector = [ "textual>=8.2.7", ] @@ -84,7 +84,7 @@ lint.isort.split-on-trailing-comma = true lint.pydocstyle.convention = "pep257" [tool.pytest] -ini_options.minversion = "6.1a1" +ini_options.minversion = "6.1" ini_options.testpaths = [ "tests" ] ini_options.addopts = """\ --cov --cov-report=xml --cov-report=term --tb=short -rxs --benchmark-autosave --benchmark-group-by=fullname \