Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- published

env:
PYTHON_VERSION: "3.12"
PYTHON_VERSION: "3.13"

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -71,6 +71,7 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
uv sync --frozen --all-extras
Expand Down
7 changes: 2 additions & 5 deletions prelude_parser/types.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# UP035 and UP006 ignored because Python 3.9 doesn't support the upgrade

from datetime import date, datetime
from typing import Dict, List, Union # noqa: UP035

FieldInfo = Union[str, int, float, date, datetime, None]
FlatFormInfo = List[Dict[str, FieldInfo]] # noqa: UP006
FieldInfo = str | int | float | date | datetime | None
FlatFormInfo = list[dict[str, FieldInfo]]
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
Expand All @@ -34,7 +35,7 @@ all = ["pandas>=2.1.0", "polars>=0.17.14"]

[dependency-groups]
dev = [
"maturin==1.9.3",
"maturin==1.9.6",
"mypy==1.17.1",
"pandas-stubs==2.3.0.250703",
"pytest==8.4.1",
Expand Down Expand Up @@ -62,7 +63,7 @@ disallow_untyped_defs = false

[tool.ruff]
line-length = 100
target-version = "py39"
target-version = "py310"
fix = true

[tool.ruff.lint]
Expand Down
Loading