Skip to content

Commit 2c9899a

Browse files
authored
Merge pull request #323 from MC-kit/devel
Enable Python 3.12
2 parents eb0cb06 + 2d4412c commit 2c9899a

File tree

5 files changed

+649
-609
lines changed

5 files changed

+649
-609
lines changed

.github/workflows/tests.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ jobs:
131131
fail-fast: false
132132
matrix:
133133
os: [ ubuntu-latest, macos-latest, windows-latest ]
134-
python-version: [ '3.10', '3.11' ]
135-
# msgspec 0.18.5 fails on 3.9
136-
# duckdb 0.9.2 doesn't work with 3.12 yet
134+
python-version: [ '3.10', '3.11', '3.12' ]
135+
# msgspec 0.18.6 fails on 3.9
136+
exclude:
137+
- os: macos-latest
138+
python-version: '3.12' # connectorx(>=0.3.2) (required by polars>=0.3.2) is not available
137139

138140
steps:
139141

.pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
# https://pre-commit.com/hooks.html for more hooks
1717
default_language_version:
1818
python: python3.11
19+
1920
repos:
21+
2022
# Standard hooks
2123
- repo: https://github.com/pre-commit/pre-commit-hooks
2224
rev: "v4.5.0"

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def find_my_name() -> str:
6060
package: Final = find_my_name()
6161
locations: Final = f"src/{package}", "tests", "./noxfile.py", "docs/source/conf.py"
6262

63-
supported_pythons: Final = "3.10", "3.11"
63+
supported_pythons: Final = "3.10", "3.11", "3.12"
6464

6565

6666
def _update_hook(hook: Path, virtualenv: str, s: Session) -> None:

0 commit comments

Comments
 (0)