Commit 5f6fe961 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.requirements-detector: mark as broken

Module doesn't work with astroid >= 3.0

https://github.com/landscapeio/requirements-detector/issues/48
parent baccd57d
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -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";
  };
}