Skip to content

Commit 407a996

Browse files
committed
Update official version support
* Add Python 3.11 * Add Django 4.2 * Drop Python 3.8
1 parent 6f3ab70 commit 407a996

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.10"
16+
python-version: "3.x"
1717
- uses: actions/checkout@v3
1818
- run: python -m pip install --upgrade pip build wheel twine
1919
- run: python -m build --sdist --wheel
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v3
5252
- uses: actions/setup-python@v4
5353
with:
54-
python-version: "3.10"
54+
python-version: "3.x"
5555
cache: 'pip'
5656
cache-dependency-path: 'linter-requirements.txt'
5757
- run: python -m pip install -r linter-requirements.txt
@@ -66,12 +66,13 @@ jobs:
6666
strategy:
6767
matrix:
6868
python-version:
69-
- "3.8"
7069
- "3.9"
7170
- "3.10"
71+
- "3.11"
7272
django-version:
7373
- "3.2"
7474
- "4.0"
75+
- "4.1"
7576
steps:
7677
- uses: actions/checkout@v3
7778
- name: Set up Python ${{ matrix.python-version }}
@@ -90,7 +91,7 @@ jobs:
9091
unzip chromedriver_linux64.zip -d bin
9192
9293
- run: python -m pip install .[test] codecov
93-
- run: python -m pip install django~=${{ matrix.django-version }}
94+
- run: python -m pip install django~=${{ matrix.django-version }}.0
9495
- run: python -m pytest
9596
env:
9697
PATH: $PATH:$(pwd)/bin

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v4
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.x"
1616
- run: python -m pip install --upgrade pip build wheel twine
1717
- uses: actions/setup-node@v3
1818
- name: Install Node dependencies

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ classifiers = [
2121
"Topic :: Software Development",
2222
"Programming Language :: Python :: 3",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.8",
2524
"Programming Language :: Python :: 3.9",
2625
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
2727
"Framework :: Django",
2828
"Framework :: Django :: 3.2",
2929
"Framework :: Django :: 4.0",
30+
"Framework :: Django :: 4.1",
3031
]
31-
requires-python = ">=3.8"
32+
requires-python = ">=3.9"
3233
dependencies = [
3334
"django>=2.0",
3435
"django-storages",

0 commit comments

Comments
 (0)