python313Packages.pandera: 0.25.0 -> 0.26.1

Changelog: https://github.com/unionai-oss/pandera/releases/tag/v0.26.1

Changed files
+25 -18
pkgs
development
python-modules
pandera
+25 -18
pkgs/development/python-modules/pandera/default.nix
···
# optional-dependencies
black,
dask,
+
duckdb,
fastapi,
geopandas,
hypothesis,
···
shapely,
# tests
-
duckdb,
joblib,
+
pyarrow-hotfix,
pyarrow,
-
pyarrow-hotfix,
+
pytest-asyncio,
pytestCheckHook,
-
pytest-asyncio,
pythonAtLeast,
+
rich,
}:
buildPythonPackage rec {
pname = "pandera";
-
version = "0.25.0";
+
version = "0.26.1";
pyproject = true;
src = fetchFromGitHub {
owner = "unionai-oss";
repo = "pandera";
tag = "v${version}";
-
hash = "sha256-0YeLeGpunjHRWFvSvz0r2BokM4/eJKXuBajgcGquca4=";
+
hash = "sha256-kjKsujDxX2+X6omP9qDWc2JI8bxQlOSVOcEnfACoL2I=";
};
build-system = [
···
extras // { all = lib.concatLists (lib.attrValues extras); };
nativeCheckInputs = [
-
pytestCheckHook
-
pytest-asyncio
joblib
pyarrow
pyarrow-hotfix
+
pytest-asyncio
+
pytestCheckHook
+
rich
]
++ optional-dependencies.all;
···
"tests/dask/test_dask_accessor.py::test_dataframe_series_add_schema"
];
-
disabledTests =
-
lib.optionals stdenv.hostPlatform.isDarwin [
-
# OOM error on ofborg:
-
"test_engine_geometry_coerce_crs"
-
# pandera.errors.SchemaError: Error while coercing 'geometry' to type geometry
-
"test_schema_dtype_crs_with_coerce"
-
]
-
++ lib.optionals (pythonAtLeast "3.13") [
-
# AssertionError: assert DataType(Sparse[float64, nan]) == DataType(Sparse[float64, nan])
-
"test_legacy_default_pandas_extension_dtype"
-
];
+
disabledTests = [
+
# TypeError: __class__ assignment: 'GeoDataFrame' object...
+
"test_schema_model"
+
"test_schema_from_dataframe"
+
"test_schema_no_geometry"
+
]
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
+
# OOM error on ofborg:
+
"test_engine_geometry_coerce_crs"
+
# pandera.errors.SchemaError: Error while coercing 'geometry' to type geometry
+
"test_schema_dtype_crs_with_coerce"
+
]
+
++ lib.optionals (pythonAtLeast "3.13") [
+
# AssertionError: assert DataType(Sparse[float64, nan]) == DataType(Sparse[float64, nan])
+
"test_legacy_default_pandas_extension_dtype"
+
];
pythonImportsCheck = [
"pandera"