python27Packages.ipython: 5.7.0 -> 5.8.0, python36Packages.ipython 5.7.0 -> 7.1.1
- removed patch for sage as it is applied in most recent release. - simplified `ipython` attribute no need for explicit version `5` vs. `6`. - upgrade to most recent version of ipython
This commit is contained in:
committed by
Frederik Rietdijk
parent
7c4d36fc64
commit
189acf712d
@@ -12,22 +12,21 @@
|
||||
, jedi
|
||||
, decorator
|
||||
, pickleshare
|
||||
, simplegeneric
|
||||
, traitlets
|
||||
, prompt_toolkit
|
||||
, pexpect
|
||||
, appnope
|
||||
, typing
|
||||
, backcall
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipython";
|
||||
version = "6.5.0";
|
||||
version = "7.1.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b0f2ef9eada4a68ef63ee10b6dde4f35c840035c50fd24265f8052c98947d5a4";
|
||||
sha256 = "b10a7ddd03657c761fc503495bc36471c8158e3fc948573fb9fe82a7029d8efd";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
@@ -42,13 +41,12 @@ buildPythonPackage rec {
|
||||
jedi
|
||||
decorator
|
||||
pickleshare
|
||||
simplegeneric
|
||||
traitlets
|
||||
prompt_toolkit
|
||||
pygments
|
||||
pexpect
|
||||
backcall
|
||||
] ++ lib.optionals stdenv.isDarwin [appnope]
|
||||
++ lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
] ++ lib.optionals stdenv.isDarwin [appnope];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
@@ -58,11 +56,6 @@ buildPythonPackage rec {
|
||||
nosetests
|
||||
'';
|
||||
|
||||
# IPython 6.0.0 and above does not support Python < 3.3.
|
||||
# The last IPython version to support older Python versions
|
||||
# is 5.3.x.
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
meta = {
|
||||
description = "IPython: Productive Interactive Computing";
|
||||
homepage = http://ipython.org/;
|
||||
|
||||
Reference in New Issue
Block a user