Unverified Commit bbf33b8b authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.aiomysensors: relax awesomeversion constraint

parent 822c33c2
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -27,6 +27,12 @@ buildPythonPackage rec {
    hash = "sha256-hLUITEPUoUKGqN3AnacahnKwoKdfGN3mp34df74gsbE=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace " --cov=src --cov-report=term-missing:skip-covered" "" \
      --replace 'marshmallow = "^3.17"' 'marshmallow = "*"' \
      --replace 'awesomeversion = "^22.6"' 'awesomeversion = "*"'
  '';
  nativeBuildInputs = [
    poetry-core
  ];
@@ -45,12 +51,6 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace " --cov=src --cov-report=term-missing:skip-covered" "" \
      --replace 'marshmallow = "^3.17"' 'marshmallow = "*"'
  '';

  pythonImportsCheck = [
    "aiomysensors"
  ];