python313Packages.pandera: 0.25.0 -> 0.26.1
Changelog: https://github.com/unionai-oss/pandera/releases/tag/v0.26.1
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
# optional-dependencies
|
||||
black,
|
||||
dask,
|
||||
duckdb,
|
||||
fastapi,
|
||||
geopandas,
|
||||
hypothesis,
|
||||
@@ -31,25 +32,25 @@
|
||||
shapely,
|
||||
|
||||
# tests
|
||||
duckdb,
|
||||
joblib,
|
||||
pyarrow,
|
||||
pyarrow-hotfix,
|
||||
pytestCheckHook,
|
||||
pyarrow,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
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 = [
|
||||
@@ -113,11 +114,12 @@ buildPythonPackage rec {
|
||||
extras // { all = lib.concatLists (lib.attrValues extras); };
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
joblib
|
||||
pyarrow
|
||||
pyarrow-hotfix
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
rich
|
||||
]
|
||||
++ optional-dependencies.all;
|
||||
|
||||
@@ -133,17 +135,22 @@ buildPythonPackage rec {
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user