Skip to content

Commit 7555ef4

Browse files
author
Vladimir Kurilin
committed
feat(python): support for 3.12
1 parent 8532de5 commit 7555ef4

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

Diff for: .github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
python:
17+
- '3.12'
1718
- '3.11'
1819
- '3.10'
1920
- '3.9'
@@ -54,7 +55,7 @@ jobs:
5455
# one for > 3.9)
5556
run: pytest tests/type-checking/test_result.yml
5657
- name: Run tests (pattern matching)
57-
if: matrix.python == '3.10' || matrix.python == '3.11'
58+
if: matrix.python == '3.10' || matrix.python == '3.11' || matrix.python == '3.12'
5859
run: pytest tests/test_pattern_matching.py
5960

6061
# Linters

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Possible log types:
1313

1414
## [Unreleased]
1515

16+
- `[added]` Add support for Python 3.12 (#157)
17+
1618
## [0.15.0] - 2023-12-04
1719

1820
- `[added]` Add `do` function to support Haskell-style do-notation (#149)

Diff for: README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Development
398398

399399
* Test your changes: ``flake8 src tests; mypy; pytest``
400400

401-
* Remember to test in Python 3.8 - 3.11.
401+
* Remember to test in Python 3.8 - 3.12.
402402

403403

404404
FAQ

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.mypy]
6-
python_version = "3.11"
6+
python_version = "3.12"
77
files = [
88
"src",
99
"tests",

Diff for: setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers =
1818
Programming Language :: Python :: 3.9
1919
Programming Language :: Python :: 3.10
2020
Programming Language :: Python :: 3.11
21+
Programming Language :: Python :: 3.12
2122
Programming Language :: Python :: 3 :: Only
2223

2324
[options]

Diff for: tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py311,py310,py39,py38
2+
envlist = py312,py311,py310,py39,py38
33

44
[testenv]
55
deps = -rrequirements-dev.txt

0 commit comments

Comments
 (0)