Merge pull request #145373 from fabaff/bump-simplisafe-python
python3Packages.simplisafe-python: 2021.10.0 -> 2021.11.0
This commit is contained in:
commit
8f06fa3a26
@ -4,6 +4,7 @@
|
|||||||
, asynctest
|
, asynctest
|
||||||
, backoff
|
, backoff
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, docutils
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytest-aiohttp
|
, pytest-aiohttp
|
||||||
@ -18,22 +19,26 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "simplisafe-python";
|
pname = "simplisafe-python";
|
||||||
version = "2021.10.0";
|
version = "2021.11.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bachya";
|
owner = "bachya";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-J0uMlczR7y5wDchaOjp5d3Vf36WfRmt7d51koGiNHBk=";
|
sha256 = "sha256-5X2qvrACV9OTVYSZYxFncFOgrgywKvVDbC6IVFnJBtw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiohttp
|
aiohttp
|
||||||
backoff
|
backoff
|
||||||
|
docutils
|
||||||
pytz
|
pytz
|
||||||
types-pytz
|
types-pytz
|
||||||
voluptuous
|
voluptuous
|
||||||
@ -48,15 +53,25 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'docutils = "<0.18"' 'docutils = "*"'
|
||||||
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# simplipy/api.py:253: InvalidCredentialsError
|
# simplipy/api.py:253: InvalidCredentialsError
|
||||||
"test_request_error_failed_retry"
|
"test_request_error_failed_retry"
|
||||||
"test_update_error"
|
"test_update_error"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [ "examples/" ];
|
disabledTestPaths = [
|
||||||
|
# Ignore the examples as they are prefixed with test_
|
||||||
|
"examples/"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "simplipy" ];
|
pythonImportsCheck = [
|
||||||
|
"simplipy"
|
||||||
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user