python312Packages.requirements-detector: mark as broken

Module doesn't work with astroid >= 3.0

https://github.com/landscapeio/requirements-detector/issues/48
This commit is contained in:
Fabian Affolter 2024-05-14 16:57:21 +02:00
parent baccd57dd2
commit 5f6fe961b9

View File

@ -7,7 +7,6 @@
, semver
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, toml
}:
@ -25,18 +24,10 @@ buildPythonPackage rec {
hash = "sha256-qmrHFQRypBJOI1N6W/Dtc5ss9JGqoPhFlbqrLHcb6vc=";
};
pythonRelaxDeps = [
"astroid"
];
build-system = [
poetry-core
];
nativeBuildInputs = [
pythonRelaxDepsHook
];
dependencies = [
astroid
packaging
@ -59,5 +50,7 @@ buildPythonPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
mainProgram = "detect-requirements";
# https://github.com/landscapeio/requirements-detector/issues/48
broken = versionAtLeast astroid.version "3";
};
}