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

home-assistant: 2025.12.5 -> 2026.1.0 (#477824)

parents a604b9d6 4561dae6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@

buildPythonPackage rec {
  pname = "aiocomelit";
  version = "1.1.2";
  version = "2.0.0";
  pyproject = true;

  disabled = pythonOlder "3.12";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
    owner = "chemelli74";
    repo = "aiocomelit";
    tag = "v${version}";
    hash = "sha256-MPX9WXK2Z+QLGfQSJUlPrUhpjI2oNh7T6u6IfaVglO0=";
    hash = "sha256-gk/WYeSl+962Nd0V3VQOy1aYDaSH82qjW1VU2siqU98=";
  };

  build-system = [ poetry-core ];
+2 −2
Original line number Diff line number Diff line
@@ -16,14 +16,14 @@

buildPythonPackage rec {
  pname = "aiohomematic";
  version = "2026.1.13";
  version = "2026.1.17";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "SukramJ";
    repo = "aiohomematic";
    tag = version;
    hash = "sha256-47Ts6KmT5oNo67sn1xr7k4saKwHyOSQPnJ5MDT4R1fg=";
    hash = "sha256-pkjSo2yc4mWbvpYJDc6vK4ugZSSv1mTED8IHWJvL/so=";
  };

  build-system = [ setuptools ];
+5 −3
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
  fetchFromGitHub,
  pytestCheckHook,
  pytest-aiohttp,
  pythonOlder,
  setuptools,
}:

@@ -14,8 +13,6 @@ buildPythonPackage rec {
  version = "2.9.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "inyutin";
    repo = "aiohttp_retry";
@@ -23,6 +20,11 @@ buildPythonPackage rec {
    hash = "sha256-8S4gjeN8ktdDNd8GUsejaZdCaG/VXYPo0RJpwrrttGQ=";
  };

  postPatch = ''
    substituteInPlace setup.py \
      --replace-fail 'version="2.9.0"' 'version="${version}"'
  '';

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];
+4 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  pythonAtLeast,
  wrapt,
}:

@@ -12,6 +13,9 @@ buildPythonPackage rec {
  version = "1.5.0";
  pyproject = true;

  # https://github.com/kwarunek/aiounittest/issues/28
  disabled = pythonAtLeast "3.14";

  src = fetchFromGitHub {
    owner = "kwarunek";
    repo = "aiounittest";
+14 −25
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  glibcLocales,
  importlib-metadata,
  logfury,
  annotated-types,
  packaging,
  pdm-backend,
  pyfakefs,
  pytest-lazy-fixtures,
  pytest-mock,
  pytest-timeout,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  requests,
  responses,
  tqdm,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "b2sdk";
  version = "2.9.4";
  version = "2.10.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "Backblaze";
    repo = "b2-sdk-python";
    tag = "v${version}";
    hash = "sha256-VXdvRJvmozrDsUu1J5Jz9I2733Cwe8OBbafc1fCEuGw=";
    hash = "sha256-RWHD1ARPSKHmGKY0xdCBn3Qj4GxAfn4o8eacMQ5RT1k=";
  };

  build-system = [ pdm-backend ];
@@ -41,33 +38,25 @@ buildPythonPackage rec {
    logfury
    requests
  ]
  ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]
  ++ lib.optionals (pythonOlder "3.12") [ typing-extensions ];

  nativeCheckInputs = [
    pytest-lazy-fixtures
    pytest-mock
    pytest-timeout
    pytestCheckHook
    responses
    tqdm
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ glibcLocales ];

  disabledTestPaths = [
    # requires aws s3 auth
    "test/integration/test_download.py"
    "test/integration/test_upload.py"
  ];

    # Requires backblaze auth
    "test/integration/test_bucket.py"
  enabledTestPaths = [
    "test/unit"
  ];

  disabledTests = [
    # Test requires an API key
    "test_raw_api"
    "test_files_headers"
    "test_large_file"
    "test_file_info_b2_attributes"
    "test_sync_folder"
  disabledTests = lib.optionals (pythonAtLeast "3.14") [
    # -     'could not be accessed (no permissions to read?)',
    # +     'could not be accessed (broken symlink?)',
    "test_dir_without_exec_permission"
  ];

  pythonImportsCheck = [ "b2sdk" ];
Loading