Skip to content

Commit

Permalink
Merge pull request #323 from MC-kit/devel
Browse files Browse the repository at this point in the history
Enable Python 3.12
  • Loading branch information
dvp2015 authored Feb 23, 2024
2 parents eb0cb06 + 2d4412c commit 2c9899a
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 609 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,11 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ '3.10', '3.11' ]
# msgspec 0.18.5 fails on 3.9
# duckdb 0.9.2 doesn't work with 3.12 yet
python-version: [ '3.10', '3.11', '3.12' ]
# msgspec 0.18.6 fails on 3.9
exclude:
- os: macos-latest
python-version: '3.12' # connectorx(>=0.3.2) (required by polars>=0.3.2) is not available

steps:

Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
# https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.11

repos:

# Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def find_my_name() -> str:
package: Final = find_my_name()
locations: Final = f"src/{package}", "tests", "./noxfile.py", "docs/source/conf.py"

supported_pythons: Final = "3.10", "3.11"
supported_pythons: Final = "3.10", "3.11", "3.12"


def _update_hook(hook: Path, virtualenv: str, s: Session) -> None:
Expand Down
Loading

0 comments on commit 2c9899a

Please sign in to comment.