From 60437b5d3493ba8910ca5c3035dda13428a5bdb5 Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Tue, 17 Sep 2024 09:26:36 +0200 Subject: [PATCH 1/2] Update package (#528) --- .github/workflows/test.yml | 2 ++ MANIFEST.in | 5 ++++- pyproject.toml | 1 + tox.ini | 14 ++++++-------- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b746aaa..828ff23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,6 +41,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Update repositories + run: sudo apt-get update - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: diff --git a/MANIFEST.in b/MANIFEST.in index f96cb96..12f3e7a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include LICENSE include MANIFEST.in +include .editorconfig include *.yaml include pyproject.toml include *.md @@ -10,5 +11,7 @@ include tox.ini include docs/*.rst docs/*.txt docs/*.py docs/Makefile graft src graft tests -global-exclude *.pyc +graft example prune docs/_build +exclude example/db.sqlite3 +global-exclude *.py[cod] diff --git a/pyproject.toml b/pyproject.toml index c524c54..1398682 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ classifiers = [ "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index 5673c0b..37926f1 100644 --- a/tox.ini +++ b/tox.ini @@ -3,11 +3,11 @@ args_are_paths = false envlist = py38-{4.2}, py39-{4.2}, - py310-{4.2,5.0,main}, - py311-{4.2,5.0,main}, - py312-{4.2,5.0,main}, + py310-{4.2,5.0,5.1,main}, + py311-{4.2,5.0,5.1,main}, + py312-{4.2,5.0,5.1,main}, docs, - lint, + ruff, [testenv] basepython = @@ -24,18 +24,16 @@ setenv = commands = python manage.py test {posargs} deps = - 4.0: Django==4.0.* - 4.1: Django==4.1.* 4.2: Django==4.2.* 5.0: Django==5.0.* + 5.1: Django==5.1.* main: https://github.com/django/django/archive/main.tar.gz -r{toxinidir}/requirements-test.txt [testenv:ruff] basepython = python3.11 -allowlist_externals = ruff deps = ruff -commands = ruff . +commands = ruff check . [testenv:docs] basepython = python3.11 From ec1aa468040df98dd9181a4600c6c0eb53c02ece Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 13:13:30 +0000 Subject: [PATCH 2/2] Bump tox from 4.18.1 to 4.19.0 (#529) Bumps [tox](https://github.com/tox-dev/tox) from 4.18.1 to 4.19.0. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.18.1...4.19.0) --- updated-dependencies: - dependency-name: tox dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-test.txt b/requirements-test.txt index ff952e6..bb2a79e 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,3 +1,3 @@ -tox==4.18.1 +tox==4.19.0 coverage==7.6.1 ruff==0.6.5