Skip to content

Commit 5d3e14c

Browse files
authored
Merge pull request django-ftl#16 from Samylov-Mikhail/python3.12
chore: add support for Python 3.12
2 parents 474247a + aa78e62 commit 5d3e14c

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,33 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12.0-beta.4"]
18+
python-version:
19+
- "3.7"
20+
- "3.8"
21+
- "3.9"
22+
- "3.10"
23+
- "3.11"
24+
- "3.12"
25+
- "pypy3.6"
26+
- "pypy3.7"
27+
- "pypy3.8"
28+
- "pypy3.9"
29+
- "pypy3.10"
1930
os: [ubuntu-latest]
2031
include:
21-
- python-version: 3.6
22-
os: ubuntu-20.04
23-
- python-version: pypy3
32+
# Python 3.6 is not available on Ubuntu 22.04,
33+
# so use Ubuntu 20.04:
34+
- python-version: "3.6"
2435
os: ubuntu-20.04
2536

2637

2738
steps:
28-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
2940
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v2
41+
uses: actions/setup-python@v4
3142
with:
3243
python-version: ${{ matrix.python-version }}
44+
allow-prereleases: true
3345
- uses: actions/cache@v2
3446
with:
3547
path: ~/.cache/pip

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers =
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
2525
Programming Language :: Python :: 3.11
26+
Programming Language :: Python :: 3.12
2627

2728
[options]
2829
packages = find:

0 commit comments

Comments
 (0)