From bbcd536c502d1769c3fcaa25c34726f7c3cde5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 8 Aug 2024 13:38:42 -0700 Subject: [PATCH] python312Packages.py17track: drop --- .../python-modules/py17track/default.nix | 73 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 75 deletions(-) delete mode 100644 pkgs/development/python-modules/py17track/default.nix diff --git a/pkgs/development/python-modules/py17track/default.nix b/pkgs/development/python-modules/py17track/default.nix deleted file mode 100644 index e0ddc1e17666..000000000000 --- a/pkgs/development/python-modules/py17track/default.nix +++ /dev/null @@ -1,73 +0,0 @@ -{ - lib, - aiohttp, - aresponses, - attrs, - buildPythonPackage, - fetchFromGitHub, - fetchpatch, - poetry-core, - pytest-asyncio, - pytestCheckHook, - pythonOlder, - pytz, -}: - -buildPythonPackage rec { - pname = "py17track"; - version = "2021.12.2"; - format = "pyproject"; - - disabled = pythonOlder "3.6"; - - src = fetchFromGitHub { - owner = "bachya"; - repo = pname; - rev = version; - hash = "sha256-T0Jjdu6QC8rTqZwe4cdsBbs0hQXUY6CkrImCgYwWL9o="; - }; - - patches = [ - # This patch removes references to setuptools and wheel that are no longer - # necessary and changes poetry to poetry-core, so that we don't need to add - # unnecessary nativeBuildInputs. - # - # https://github.com/bachya/py17track/pull/80 - # - (fetchpatch { - name = "clean-up-build-dependencies.patch"; - url = "https://github.com/bachya/py17track/commit/3b52394759aa50c62e2a56581e30cdb94003e2f1.patch"; - hash = "sha256-iLgklhEZ61rrdzQoO6rp1HGZcqLsqGNitwIiPNLNHQ4="; - }) - ]; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ - aiohttp - attrs - pytz - ]; - - __darwinAllowLocalNetworking = true; - - nativeCheckInputs = [ - aresponses - pytest-asyncio - pytestCheckHook - ]; - - disabledTestPaths = [ - # Ignore the examples directory as the files are prefixed with test_ - "examples/" - ]; - - pythonImportsCheck = [ "py17track" ]; - - meta = with lib; { - description = "Python library to track package info from 17track.com"; - homepage = "https://github.com/bachya/py17track"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 385a851fa147..de41a8a1e98b 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -381,6 +381,7 @@ mapAliases ({ pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13 py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07 py_stringmatching = py-stringmatching; # added 2023-11-12 + py17track = throw "py17track was removed because Home Assistant switched to pyseventeentrack"; # added 2024-08-08 pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02 pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23 pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ce467ca80a4b..884a7cf6f497 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10952,8 +10952,6 @@ self: super: with self; { py-zabbix = callPackage ../development/python-modules/py-zabbix { }; - py17track = callPackage ../development/python-modules/py17track { }; - py2bit = callPackage ../development/python-modules/py2bit { }; py3buddy = callPackage ../development/python-modules/py3buddy { };