Skip to content

Commit

Permalink
Merge pull request #941 from browniebroke/upgrade/django-python
Browse files Browse the repository at this point in the history
Add Django 4.2 and Python 3.11 to the CI
  • Loading branch information
etianen authored May 21, 2023
2 parents 48972c1 + 770ff62 commit 3d95952
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read(filepath):
long_description=read('README.rst'),
author="Dave Hall",
author_email="[email protected]",
url="http://github.com/etianen/django-reversion",
url="https://github.com/etianen/django-reversion",
zip_safe=False,
packages=find_packages(),
package_data={
Expand All @@ -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",
]
)

0 comments on commit 3d95952

Please sign in to comment.