Merge pull request #126692 from SuperSandro2000/python-throw

pythonPackages: move all throws to python-aliases.nix

authored by

Sandro and committed by
GitHub
fb82ddc3 222dcb8e

+14 -26
+14 -1
pkgs/top-level/python-aliases.nix
··· 33 ### Deprecated aliases - for backward compatibility 34 35 mapAliases ({ 36 - smart_open = smart-open; # added 2021-03-14 37 google_api_python_client = google-api-python-client; # added 2021-03-19 38 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 39 HAP-python = hap-python; # added 2021-06-01 40 MechanicalSoup = mechanicalsoup; # added 2021-06-01 41 setuptools_scm = setuptools-scm; # added 2021-06-03 42 })
··· 33 ### Deprecated aliases - for backward compatibility 34 35 mapAliases ({ 36 + blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29 37 + bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27 38 + detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04 39 + faulthandler = throw "faulthandler is built into ${python.executable}"; 40 + gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14 41 + glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 42 google_api_python_client = google-api-python-client; # added 2021-03-19 43 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 44 HAP-python = hap-python; # added 2021-06-01 45 MechanicalSoup = mechanicalsoup; # added 2021-06-01 46 + pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20 47 + pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 48 + pytest-pep8 = pytestpep8; # added 2021-01-04 49 + pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10 50 + qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 51 setuptools_scm = setuptools-scm; # added 2021-06-03 52 + smart_open = smart-open; # added 2021-03-14 53 + smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14 54 + topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22 55 })
-25
pkgs/top-level/python-packages.nix
··· 1097 1098 blockdiag = callPackage ../development/python-modules/blockdiag { }; 1099 1100 - blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29 1101 - 1102 block-io = callPackage ../development/python-modules/block-io { }; 1103 1104 blspy = callPackage ../development/python-modules/blspy { }; ··· 1179 BTrees = callPackage ../development/python-modules/btrees { }; 1180 1181 btrfs = callPackage ../development/python-modules/btrfs { }; 1182 - 1183 - bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27 1184 1185 bugsnag = callPackage ../development/python-modules/bugsnag { }; 1186 ··· 1848 descartes = callPackage ../development/python-modules/descartes { }; 1849 1850 desktop-notifier = callPackage ../development/python-modules/desktop-notifier { }; 1851 - 1852 - detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04 1853 1854 devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { }; 1855 ··· 2400 2401 fasttext = callPackage ../development/python-modules/fasttext { }; 2402 2403 - faulthandler = throw "faulthandler is built into ${python.executable}"; 2404 - 2405 favicon = callPackage ../development/python-modules/favicon { }; 2406 2407 fb-re2 = callPackage ../development/python-modules/fb-re2 { }; ··· 2797 git-annex-adapter = 2798 callPackage ../development/python-modules/git-annex-adapter { }; 2799 2800 - gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14 2801 - 2802 gitdb = callPackage ../development/python-modules/gitdb { }; 2803 2804 github3_py = callPackage ../development/python-modules/github3_py { }; ··· 2811 git-revise = callPackage ../development/python-modules/git-revise { }; 2812 2813 git-sweep = callPackage ../development/python-modules/git-sweep { }; 2814 - 2815 - glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 2816 2817 glances-api = callPackage ../development/python-modules/glances-api { }; 2818 ··· 5920 inherit (pkgs) libusb1; 5921 }; 5922 5923 - pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20 5924 - 5925 pyliblo = callPackage ../development/python-modules/pyliblo { }; 5926 5927 pylibmc = callPackage ../development/python-modules/pylibmc { }; ··· 6019 pympler = callPackage ../development/python-modules/pympler { }; 6020 6021 pymsgbox = callPackage ../development/python-modules/pymsgbox { }; 6022 - 6023 - pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04 6024 6025 pymsteams = callPackage ../development/python-modules/pymsteams { }; 6026 ··· 6618 pytest-ordering = callPackage ../development/python-modules/pytest-ordering { }; 6619 6620 pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { }; 6621 - 6622 - pytest-pep8 = self.pytestpep8; # added 2021-01-04 6623 - pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10 6624 6625 pytest-pylint = callPackage ../development/python-modules/pytest-pylint { }; 6626 ··· 7108 7109 pyzufall = callPackage ../development/python-modules/pyzufall { }; 7110 7111 - qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 7112 - 7113 qcelemental = callPackage ../development/python-modules/qcelemental { }; 7114 7115 qcengine = callPackage ../development/python-modules/qcengine { }; ··· 7823 7824 smhi-pkg = callPackage ../development/python-modules/smhi-pkg { }; 7825 7826 - smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14 7827 - 7828 smmap = callPackage ../development/python-modules/smmap { }; 7829 7830 smpplib = callPackage ../development/python-modules/smpplib { }; ··· 8443 toonapi = callPackage ../development/python-modules/toonapi { }; 8444 8445 toposort = callPackage ../development/python-modules/toposort { }; 8446 - 8447 - topydo = throw "python3Packages.topydo was moved to topydo"; # 2017-09-22 8448 8449 torchgpipe = callPackage ../development/python-modules/torchgpipe { }; 8450
··· 1097 1098 blockdiag = callPackage ../development/python-modules/blockdiag { }; 1099 1100 block-io = callPackage ../development/python-modules/block-io { }; 1101 1102 blspy = callPackage ../development/python-modules/blspy { }; ··· 1177 BTrees = callPackage ../development/python-modules/btrees { }; 1178 1179 btrfs = callPackage ../development/python-modules/btrfs { }; 1180 1181 bugsnag = callPackage ../development/python-modules/bugsnag { }; 1182 ··· 1844 descartes = callPackage ../development/python-modules/descartes { }; 1845 1846 desktop-notifier = callPackage ../development/python-modules/desktop-notifier { }; 1847 1848 devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { }; 1849 ··· 2394 2395 fasttext = callPackage ../development/python-modules/fasttext { }; 2396 2397 favicon = callPackage ../development/python-modules/favicon { }; 2398 2399 fb-re2 = callPackage ../development/python-modules/fb-re2 { }; ··· 2789 git-annex-adapter = 2790 callPackage ../development/python-modules/git-annex-adapter { }; 2791 2792 gitdb = callPackage ../development/python-modules/gitdb { }; 2793 2794 github3_py = callPackage ../development/python-modules/github3_py { }; ··· 2801 git-revise = callPackage ../development/python-modules/git-revise { }; 2802 2803 git-sweep = callPackage ../development/python-modules/git-sweep { }; 2804 2805 glances-api = callPackage ../development/python-modules/glances-api { }; 2806 ··· 5908 inherit (pkgs) libusb1; 5909 }; 5910 5911 pyliblo = callPackage ../development/python-modules/pyliblo { }; 5912 5913 pylibmc = callPackage ../development/python-modules/pylibmc { }; ··· 6005 pympler = callPackage ../development/python-modules/pympler { }; 6006 6007 pymsgbox = callPackage ../development/python-modules/pymsgbox { }; 6008 6009 pymsteams = callPackage ../development/python-modules/pymsteams { }; 6010 ··· 6602 pytest-ordering = callPackage ../development/python-modules/pytest-ordering { }; 6603 6604 pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { }; 6605 6606 pytest-pylint = callPackage ../development/python-modules/pytest-pylint { }; 6607 ··· 7089 7090 pyzufall = callPackage ../development/python-modules/pyzufall { }; 7091 7092 qcelemental = callPackage ../development/python-modules/qcelemental { }; 7093 7094 qcengine = callPackage ../development/python-modules/qcengine { }; ··· 7802 7803 smhi-pkg = callPackage ../development/python-modules/smhi-pkg { }; 7804 7805 smmap = callPackage ../development/python-modules/smmap { }; 7806 7807 smpplib = callPackage ../development/python-modules/smpplib { }; ··· 8420 toonapi = callPackage ../development/python-modules/toonapi { }; 8421 8422 toposort = callPackage ../development/python-modules/toposort { }; 8423 8424 torchgpipe = callPackage ../development/python-modules/torchgpipe { }; 8425