From a68aefeb0525543ea4f093d0da1d3cdc07f751aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 22 Jun 2021 23:37:39 +0200 Subject: [PATCH] pythonPackages.dnspython_1: drop Versioned attributes in python-packages.nix should be avoided. --- pkgs/top-level/python-packages.nix | 2 -- pkgs/top-level/python2-packages.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 29913ff47bc0..b6c5058a8746 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2106,8 +2106,6 @@ in { dnspython = callPackage ../development/python-modules/dnspython { }; - dnspython_1 = callPackage ../development/python-modules/dnspython/1.nix { }; - dns = self.dnspython; # Alias for compatibility, 2017-12-10 doc8 = callPackage ../development/python-modules/doc8 { }; diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index bc37fd28db08..06cdba5eaee4 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -80,7 +80,7 @@ with self; with super; { django_evolution = callPackage ../development/python-modules/django_evolution { }; - dnspython = super.dnspython_1; + dnspython = callPackage ../development/python-modules/dnspython/1.nix { }; docker-py = disabled super.docker-py;