From 6738780694d0ead9b4a1907a94395a694efc4947 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Mon, 14 Oct 2024 13:32:29 +0200 Subject: [PATCH] Temporary: don't require pandas[parquet] on py3.13 --- doc/whatsnew.rst | 9 +++++++-- pyproject.toml | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst index ceb834f8..d3c61487 100644 --- a/doc/whatsnew.rst +++ b/doc/whatsnew.rst @@ -7,8 +7,13 @@ Next release - :mod:`genno` supports and is tested on: - `Python 3.13 `_, released 2024-10-07 (:pull:`143`). - As of release time, support for :class:`.SparseDataArray` awaits :mod:`sparse`, thus `numba `__ and `llvmlite `__. - :class:`.SparseDataArray` should be usable once these dependencies are updated. + As of release time: + + - Support for :class:`.SparseDataArray` awaits :mod:`sparse`, thus `numba `__ and `llvmlite `__. + :class:`.SparseDataArray` should be usable once these dependencies are updated. + - Support for :mod:`.caching` in the Apache Parquet file format awaits :mod:`pyarrow` 18.0.0, with an unknown release date. + On Python 3.13, caching will fall back to :mod:`pickle` from the standard library and be less performant. + - `NumPy 2.0 `_, released 2024-06-16 (:issue:`140`, :pull:`141`). - Support for Python 3.8 is dropped (:pull:`143`), as it has reached end-of-life. diff --git a/pyproject.toml b/pyproject.toml index 06c12ac5..65cb6a15 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,8 @@ requires-python = ">=3.9" dependencies = [ "dask [array] >= 2.14", "importlib_resources; python_version < '3.10'", - "pandas[parquet] >= 1.0", + "pandas >= 1.0", + "pandas[parquet] >= 1.0; python_version < '3.13'", "platformdirs", "pint", "PyYAML",