Skip to content

Commit 1560248

Browse files
committed
support 3.12 maybe
1 parent dee1567 commit 1560248

7 files changed

Lines changed: 40 additions & 27 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.8, 3.9, "3.10", "3.11"]
11+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
1212

1313
steps:
1414
- uses: actions/checkout@v3

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
3.9.12
33
3.10.4
44
3.11.11
5+
3.12.8

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 5.0.0 (2024-12-27)
22

3-
- **[BREAKING CHANGE]** Python requirement is now `>= 3.8.0,<3.12`.
3+
- **[BREAKING CHANGE]** Python requirement is now `>= 3.8.0,<3.13`.
44
- Unpegged `urllib3`.
55
- Utilizing pydantic v2 syntax and best practices.
66
- Improves file handling with `FileCompatibleBaseModel` (Thanks @cyrusradfar!)

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
mkdocs==1.5.3 ; python_full_version >= "3.8.0" and python_version < "3.12"
2-
pygments==2.17.2 ; python_full_version >= "3.8.0" and python_version < "3.12"
1+
mkdocs==1.5.3 ; python_full_version >= "3.8.0" and python_version < "3.13"
2+
pygments==2.17.2 ; python_full_version >= "3.8.0" and python_version < "3.13"

poetry.lock

Lines changed: 30 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ classifiers = [
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
2929
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
3031
"Topic :: Software Development :: Libraries :: Python Modules",
3132
]
3233

3334
[tool.poetry.dependencies]
3435

35-
python = ">=3.8.0,<3.12"
36+
python = ">=3.8.0,<3.13"
3637

3738
click = "^8.0"
3839
requests = "^2.28.2"
@@ -44,7 +45,7 @@ gql = { version = "3.6.0b1", extras = ["requests"] }
4445
[tool.poetry.group.dev.dependencies]
4546

4647
# Formatters
47-
black = "=22.12.0"
48+
black = "^24.8.0"
4849
isort = "^5.11.4"
4950

5051
# Linters
@@ -93,7 +94,7 @@ anvil = "python_anvil.cli:cli"
9394

9495
[tool.black]
9596

96-
target-version = ["py38", "py39", "py310", "py311"]
97+
target-version = ["py38", "py39", "py310", "py311", "py312"]
9798
skip-string-normalization = true
9899

99100
[build-system]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = true
3-
envlist = py38, py39, py310, py311
3+
envlist = py38, py39, py310, py311, py312
44

55
[testenv]
66
whitelist_externals = poetry

0 commit comments

Comments
 (0)