diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3dfcf30..8eb2414 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.10" - name: Install dependencies run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b39f323..d752550 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,13 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.6', '3.7', '3.8', '3.9'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -25,7 +25,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: @@ -43,6 +43,6 @@ jobs: tox -v - name: Upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: name: Python ${{ matrix.python-version }} diff --git a/setup.cfg b/setup.cfg index 7b62a50..a5516f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,3 @@ source-dir = docs/ build-dir = docs/_build all_files = 1 - -[bdist_wheel] -universal=1 diff --git a/setup.py b/setup.py index 51a3989..678102a 100644 --- a/setup.py +++ b/setup.py @@ -35,10 +35,12 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Framework :: Django", ], install_requires=["django-appconf >= 0.4"], diff --git a/tox.ini b/tox.ini index 6c37e0f..972c6e7 100644 --- a/tox.ini +++ b/tox.ini @@ -5,14 +5,15 @@ minversion = 1.8 envlist = flake8 py3{6,7,8,9}-dj22 - py3{6,7,8,9}-dj32 + py3{6,7,8,9,10}-dj32 [gh-actions] python = 3.6: py36 3.7: py37 - 3.8: py38, flake8 + 3.8: py38 3.9: py39 + 3.10: py310, flake8 [testenv] basepython = @@ -20,6 +21,7 @@ basepython = py37: python3.7 py38: python3.8 py39: python3.9 + py310: python3.10 usedevelop = true setenv = DJANGO_SETTINGS_MODULE = dbtemplates.test_settings @@ -36,7 +38,7 @@ commands = coverage xml [testenv:flake8] -basepython = python3.9 +basepython = python3.10 commands = flake8 dbtemplates deps = flake8