python313Packages.pysiaalarm: fix tests
This commit is contained in:
@@ -8,14 +8,15 @@
|
||||
setuptools-scm,
|
||||
pytest-asyncio,
|
||||
pytest-cases,
|
||||
pytest7CheckHook,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysiaalarm";
|
||||
version = "3.1.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@@ -27,11 +28,9 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "==" ">="
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov pysiaalarm --cov-report term-missing" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dataclasses-json
|
||||
@@ -42,7 +41,8 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cases
|
||||
pytest7CheckHook
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
Reference in New Issue
Block a user