diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f21adb1..b639813 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,15 +7,20 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', 'pypy3'] - django-version: ['2.2', '3.1', '3.2'] + python-version: ['3.7', '3.8', '3.9', '3.10'] + django-version: ['3.2', '4.0', '4.1'] pytest-version: ['pytest'] pytest-django-version: ['pytest-django'] + exclude: + - python-version: '3.7' + django-version: '4.0' + - python-version: '3.7' + django-version: '4.1' steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -41,4 +46,4 @@ jobs: coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index e451efc..88da74b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,11 @@ PyPi: [https://pypi.org/project/django-request-cache/](https://pypi.org/project/ ### Removed - Dropped support for Python 3.5 and 3.6 - Dropped support for Django 2.1 +- Dropped support for Django 2.2 ### Added - Added support for Python 3.9 and 3.10 - Added support for Django 3.1 and 3.2 +- Added support for Django 4.0 and 4.1 ## [1.2](https://pypi.org/project/django-request-cache/1.2/) ### Added @@ -26,4 +28,4 @@ PyPi: [https://pypi.org/project/django-request-cache/](https://pypi.org/project/ ## [1.0](https://pypi.org/project/django-request-cache/1.0/) ### Added -- Initial Release \ No newline at end of file +- Initial Release diff --git a/setup.py b/setup.py index 2c2da85..963529a 100644 --- a/setup.py +++ b/setup.py @@ -19,16 +19,15 @@ author='Harald Nezbeda', author_email='hnezbeda@anexia-it.com', install_requires=[ - "django>=2.2,!=3.0.*", "django_userforeignkey" ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', - 'Framework :: Django :: 2.2', - 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.0', + 'Framework :: Django :: 4.1', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent',