pythonPackages.traitlets: disable for Python 2

This commit is contained in:
Orivej Desh 2020-12-08 00:18:28 +00:00
parent 61d95bbd40
commit 55324b51e7

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, isPy27
, fetchPypi , fetchPypi
, glibcLocales , glibcLocales
, pytest , pytest
@ -14,6 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "traitlets"; pname = "traitlets";
version = "5.0.5"; version = "5.0.5";
disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -27,8 +29,6 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8" py.test LC_ALL="en_US.UTF-8" py.test
''; '';
# doCheck = false;
meta = { meta = {
description = "Traitlets Python config system"; description = "Traitlets Python config system";
homepage = "http://ipython.org/"; homepage = "http://ipython.org/";