Skip to content

Commit

Permalink
Add support for 3.12 (#158)
Browse files Browse the repository at this point in the history
Closes #157
  • Loading branch information
vkurilin authored Dec 8, 2023
1 parent 8532de5 commit 3994af7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
strategy:
matrix:
python:
- '3.12'
- '3.11'
- '3.10'
- '3.9'
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
# one for > 3.9)
run: pytest tests/type-checking/test_result.yml
- name: Run tests (pattern matching)
if: matrix.python == '3.10' || matrix.python == '3.11'
if: matrix.python == '3.10' || matrix.python == '3.11' || matrix.python == '3.12'
run: pytest tests/test_pattern_matching.py

# Linters
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Possible log types:

## [Unreleased]

- `[added]` Add support for Python 3.12 (#157)

## [0.15.0] - 2023-12-04

- `[added]` Add `do` function to support Haskell-style do-notation (#149)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ Development

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

* Remember to test in Python 3.8 - 3.11.
* Remember to test in Python 3.8 - 3.12.


FAQ
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.mypy]
python_version = "3.11"
python_version = "3.12"
files = [
"src",
"tests",
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only

[options]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py311,py310,py39,py38
envlist = py312,py311,py310,py39,py38

[testenv]
deps = -rrequirements-dev.txt
Expand Down

0 comments on commit 3994af7

Please sign in to comment.