Skip to content

Commit 1a898af

Browse files
authored
Merge pull request #574 from pbs-data-solutions/python-3.14
Add support for python 3.14
2 parents b75268e + 469226a commit 1a898af

File tree

5 files changed

+263
-225
lines changed

5 files changed

+263
-225
lines changed

.github/workflows/pypi_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- published
77

88
env:
9-
PYTHON_VERSION: "3.12"
9+
PYTHON_VERSION: "3.13"
1010

1111
permissions:
1212
contents: read

.github/workflows/testing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
python-version: ["3.10", "3.11", "3.12", "3.13"]
61+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
6262
os: [ubuntu-latest, windows-latest, macos-latest]
6363
runs-on: ${{ matrix.os }}
6464
steps:
@@ -71,6 +71,7 @@ jobs:
7171
uses: actions/setup-python@v6
7272
with:
7373
python-version: ${{ matrix.python-version }}
74+
allow-prereleases: true
7475
- name: Install dependencies
7576
run: |
7677
uv sync --frozen --all-extras

prelude_parser/types.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# UP035 and UP006 ignored because Python 3.9 doesn't support the upgrade
2-
31
from datetime import date, datetime
4-
from typing import Dict, List, Union # noqa: UP035
52

6-
FieldInfo = Union[str, int, float, date, datetime, None]
7-
FlatFormInfo = List[Dict[str, FieldInfo]] # noqa: UP006
3+
FieldInfo = str | int | float | date | datetime | None
4+
FlatFormInfo = list[dict[str, FieldInfo]]

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.11",
1616
"Programming Language :: Python :: 3.12",
1717
"Programming Language :: Python :: 3.13",
18+
"Programming Language :: Python :: 3.14",
1819
"Programming Language :: Rust",
1920
"License :: OSI Approved :: MIT License",
2021
"Typing :: Typed",
@@ -34,7 +35,7 @@ all = ["pandas>=2.1.0", "polars>=0.17.14"]
3435

3536
[dependency-groups]
3637
dev = [
37-
"maturin==1.9.3",
38+
"maturin==1.9.6",
3839
"mypy==1.17.1",
3940
"pandas-stubs==2.3.0.250703",
4041
"pytest==8.4.1",
@@ -62,7 +63,7 @@ disallow_untyped_defs = false
6263

6364
[tool.ruff]
6465
line-length = 100
65-
target-version = "py39"
66+
target-version = "py310"
6667
fix = true
6768

6869
[tool.ruff.lint]

0 commit comments

Comments
 (0)