Merge pull request #310375 from fabaff/homematicip-bump

python312Packages.homematicip: 1.1.0 -> 1.1.1
This commit is contained in:
Marcus Ramberg 2024-05-10 23:06:24 +02:00 committed by GitHub
commit cbe5071619
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,26 @@
{ lib
, aenum
, aiohttp
, aiohttp-wsgi
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pytest7CheckHook
, pythonAtLeast
, pythonOlder
, pytest-aiohttp
, pytest-asyncio
, requests
, setuptools
, setuptools-scm
, websocket-client
, websockets
{
lib,
aenum,
aiohttp,
aiohttp-wsgi,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pytest7CheckHook,
pythonAtLeast,
pythonOlder,
pytest-aiohttp,
pytest-asyncio,
requests,
setuptools,
setuptools-scm,
websocket-client,
websockets,
}:
buildPythonPackage rec {
pname = "homematicip";
version = "1.1.0";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.10";
@ -28,15 +29,15 @@ buildPythonPackage rec {
owner = "hahn-th";
repo = "homematicip-rest-api";
rev = "refs/tags/${version}";
hash = "sha256-tx7/amXG3rLdUFgRPQcuf57qkBLAPxPWjLGSO7MrcWU=";
hash = "sha256-VMHInAmNO0Nw0ohZnIJ9c77h35YSSNNnPNYaUpBlKOQ=";
};
nativeBuildInputs = [
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
aenum
aiohttp
async-timeout
@ -52,44 +53,42 @@ buildPythonPackage rec {
pytest7CheckHook
];
pytestFlagsArray = [
"--asyncio-mode=auto"
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
disabledTests = [
# Assert issues with datetime
"test_contact_interface_device"
"test_dimmer"
"test_external_device"
"test_heating_failure_alert_group"
"test_heating"
"test_humidity_warning_rule_group"
"test_meta_group"
"test_pluggable_switch_measuring"
"test_rotary_handle_sensor"
"test_security_group"
"test_security_zone"
"test_shutter_device"
"test_smoke_detector"
"test_switching_group"
"test_temperature_humidity_sensor_outdoor"
"test_wall_mounted_thermostat_pro"
"test_weather_sensor"
# Random failures
"test_home_getSecurityJournal"
"test_home_unknown_types"
# Requires network access
"test_websocket"
] ++ lib.optionals (pythonAtLeast "3.10") [
"test_connection_lost"
"test_user_disconnect_and_reconnect"
"test_ws_message"
"test_ws_no_pong"
];
disabledTests =
[
# Assert issues with datetime
"test_contact_interface_device"
"test_dimmer"
"test_external_device"
"test_heating_failure_alert_group"
"test_heating"
"test_humidity_warning_rule_group"
"test_meta_group"
"test_pluggable_switch_measuring"
"test_rotary_handle_sensor"
"test_security_group"
"test_security_zone"
"test_shutter_device"
"test_smoke_detector"
"test_switching_group"
"test_temperature_humidity_sensor_outdoor"
"test_wall_mounted_thermostat_pro"
"test_weather_sensor"
# Random failures
"test_home_getSecurityJournal"
"test_home_unknown_types"
# Requires network access
"test_websocket"
]
++ lib.optionals (pythonAtLeast "3.10") [
"test_connection_lost"
"test_user_disconnect_and_reconnect"
"test_ws_message"
"test_ws_no_pong"
];
pythonImportsCheck = [
"homematicip"
];
pythonImportsCheck = [ "homematicip" ];
meta = with lib; {
description = "Module for the homematicIP REST API";