Skip to content

Commit

Permalink
ci: Support Python 3.13 (#3591)
Browse files Browse the repository at this point in the history
* ci: Support Python 3.13

Minimal/fallback support for `3.13`.

Ideally I'd like to minimise hard dependencies we have on `typing_extensions` before October 2024.
However, this would be the simpler option if it passes CI

Resolves #3587

* ci: Bump `hatch>=1.13.0`

Adds `python=3.13.*` support
https://github.com/pypa/hatch/releases/tag/hatch-v1.13.0

* ci: Disable `allow-prereleases`

Basising this off of narwhals-dev/narwhals@97ebe2c

* ci: Bump `pyarrow`, remove `pillow` upper bound

Seems to be able to build (sometimes) with these changes.
Still fails a good chunk of the tests

* revert: (7f11faf)
  • Loading branch information
dangotbanned authored Nov 4, 2024
1 parent ed40320 commit 78f50e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
jsonschema-version: ["3.0", "latest"]
name: py ${{ matrix.python-version }} js ${{ matrix.jsonschema-version }}
steps:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]

Expand All @@ -67,7 +68,7 @@ all = [
"altair_tiles>=0.3.0"
]
dev = [
"hatch",
"hatch>=1.13.0",
"ruff>=0.6.0",
"duckdb>=1.0",
"ipython[kernel]",
Expand Down Expand Up @@ -147,7 +148,7 @@ features = ["all", "dev", "doc"]
default-args = ["--numprocesses=logical","--doctest-modules", "tests", "altair", "tools"]
parallel = true
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
[tool.hatch.envs.hatch-test.scripts]
run = [
"ruff check .",
Expand Down

0 comments on commit 78f50e5

Please sign in to comment.