Unverified Commit 9ea77891 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #311010 from fabaff/pyinsteon-bump

python311Packages.pyinsteon: 1.5.3 -> 1.6.1
parents eb4f6a2c 3b87eaf7
Loading
Loading
Loading
Loading
+25 −23
Original line number Diff line number Diff line
{ lib
, aiofiles
, aiohttp
, async-timeout
, async-generator
, buildPythonPackage
, fetchFromGitHub
, pypubsub
, pyserial
, pyserial-asyncio
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
, voluptuous
{
  lib,
  aiofiles,
  aiohttp,
  async-timeout,
  async-generator,
  buildPythonPackage,
  fetchFromGitHub,
  pypubsub,
  pyserial,
  pyserial-asyncio,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  setuptools,
  voluptuous,
}:

buildPythonPackage rec {
  pname = "pyinsteon";
  version = "1.5.3";
  version = "1.6.1";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -26,12 +27,10 @@ buildPythonPackage rec {
    owner = "pyinsteon";
    repo = "pyinsteon";
    rev = "refs/tags/${version}";
    hash = "sha256-9d6QbekUv63sjKdK+ZogYOkGfFXVW+JB6ITHnehLwtM=";
    hash = "sha256-s8YRDu+UpU1sisdscd87CpcLl3csOUDdIuKqx48GZsw=";
  };

  build-system = [
    setuptools
  ];
  build-system = [ setuptools ];

  dependencies = [
    aiofiles
@@ -48,14 +47,17 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  disabledTests = [
    # RuntimeError: BUG: Dead Listener called, still subscribed!
    "test_linking_with_i1_device"
  ];

  disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
    # Tests are blocking or failing
    "tests/test_handlers/"
  ];

  pythonImportsCheck = [
    "pyinsteon"
  ];
  pythonImportsCheck = [ "pyinsteon" ];

  meta = with lib; {
    description = "Python library to support Insteon home automation projects";