Skip to content

Commit

Permalink
support django 4.2 and python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Sep 6, 2023
1 parent 71abf1a commit c292d96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -31,11 +31,11 @@ jobs:
flake8 mapentity test_project test_app
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.10' ]
django-version: [ '3.2.*', '4.1.*' ]
python-version: [ '3.8', '3.11' ]
django-version: [ '3.1.*', '3.2.*', '4.2.*' ]

steps:
- uses: actions/checkout@v4
Expand All @@ -55,10 +55,6 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
pip install .[dev]
pip install Django==${{ matrix.django-version }} -U
if [[ ${{ matrix.django-version }} == 2.2.* ]]; then
# django-modeltranslation 0.18.3 breaks with django < 3.2
pip install django-modeltranslation==0.18.2 -U
fi
- name: Check pending migrations
run: |
Expand All @@ -76,7 +72,7 @@ jobs:
publish:
needs: [lint, test]
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: ${{ github.event_name == 'release' && github.event.action == 'created' }}

steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CHANGELOG
8.5.6+dev (XXXX-XX-XX)
----------------------------

* Support django 4.2 and python 3.11


8.5.6 (2023-09-04)
Expand Down Expand Up @@ -32,6 +33,8 @@ CHANGELOG
- Add a scroll bar into filter form
- Add a scroll bar into module list (elated to https://github.com/GeotrekCE/Geotrek-admin/issues/2849)

* Support django 4.2 and python 3.11


8.5.3 (2023-03-27)
-----------------------
Expand Down

0 comments on commit c292d96

Please sign in to comment.