pythonPackages.pint: add missing dependencies
importlib-metadata and packaging appear to have been falsely satisfied by the inclusion of pytestCheckHook in checkInputs. this can be demonstrated by attempting to build this package with doCheck = false. also removed the isPy27 clause as package no longer seems to support <3.6 anyway now.
This commit is contained in:
parent
f56bda0c0c
commit
5f40ba47d5
|
@ -1,10 +1,10 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, pythonOlder
|
||||
, funcsigs
|
||||
, setuptools_scm
|
||||
, importlib-metadata
|
||||
, packaging
|
||||
# Check Inputs
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
|
@ -24,9 +24,10 @@ buildPythonPackage rec {
|
|||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools_scm
|
||||
] ++ lib.optional isPy27 funcsigs;
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
propagatedBuildInputs = [ packaging ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
# Test suite explicitly requires pytest
|
||||
checkInputs = [
|
||||
|
|
Loading…
Reference in a new issue