From a6196807ed5bf32552d43d8b692c94ee0db68584 Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Tue, 17 Sep 2024 08:32:34 +0200 Subject: [PATCH] Update package --- .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