diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb0dc5bb..9a85d90a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,23 +9,23 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] 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 }} - name: Get pip cache dir id: pip-cache run: | - echo "::set-output name=dir::$(pip cache dir)" + echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: diff --git a/knox_project/settings.py b/knox_project/settings.py index caa79f08..d5b6c40c 100644 --- a/knox_project/settings.py +++ b/knox_project/settings.py @@ -49,7 +49,7 @@ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True -USE_L10N = True +USE_L10N = True # Deprecated since django 4.0. USE_TZ = True STATIC_URL = '/static/' diff --git a/setup.py b/setup.py index 645da21e..fefc3fc5 100644 --- a/setup.py +++ b/setup.py @@ -51,6 +51,7 @@ 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', ], # What does your project relate to? diff --git a/tox.ini b/tox.ini index ef5d6b05..e60a8d0e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = flake8, py{36,37,38,39,310}-django32, py{38,39,310}-django40, + py{38,39,310,311}-django41, [testenv:flake8] deps = flake8 @@ -30,7 +31,8 @@ setenv = deps = django32: Django>=3.2,<3.3 django40: Django>=4.0,<4.1 - markdown<3.0 + django41: Django>=4.1.3,<4.2 + markdown>=3.0 isort>=5.0 djangorestframework freezegun @@ -46,5 +48,6 @@ python = 3.6: py36 3.7: py37 3.8: py38 - 3.9: py39, isort, flake8 - 3.10: py310 + 3.9: py39 + 3.10: py310, isort, flake8 + 3.11: py311