Skip to content

Commit 45f3927

Browse files
committed
Roche/pyreadstat#310 skip pyreadstat
1 parent eb9cc7a commit 45f3927

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ isort = ">=6.0.1"
5454
openpyxl = ">=3.0.10"
5555
numexpr = ">=2.13.1"
5656
lxml = ">=4.9.1"
57-
pyreadstat = ">=1.2.0"
57+
pyreadstat = { version = ">=1.2.0", python = "<3.14" }
5858
xlrd = ">=2.0.1"
5959
xlsxwriter = ">=3.0.3"
6060
pyxlsb = ">=1.0.10"

tests/test_io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import pathlib
77
from pathlib import Path
88
import sqlite3
9+
import sys
910
from typing import (
1011
TYPE_CHECKING,
1112
Any,
@@ -427,6 +428,7 @@ def test_hdf_series() -> None:
427428
check(assert_type(read_hdf(path, "s"), DataFrame | Series), Series)
428429

429430

431+
@pytest.mark.xfail(sys.version_info >= (3, 11), reason="pyreadstat 1.3.1 does not support py314 Roche/pyreadstat#310")
430432
def test_spss() -> None:
431433
path = Path(CWD, "data", "labelled-num.sav")
432434
check(

0 commit comments

Comments
 (0)