Skip to content

Django 4.0 and Python 3.10 support #283

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

Merged
merged 3 commits into from
Mar 19, 2022
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
22 changes: 4 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ on:

jobs:

analyze:
name: CodeQL
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

msgcheck:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -82,13 +69,12 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
django-version:
- "2.2.*"
- "3.1.*"
- "3.2.*"
- "3.2a"
- "4.0a"
extra:
- ""
- "progressbar"
Expand All @@ -102,7 +88,7 @@ jobs:
- run: python -m pip install --upgrade pip setuptools codecov wheel
- run: python -m pip install .[${{ matrix.extra }}]
if: ${{ matrix.extra }}
- run: python -m pip install django==${{ matrix.django-version }}
- run: python -m pip install django~=${{ matrix.django-version }}
- name: Test with pytest
run: python setup.py test
- run: codecov
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ classifier =
Topic :: Software Development
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0

python_requires = >=3.7
python_requires = >=3.8

[options]
include_package_data = True
Expand Down
2 changes: 1 addition & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@

SECRET_KEY = "foobar"

USE_L10N = True
USE_TZ = True