Skip to content

Commit efc8906

Browse files
committed
fix test matrix, update changelog, classifiers
1 parent 705325a commit efc8906

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,20 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
python-version: ["3.8", "3.9", "3.10", "3.11"]
24+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2525
node-version: ["16.x"]
26-
django-version: ["4.0.*", "4.1.*", "4.2.*"]
26+
django-version: ["4.0.*", "4.1.*", "4.2.*", "5.0.*"]
2727
exclude: # https://docs.djangoproject.com/en/4.2/faq/install/#what-python-version-can-i-use-with-django
28+
- python-version: "3.8"
29+
django-version: "5.0.*"
30+
- python-version: "3.9"
31+
django-version: "5.0.*"
2832
- python-version: "3.11"
2933
django-version: "4.0.*"
34+
- python-version: "3.12"
35+
django-version: "4.0.*"
36+
- python-version: "3.12"
37+
django-version: "4.1.*"
3038

3139
steps:
3240
- uses: actions/checkout@v3
@@ -49,7 +57,7 @@ jobs:
4957
- name: Patch templates
5058
run: |
5159
mkdir -p adminsortable2/templates/adminsortable2/edit_inline
52-
DJANGO_VERSIONS=("4.0" "4.1" "4.2")
60+
DJANGO_VERSIONS=("4.0" "4.1" "4.2", "5.0")
5361
for django_version in ${DJANGO_VERSIONS[@]}; do
5462
echo $django_version
5563
curl --silent --output adminsortable2/templates/adminsortable2/edit_inline/stacked-django-$django_version.html https://raw.githubusercontent.com/django/django/stable/$django_version.x/django/contrib/admin/templates/admin/edit_inline/stacked.html

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Release history of [django-admin-sortable2](https://github.com/jrief/django-admin-sortable2/)
44

5+
### 2.1.11
6+
- Add support for Django 5.0
7+
58
### 2.1.10
69
- Do not create sourcemaps in production build.
710

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ def readfile(filename):
2424
'Programming Language :: Python :: 3.8',
2525
'Programming Language :: Python :: 3.9',
2626
'Programming Language :: Python :: 3.10',
27+
'Programming Language :: Python :: 3.12',
2728
'Framework :: Django',
2829
'Framework :: Django :: 4.0',
2930
'Framework :: Django :: 4.1',
3031
'Framework :: Django :: 4.2',
32+
'Framework :: Django :: 5.0',
3133
]
3234

3335

0 commit comments

Comments
 (0)