Skip to content

Commit 830111a

Browse files
committed
test: upgrade to Python 3.11 and Django 4.2
1 parent 2dfb6e2 commit 830111a

File tree

15 files changed

+563
-641
lines changed

15 files changed

+563
-641
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ubuntu-20.04]
29-
python-version: [3.8]
30-
toxenv: [py38-django32, quality, docs]
28+
os: [ubuntu-latest]
29+
python-version: [3.11, 3.12]
30+
toxenv: [django42, quality, docs]
3131

3232
steps:
3333
- name: checkout repo
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535

3636
- name: setup python
37-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040

@@ -47,8 +47,8 @@ jobs:
4747
run: tox
4848

4949
- name: Run coverage
50-
if: matrix.python-version == '3.8' && matrix.toxenv == 'py38-django32'
51-
uses: codecov/codecov-action@v3
50+
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
51+
uses: codecov/codecov-action@v5
5252
with:
5353
token: ${{ secrets.CODECOV_TOKEN }}
5454
flags: unittests

.github/workflows/pypi-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ on:
66

77
jobs:
88
push:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010

1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: setup python
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: 3.11
1919

2020
- name: Install Dependencies
2121
run: pip install -r requirements/pip.txt

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Change Log
1414
Unreleased
1515
~~~~~~~~~~
1616

17+
* Add support for Python 3.11, 3.12, and Django 4.2.
18+
* Drop support for Python 3.8 and Django 3.2.
19+
1720
[4.2.0] - 2024-06-21
1821
~~~~~~~~~~~~~~~~~~~~
1922

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ def get_version(*file_paths):
475475

476476
# Example configuration for intersphinx: refer to the Python standard library.
477477
intersphinx_mapping = {
478-
'python': ('https://docs.python.org/3.8', None),
479-
'django': ('https://docs.djangoproject.com/en/1.10/', 'https://docs.djangoproject.com/en/1.10/_objects/'),
478+
'python': ('https://docs.python.org/3.11', None),
479+
'django': ('https://docs.djangoproject.com/en/4.2/', 'https://docs.djangoproject.com/en/4.2/_objects/'),
480480
'model_utils': ('https://django-model-utils.readthedocs.io/en/latest/', None),
481481
}
482482

0 commit comments

Comments
 (0)