python310Packages.aiomysensors: relax awesomeversion constraint

This commit is contained in:
Martin Weinelt 2023-08-02 21:28:39 +02:00
parent 822c33c217
commit bbf33b8ba0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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"
];