From 74765bc595d244e383156d739d02242106fe61e0 Mon Sep 17 00:00:00 2001 From: cmp0xff Date: Wed, 29 Oct 2025 17:34:48 +0100 Subject: [PATCH] introduce pyreadstat for python3.14 --- pyproject.toml | 4 ++-- tests/test_io.py | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3876f5c77..d2dccea8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ exclude = [ "pandas-stubs/__init__.py" ] [tool.poetry.dependencies] python = ">=3.10" -types-pytz = ">= 2022.1.1" +types-pytz = ">=2022.1.1" numpy = ">=1.23.5" [tool.poetry.group.dev.dependencies] @@ -54,7 +54,7 @@ isort = ">=6.0.1" openpyxl = ">=3.0.10" numexpr = ">=2.13.1" lxml = ">=4.9.1" -pyreadstat = { version = ">=1.2.0", python = "<3.14" } # TODO: Roche/pyreadstat#310 +pyreadstat = ">=1.2.0" xlrd = ">=2.0.1" xlsxwriter = ">=3.0.3" pyxlsb = ">=1.0.10" diff --git a/tests/test_io.py b/tests/test_io.py index 20852e395..d3aafcb6c 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -434,10 +434,6 @@ def test_hdf_series() -> None: check(assert_type(read_hdf(path, "s"), DataFrame | Series), Series) -@pytest.mark.xfail( - sys.version_info >= (3, 14), - reason="pyreadstat 1.3.1 does not support py314 Roche/pyreadstat#310", -) def test_spss() -> None: path = Path(CWD, "data", "labelled-num.sav") check(