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

python3Packages.uiprotect: remove unused dependencies (#490908)

parents af0aa310 83e06fc7
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-asyncio,
  pytest-cov-stub,
  pytestCheckHook,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "aioshutil";
  version = "1.6";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "kumaraditya303";
    repo = "aioshutil";
    tag = "v${version}";
    hash = "sha256-+8BpL9CVH0X/9H7vL4xuV5CdA3A10a2A1q4wt1x1sSM=";
  };

  build-system = [ setuptools-scm ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "aioshutil" ];

  meta = {
    description = "Asynchronous version of function of shutil module";
    homepage = "https://github.com/kumaraditya303/aioshutil";
    changelog = "https://github.com/kumaraditya303/aioshutil/releases/tag/${src.tag}";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+5 −4
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@
  # dependencies
  aiofiles,
  aiohttp,
  aioshutil,
  async-timeout,
  av,
  convertertools,
  dateparser,
@@ -52,11 +50,14 @@ buildPythonPackage (finalAttrs: {

  build-system = [ poetry-core ];

  pythonRemoveDeps = [
    "aioshutil"
    "async-timeout"
  ];

  dependencies = [
    aiofiles
    aiohttp
    aioshutil
    async-timeout
    av
    convertertools
    dateparser
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@ mapAliases {
  abodepy = throw "'abodepy' has been renamed to/replaced by 'jaraco-abode'"; # Converted to throw 2025-10-29
  aioinflux = throw "'aioinflux' was removed because it is abandonned upstream. For InfluxDB v2+ support, please use the official Python client library"; # Added 2026-01-15
  aiosenz = throw "aiosenz was removed because Home Assistant switched to pysenz"; # added 2025-12-29
  aioshutil = throw "'aioshutil' was removed because uiprotect no longer depends on it"; # added 2026-02-16
  amazon-kclpy = throw "amazon-kclpy has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
  amazon_kclpy = throw "'amazon_kclpy' has been renamed to/replaced by 'amazon-kclpy'"; # Converted to throw 2025-10-29
  amqplib = throw "amqplib has been removed as it was unmaintained upstream"; # Added 2025-11-22
+0 −2
Original line number Diff line number Diff line
@@ -494,8 +494,6 @@ self: super: with self; {
  aioshelly = callPackage ../development/python-modules/aioshelly { };
  aioshutil = callPackage ../development/python-modules/aioshutil { };
  aiosignal = callPackage ../development/python-modules/aiosignal { };
  aioskybell = callPackage ../development/python-modules/aioskybell { };