Merge pull request #313860 from NixOS/backport-313166-to-release-24.05

[Backport release-24.05] python3Packages.ppscore: fix build with pandas 2
This commit is contained in:
Weijia Wang 2024-05-23 06:25:32 +02:00 committed by GitHub
commit 505b8355eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonRelaxDepsHook,
setuptools,
pandas,
pytestCheckHook,
@ -23,7 +24,10 @@ buildPythonPackage rec {
hash = "sha256-gJStsL8fN17kvXO8EH/NHGIBelPknJzYw5WEvHsFooU=";
};
nativeBuildInputs = [ setuptools ];
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
pandas
@ -32,6 +36,8 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
pythonRelaxDeps = [ "pandas" ];
pythonImportsCheck = [ "ppscore" ];
meta = with lib; {