From afb1afc55ef92f81c1b1a2f10fc3fe6bfa1b9129 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:54:28 -0700 Subject: [PATCH] python3.pkgs.d2to1: remove as it's archived and breaks with setuptools 68 --- .../python-modules/d2to1/default.nix | 25 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 -- 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 pkgs/development/python-modules/d2to1/default.nix diff --git a/pkgs/development/python-modules/d2to1/default.nix b/pkgs/development/python-modules/d2to1/default.nix deleted file mode 100644 index eaad9fc9095b..000000000000 --- a/pkgs/development/python-modules/d2to1/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ buildPythonPackage -, lib -, fetchFromGitHub -, nose -}: -buildPythonPackage rec { - pname = "d2to1"; - version = "0.2.12.post1"; - - nativeCheckInputs = [ nose ]; - - src = fetchFromGitHub { - owner = "embray"; - repo = pname; - rev = version; - sha256 = "1hzq51qbzsc27yy8swp08kf42mamag7qcabbrigzj4m6ivb5chi2"; - }; - - meta = with lib;{ - description = "Support for distutils2-like setup.cfg files as package metadata"; - homepage = "https://github.com/embray/d2to1"; - license = licenses.bsd2; - maintainers = with maintainers; [ makefu ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 9a2fc3586909..70e4855f7939 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -80,6 +80,7 @@ mapAliases ({ cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14 cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23 cx_Freeze = cx-freeze; # added 2023-08-02 + d2to1 = throw "d2to1 is archived and no longer works with setuptools v68"; # added 2023-07-30 dask-xgboost = throw "dask-xgboost was removed because its features are available in xgboost"; # added 2022-05-24 dateutil = python-dateutil; # added 2021-07-03 demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 62262f520289..425082dce950 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2365,8 +2365,6 @@ self: super: with self; { cytoolz = callPackage ../development/python-modules/cytoolz { }; - d2to1 = callPackage ../development/python-modules/d2to1 { }; - dacite = callPackage ../development/python-modules/dacite { }; daemonize = callPackage ../development/python-modules/daemonize { };