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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, funcsigs
|
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
|
, importlib-metadata
|
||||||
|
, packaging
|
||||||
# Check Inputs
|
# Check Inputs
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, numpy
|
, numpy
|
||||||
|
@ -24,9 +24,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
setuptools_scm
|
|
||||||
] ++ lib.optional isPy27 funcsigs;
|
propagatedBuildInputs = [ packaging ]
|
||||||
|
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||||
|
|
||||||
# Test suite explicitly requires pytest
|
# Test suite explicitly requires pytest
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
Loading…
Reference in New Issue