pythonPackages.importlib-metadata: 1.3.0 -> 1.5.0
This commit is contained in:
parent
2ddfc45235
commit
2f893b54bb
|
@ -13,12 +13,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "importlib-metadata";
|
||||
version = "1.3.0";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "importlib_metadata";
|
||||
inherit version;
|
||||
sha256 = "0ibvvqajphwdclbr236gikvyja0ynvqjlix38kvsabgrf0jqafh7";
|
||||
sha256 = "00ikdj4gjhankdljnz7g5ggak4k9lql2926x0x117ir9j2lv7x86";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
@ -28,6 +28,12 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [ importlib-resources packaging ];
|
||||
|
||||
# removing test_main.py - it requires 'pyflakefs'
|
||||
# and adding `pyflakefs` to `checkInputs` causes infinite recursion.
|
||||
preCheck = ''
|
||||
rm importlib_metadata/tests/test_main.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read metadata from Python packages";
|
||||
homepage = https://importlib-metadata.readthedocs.io/;
|
||||
|
|
Loading…
Reference in New Issue