Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Django 4.2 and Python 3.11 to the CI #941

Merged
merged 5 commits into from
May 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
]
)