Unverified Commit f9bdfe1f authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.zha: 0.0.81 -> 0.0.83 (#477715)

parents 3fdc8136 4b52c7d1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,14 +15,14 @@

buildPythonPackage rec {
  pname = "bellows";
  version = "0.48.2";
  version = "0.49.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "zigpy";
    repo = "bellows";
    tag = version;
    hash = "sha256-igv/F65oZKYj8hd9KCYlbz6Yf9Ny1lnW4yFs0XT4waQ=";
    hash = "sha256-haWej3ZcUPd9Rpqf2PH8r0useylnLDaPiSctrwLz71Q=";
  };

  postPatch = ''
+44 −0
Original line number Diff line number Diff line
{
  async-timeout,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  pytest-asyncio,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage (finalAttrs: {
  pname = "looptime";
  version = "0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "nolar";
    repo = "looptime";
    tag = finalAttrs.version;
    hash = "sha256-nQNGE/o5QNAw4OSs+O5oWiq+JX+ShV6njOHkn1IlvtE=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  pythonImportsCheck = [ "looptime" ];

  nativeCheckInputs = [
    async-timeout
    pytest-asyncio
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/nolar/looptime/releases/tag/${finalAttrs.src.tag}";
    description = "Time dilation & contraction in asyncio event loops (in tests)";
    homepage = "https://github.com/nolar/looptime";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.dotlambda ];
  };
})
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # build-system
  setuptools,
@@ -19,6 +20,9 @@ buildPythonPackage rec {
  version = "0.16";
  pyproject = true;

  # https://github.com/home-assistant-libs/pyserial-asyncio-fast/pull/37
  disabled = pythonAtLeast "3.14";

  src = fetchFromGitHub {
    owner = "bdraco";
    repo = "pyserial-asyncio-fast";
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

buildPythonPackage rec {
  pname = "zha-quirks";
  version = "0.0.150";
  version = "0.0.151";
  pyproject = true;

  disabled = pythonOlder "3.12";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
    owner = "zigpy";
    repo = "zha-device-handlers";
    tag = version;
    hash = "sha256-kdbmg4SGMl3RYdPFLJhbUxfdMokQ/LrhG6hTlu8eujo=";
    hash = "sha256-eB4Xmkbueig9UgGs0d9WLGFLQ20XiCdFtI4KKa8frJw=";
  };

  postPatch = ''
+4 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildPythonPackage,
  fetchFromGitHub,
  freezegun,
  looptime,
  pyserial,
  pyserial-asyncio-fast,
  pytest-asyncio_0,
@@ -22,7 +23,7 @@

buildPythonPackage rec {
  pname = "zha";
  version = "0.0.81";
  version = "0.0.83";
  pyproject = true;

  disabled = pythonOlder "3.12";
@@ -31,7 +32,7 @@ buildPythonPackage rec {
    owner = "zigpy";
    repo = "zha";
    tag = version;
    hash = "sha256-MsuCzb2jIjZh24tXUz0fE9MgstuvmUOIWEC0s1jRoow=";
    hash = "sha256-/poB5dkD5bta/GWOah6+bz+w++C1NWf649TUzqvDfU0=";
  };

  postPatch = ''
@@ -58,6 +59,7 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    freezegun
    looptime
    pytest-asyncio_0
    pytest-timeout
    pytest-xdist
Loading