python: jupyter_client: 5.1.0 -> 5.2.0
This commit is contained in:
parent
b3aa977bbf
commit
d170941f6e
@ -1,32 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, traitlets
|
||||
, jupyter_core
|
||||
, pyzmq
|
||||
, dateutil
|
||||
, isPyPy
|
||||
, py
|
||||
, ipykernel
|
||||
, ipython
|
||||
, mock
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter_client";
|
||||
version = "5.1.0";
|
||||
name = "${pname}-${version}";
|
||||
version = "5.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba";
|
||||
sha256 = "ca30cf1786047925ebacd6f6faa3a993efaa004b584f7d83bc8b807f7cd3f6bb";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
checkInputs = [ ipykernel ipython mock pytest ];
|
||||
propagatedBuildInputs = [traitlets jupyter_core pyzmq dateutil] ++ lib.optional isPyPy py;
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
py.test
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./wheel_workaround.patch
|
||||
];
|
||||
|
||||
# Circular dependency with ipykernel
|
||||
doCheck = false;
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 95d4774..ee72cbc 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -86,7 +86,7 @@ setup_args = dict(
|
||||
extras_require = {
|
||||
'test': ['ipykernel', 'ipython', 'mock'],
|
||||
'test:python_version == "3.3"': ['pytest<3.3.0'],
|
||||
- 'test:python_version >= "3.4" or python_version == "2.7"': ['pytest'],
|
||||
+ 'test:(python_version >= "3.4" or python_version == "2.7")': ['pytest'],
|
||||
},
|
||||
cmdclass = {
|
||||
'bdist_egg': bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,
|
Loading…
Reference in New Issue
Block a user