diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ba0e9b69..4f908996 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -41,16 +41,23 @@ jobs: DJANGO_DATABASE_PASSWORD_MYSQL: root strategy: matrix: - python-version: [3.7, 3.8, 3.9, '3.10'] + python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] django-version: + - '>=4.2,<5.0' - '>=4.1,<4.2' - '>=4.0,<4.1' - '>=3.2,<4.0' exclude: + - python-version: 3.7 + django-version: '>=4.2,<5.0' - python-version: 3.7 django-version: '>=4.1,<4.2' - python-version: 3.7 django-version: '>=4.0,<4.1' + - python-version: '3.11' + django-version: '>=3.2,<4.0' + - python-version: '3.11' + django-version: '>=4.0,<4.1' steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -61,7 +68,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --pre django'${{ matrix.django-version }}' - python -m pip install flake8 coverage sphinx sphinx_rtd_theme 'psycopg2<2.9' mysqlclient -e . + python -m pip install flake8 coverage sphinx sphinx_rtd_theme psycopg2 mysqlclient -e . - name: Lint with flake8 run: | flake8 diff --git a/setup.py b/setup.py index 0a2efd66..cbedb712 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def read(filepath): long_description=read('README.rst'), author="Dave Hall", author_email="dave@etianen.com", - url="http://github.com/etianen/django-reversion", + url="https://github.com/etianen/django-reversion", zip_safe=False, packages=find_packages(), package_data={ @@ -49,6 +49,7 @@ def read(filepath): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', "Framework :: Django", ] )