Merge pull request #203257 from applePrincess/fix-atomman

This commit is contained in:
Sandro 2022-11-29 17:31:24 +01:00 committed by GitHub
commit 099543b12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@
, setuptools
, toolz
, xmltodict
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
@ -38,6 +39,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
setuptools
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -54,6 +56,8 @@ buildPythonPackage rec {
xmltodict
];
pythonRelaxDeps = [ "potentials" ];
preCheck = ''
# By default, pytestCheckHook imports atomman from the current directory
# instead of from where `pip` installs it and fails due to missing Cython