python312Packages.bindep: 2.12.0 -> 2.13.0 (#395030)

Sandro da25f94f 6a8f6223

Changed files
+21 -6
pkgs
development
python-modules
bindep
+21 -6
pkgs/development/python-modules/bindep/default.nix
···
buildPythonPackage,
distro,
fetchPypi,
+
fixtures,
+
libredirect,
packaging,
parsley,
pbr,
-
setuptools,
+
pytestCheckHook,
+
testtools,
}:
buildPythonPackage rec {
pname = "bindep";
-
version = "2.12.0";
+
version = "2.13.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
-
hash = "sha256-wGtR5tC6OWWq2PPCXwpXS+D4AboHyxp4SV2olUZ952A=";
+
hash = "sha256-33VkdT5YMDO7ETM4FQ13JUAUW00YmkgB7FaiW17eUFA=";
};
env.PBR_VERSION = version;
build-system = [
pbr
-
setuptools
];
dependencies = [
···
distro
];
-
# Checks moved to 'passthru.tests' to workaround infinite recursion
-
doCheck = false;
+
nativeCheckInputs = [
+
fixtures
+
libredirect.hook
+
pytestCheckHook
+
testtools
+
];
+
+
preCheck = ''
+
echo "ID=nixos
+
" > os-release
+
export NIX_REDIRECTS=/etc/os-release=$(realpath os-release)
+
export PATH=$PATH:$out/bin
+
'';
+
+
pytestFlagsArray = [ "-s" ];
pythonImportsCheck = [ "bindep" ];