Skip to content

Commit

Permalink
fix test matrix, update changelog, classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
khasbilegt committed Jan 4, 2024
1 parent 705325a commit efc8906
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,20 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
node-version: ["16.x"]
django-version: ["4.0.*", "4.1.*", "4.2.*"]
django-version: ["4.0.*", "4.1.*", "4.2.*", "5.0.*"]
exclude: # https://docs.djangoproject.com/en/4.2/faq/install/#what-python-version-can-i-use-with-django
- python-version: "3.8"
django-version: "5.0.*"
- python-version: "3.9"
django-version: "5.0.*"
- python-version: "3.11"
django-version: "4.0.*"
- python-version: "3.12"
django-version: "4.0.*"
- python-version: "3.12"
django-version: "4.1.*"

steps:
- uses: actions/checkout@v3
Expand All @@ -49,7 +57,7 @@ jobs:
- name: Patch templates
run: |
mkdir -p adminsortable2/templates/adminsortable2/edit_inline
DJANGO_VERSIONS=("4.0" "4.1" "4.2")
DJANGO_VERSIONS=("4.0" "4.1" "4.2", "5.0")
for django_version in ${DJANGO_VERSIONS[@]}; do
echo $django_version
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
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

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

### 2.1.11
- Add support for Django 5.0

### 2.1.10
- Do not create sourcemaps in production build.

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ def readfile(filename):
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
]


Expand Down

0 comments on commit efc8906

Please sign in to comment.