Skip to content

Commit 4e834dd

Browse files
authored
Test with 3.12 and no longer with 3.8 (#69)
* Test with 3.12 and no longer with 3.8 * fix formatting in changelog * v5 * tox * tox * use 3.11 for therapist
1 parent 6217d9c commit 4e834dd

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

.github/workflows/python.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,28 @@
33

44
name: Python
55

6-
on: [push, pull_request]
6+
on:
7+
push:
8+
branches:
9+
- master
10+
pull_request:
11+
12+
# Drop permissions to minimum for security
13+
permissions:
14+
contents: read
715

816
jobs:
917
build:
1018
runs-on: ubuntu-latest
1119
strategy:
1220
fail-fast: false
1321
matrix:
14-
python-version: [3.8, 3.9, "3.10", "3.11"]
22+
python-version: [3.9, "3.10", "3.11", "3.12"]
1523

1624
steps:
1725
- uses: actions/checkout@v4
1826
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2028
with:
2129
python-version: ${{ matrix.python-version }}
2230
- name: Install dependencies

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1+
0.1.11
2+
~~~~~~
3+
4+
- Include 3.12 in tests and omit 3.8
5+
`pull#69 <https://github.com/peterbe/django-cache-memoize/pull/69>`
6+
17
0.1.10
8+
~~~~~~
29

310
- Support for Django 3.2
411
`pull#51 <https://github.com/peterbe/django-cache-memoize/pull/51>`
512
Thanks @UsamaSadiq
613

714
0.1.9
15+
~~~~~
816

917
- Fix potential problem with default cache key generation (sort order,
1018
possible identical key, quoting of paramters with ``=`` sign in string)

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ envlist =
33
lint-py311,
44
readme-py311,
55
docs-py311,
6-
py38-django{32,41,42},
76
py39-django{32,41,42},
87
py310-django{32,41,42},
98
py311-django{41,42},
9+
py312-django{41,42},
1010

1111
[gh-actions]
1212
python =
13-
3.8: py38
1413
3.9: py39
1514
3.10: py310
1615
3.11: py311, lint, restlint
16+
3.12: py312
1717

1818
[testenv]
1919
usedevelop = true

0 commit comments

Comments
 (0)