Merge pull request #162599 from fabaff/fix-blinkpy
python3Packages.blinkpy: disable failing tests on Python 3.10
This commit is contained in:
commit
6c5e6e24f0
1 changed files with 11 additions and 0 deletions
|
@ -5,11 +5,16 @@
|
|||
, python-slugify
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blinkpy";
|
||||
version = "0.18.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fronzbot";
|
||||
|
@ -38,6 +43,12 @@ buildPythonPackage rec {
|
|||
"blinkpy.sync_module"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.10") [
|
||||
"test_download_video_exit"
|
||||
"test_parse_camera_not_in_list"
|
||||
"test_parse_downloaded_items"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the Blink Camera system";
|
||||
homepage = "https://github.com/fronzbot/blinkpy";
|
||||
|
|
Loading…
Reference in a new issue