@@ -4146,6 +4146,12 @@ in {
41464146 # No tests available
41474147 doCheck = false;
41484148
4149+ # Fix issue when used together with other namespace packages
4150+ # https://github.com/NixOS/nixpkgs/issues/23855
4151+ patches = [
4152+ ./../development/python-modules/configparser/0001-namespace-fix.patch
4153+ ];
4154+
41494155 meta = {
41504156 maintainers = [ ];
41514157 platforms = platforms.all;
@@ -5346,10 +5352,10 @@ in {
53465352
53475353 pytest-shutil = buildPythonPackage rec {
53485354 name = "pytest-shutil-${version}";
5349− version = "1.1.1";
5355+ version = "1.2.8";
53505356 src = pkgs.fetchurl {
53515357 url = "mirror://pypi/p/pytest-shutil/${name}.tar.gz";
5352− sha256 = "bb3c4fc2dddaf70b38bd9bb7a710d07728fa14f88fbc89c2a07979b383ade5d4";
5358+ sha256 = "924accaec3f3781416139e580386ab4f849cb8662bc1072405a81d3a5e56bf3d";
53535359 };
53545360 buildInputs = with self; [ cmdline pytest ];
53555361 propagatedBuildInputs = with self; [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
@@ -5361,12 +5367,9 @@ in {
53615367 license = licenses.mit;
53625368 };
53635369
5364−
53655370 checkPhase = ''
53665371 py.test
53675372 '';
5368− # Bunch of pickle errors
5369− doCheck = false;
53705373 };
53715374
53725375 pytestcov = buildPythonPackage (rec {
@@ -5396,10 +5399,10 @@ in {
53965399 pytest-virtualenv = buildPythonPackage rec {
53975400 name = "${pname}-${version}";
53985401 pname = "pytest-virtualenv";
5399− version = "1.1.0";
5402+ version = "1.2.7";
54005403 src = pkgs.fetchurl {
54015404 url = "mirror://pypi/p/${pname}/${name}.tar.gz";
5402− sha256 = "093f5fa479ee6201e48db367c307531dc8b800609b0c3ddca9c01e0fd466a669";
5405+ sha256 = "51fb6468670624b2315aecaf1a2bbd698509e3ea6a1e28b094984c45e1376755";
54035406 };
54045407 buildInputs = with self; [ pytest pytestcov mock cmdline ];
54055408 propagatedBuildInputs = with self; [ pytest-fixture-config pytest-shutil ];
@@ -5953,6 +5956,7 @@ in {
59535956 description = "Date parsing library designed to parse dates from HTML pages";
59545957 homepage = http://pypi.python.org/pypi/dateparser;
59555958 license = licenses.bsd3;
5959+ broken = true;
59565960 };
59575961 };
59585962
@@ -10030,6 +10034,11 @@ in {
1003010034 substituteInPlace pywatchman/__init__.py \
1003110035 --replace "'watchman'" "'${pkgs.watchman}/bin/watchman'"
1003210036 '';
10037+ # SyntaxError
10038+ disabled = isPy3k;
10039+ # No tests in archive
10040+ doCheck = false;
10041+
1003310042 };
1003410043
1003510044 zope_tales = buildPythonPackage rec {
@@ -13041,12 +13050,12 @@ in {
1304113050 };
1304213051
1304313052 ipython = buildPythonPackage rec {
13044− version = "5.2.1";
13053+ version = "5.3.0";
1304513054 name = "ipython-${version}";
1304613055
1304713056 src = pkgs.fetchurl {
1304813057 url = "mirror://pypi/i/ipython/${name}.tar.gz";
13049− sha256 = "04dafc37c8876e10e797264302e4333dbcd2854ef6d16bb57cc12ce26515bfdb";
13058+ sha256 = "bf5e615e7d96dac5a61fbf98d9e2926d98aa55582681bea7e9382992a3f43c1d";
1305013059 };
1305113060
1305213061 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
@@ -13076,21 +13085,14 @@ in {
1307613085 };
1307713086
1307813087 ipython_genutils = buildPythonPackage rec {
13079− version = "0.1.0";
13088+ version = "0.2.0";
1308013089 name = "ipython_genutils-${version}";
1308113090
1308213091 src = pkgs.fetchurl {
1308313092 url = "mirror://pypi/i/ipython_genutils/${name}.tar.gz";
13084− sha256 = "3a0624a251a26463c9dfa0ffa635ec51c4265380980d9a50d65611c3c2bd82a6";
13093+ sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
1308513094 };
1308613095
13087− patches = [
13088− (pkgs.fetchpatch {
13089− url = "https://github.com/ipython/ipython_genutils/commit/6d74d8cb34e49820e48ba8b4f5e5f8322824f4f7.patch";
13090− sha256 = "13ah6a11qldzzywax50la6qwq02sk5929gjkzzn456lg1ja5gq35";
13091− })
13092− ];
13093−
1309413096 LC_ALL = "en_US.UTF-8";
1309513097 buildInputs = with self; [ nose pkgs.glibcLocales ];
1309613098
@@ -13418,16 +13420,16 @@ in {
1341813420 };
1341913421
1342013422 jupyter_client = buildPythonPackage rec {
13421− version = "4.4.0";
13423+ version = "5.0.0";
1342213424 name = "jupyter_client-${version}";
1342313425
1342413426 src = pkgs.fetchurl {
1342513427 url = "mirror://pypi/j/jupyter_client/${name}.tar.gz";
13426− sha256 = "c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee";
13428+ sha256 = "2766f9c2deb9ae826e65d53a56a36d69b184f63d0dcb7710835273327126bc5b";
1342713429 };
1342813430
1342913431 buildInputs = with self; [ nose ];
13430− propagatedBuildInputs = with self; [traitlets jupyter_core pyzmq] ++ optional isPyPy py;
13432+ propagatedBuildInputs = with self; [traitlets jupyter_core pyzmq dateutil] ++ optional isPyPy py;
1343113433
1343213434 checkPhase = ''
1343313435 nosetests -v
@@ -13445,12 +13447,12 @@ in {
1344513447 };
1344613448
1344713449 jupyter_core = buildPythonPackage rec {
13448− version = "4.2.1";
13450+ version = "4.3.0";
1344913451 name = "jupyter_core-${version}";
1345013452
1345113453 src = pkgs.fetchurl {
1345213454 url = "mirror://pypi/j/jupyter_core/${name}.tar.gz";
13453− sha256 = "89c55399c8437f777197c2c82c1ff5639c7f71d4eb2f172a81afa120b68dc7b3";
13455+ sha256 = "a96b129e1641425bf057c3d46f4f44adce747a7d60107e8ad771045c36514d40";
1345413456 };
1345513457
1345613458 buildInputs = with self; [ pytest mock ];
@@ -15291,16 +15293,15 @@ in {
1529115293 };
1529215294
1529315295 pygal = buildPythonPackage rec {
15294− version = "2.0.10";
15295− name = "pygal-${version}";
15296+ pname = "pygal";
15297+ version = "2.3.1";
15298+ name = "${pname}-${version}";
1529615299
1529715300 doCheck = !isPyPy; # one check fails with pypy
1529815301
15299− src = pkgs.fetchFromGitHub {
15300− owner = "Kozea";
15301− repo = "pygal";
15302− rev = version;
15303− sha256 = "1j7qjgraapvfc80yp8xcbddqrw8379gqi7pwkvfml3qcqm0z0d33";
15302+ src = fetchPypi {
15303+ inherit pname version;
15304+ sha256 = "7ba5a191233d0c2d8bf4b4d26b06e42bd77483a59ba7d3e5b884d81d1a870667";
1530415305 };
1530515306
1530615307 buildInputs = with self; [ flask pyquery pytest ];
@@ -15557,12 +15558,12 @@ in {
1555715558 };
1555815559
1555915560 nbformat = buildPythonPackage rec {
15560− version = "4.2.0";
15561+ version = "4.3.0";
1556115562 name = "nbformat-${version}";
1556215563
1556315564 src = pkgs.fetchurl {
1556415565 url = "mirror://pypi/n/nbformat/${name}.tar.gz";
15565− sha256 = "389a5b630a30539074f238a48fb9864592f63d611baccfa2ffaf14ffe239de06";
15566+ sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
1556615567 };
1556715568 LC_ALL="en_US.UTF-8";
1556815569 buildInputs = with self; [ pytest pkgs.glibcLocales ];
@@ -16005,12 +16006,12 @@ in {
1600516006 };
1600616007
1600716008 notebook = buildPythonPackage rec {
16008− version = "4.3.2";
16009+ version = "4.4.1";
1600916010 name = "notebook-${version}";
1601016011
1601116012 src = pkgs.fetchurl {
1601216013 url = "mirror://pypi/n/notebook/${name}.tar.gz";
16013− sha256 = "fc77edf4ec295542172aa66a3e9d527e75038fcaadd3ed20afbf8596e5629aa9";
16014+ sha256 = "dfadef2babd7c04c6c257df7d07d7ba587e503dbb4e4c95305f9a95b8d3a9765";
1601416015 };
1601516016
1601616017 LC_ALL = "en_US.UTF-8";
@@ -18152,7 +18153,7 @@ in {
1815218153
1815318154 parsedatetime = buildPythonPackage rec {
1815418155 name = "parsedatetime-${version}";
18155− version = "2.1";
18156+ version = "2.3";
1815618157
1815718158 meta = {
1815818159 description = "Parse human-readable date/time text";
@@ -18160,11 +18161,12 @@ in {
1816018161 license = licenses.asl20;
1816118162 };
1816218163
18163− buildInputs = with self; [ PyICU nose ];
18164+ buildInputs = with self; [ pytest pytestrunner ];
18165+ propagatedBuildInputs = with self; [ future ];
1816418166
1816518167 src = pkgs.fetchurl {
1816618168 url = "mirror://pypi/p/parsedatetime/${name}.tar.gz";
18167− sha256 = "0bdgyw6y3v7bcxlx0p50s8drxsh5bb5cy2afccqr3j90amvpii8p";
18169+ sha256 = "1vkrmd398s11h1zn3zaqqsiqhj9lwy1ikcg6irx2lrgjzjg3rjll";
1816818170 };
1816918171 };
1817018172
@@ -18400,14 +18402,14 @@ in {
1840018402
1840118403 pathlib2 = if !(pythonOlder "3.4") then null else buildPythonPackage rec {
1840218404 name = "pathlib2-${version}";
18403− version = "2.1.0";
18405+ version = "2.2.1";
1840418406
1840518407 src = pkgs.fetchurl {
1840618408 url = "mirror://pypi/p/pathlib2/${name}.tar.gz";
18407− sha256 = "deb3a960c1d55868dfbcac98432358b92ba89d95029cddd4040db1f27405055c";
18409+ sha256 = "ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d";
1840818410 };
1840918411
18410− propagatedBuildInputs = with self; [ six ];
18412+ propagatedBuildInputs = with self; [ six ] ++ optional (pythonOlder "3.5") scandir;
1841118413
1841218414 meta = {
1841318415 description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems.";
@@ -18418,12 +18420,12 @@ in {
1841818420 };
1841918421
1842018422 pathpy = buildPythonPackage rec {
18421− version = "8.1.2";
18423+ version = "10.1";
1842218424 name = "path.py-${version}";
1842318425
1842418426 src = pkgs.fetchurl {
1842518427 url = "mirror://pypi/p/path.py/${name}.tar.gz";
18426− sha256 = "ada95d117c4559abe64080961daf5badda68561afdd34c278f8ca20f2fa466d2";
18428+ sha256 = "8b0ee56f6c1421a9038823926ee8da354ce70933424b408558bc6b48496587f3";
1842718429 };
1842818430
1842918431 buildInputs = with self; [setuptools_scm pytestrunner pytest pkgs.glibcLocales ];
@@ -18770,15 +18772,18 @@ in {
1877018772 };
1877118773
1877218774 pickleshare = buildPythonPackage rec {
18773− version = "0.5";
18775+ version = "0.7.4";
1877418776 name = "pickleshare-${version}";
1877518777
1877618778 src = pkgs.fetchurl {
1877718779 url = "mirror://pypi/p/pickleshare/${name}.tar.gz";
18778− sha256 = "c0be5745035d437dbf55a96f60b7712345b12423f7d0951bd7d8dc2141ca9286";
18780+ sha256 = "84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b";
1877918781 };
1878018782
18781− propagatedBuildInputs = with self; [pathpy];
18783+ propagatedBuildInputs = with self; [pathpy] ++ optional (pythonOlder "3.4") pathlib2;
18784+
18785+ # No proper test suite
18786+ doCheck = false;
1878218787
1878318788 meta = {
1878418789 description = "Tiny 'shelve'-like database with concurrency support";
@@ -19270,10 +19275,10 @@ in {
1927019275
1927119276 prompt_toolkit = buildPythonPackage rec {
1927219277 name = "prompt_toolkit-${version}";
19273− version = "1.0.9";
19278+ version = "1.0.13";
1927419279
1927519280 src = pkgs.fetchurl {
19276− sha256 = "172r15k9kwdw2lnajvpz1632dd16nqz1kcal1p0lq5ywdarj6rfd";
19281+ sha256 = "33d68ca09f76cd73287fde7df5748ffacf26a8238dd61ee81ac50860ea7c6776";
1927719282 url = "mirror://pypi/p/prompt_toolkit/${name}.tar.gz";
1927819283 };
1927919284 checkPhase = ''
@@ -28170,10 +28175,10 @@ EOF
2817028175 };
2817128176
2817228177 pyzmq = buildPythonPackage rec {
28173− name = "pyzmq-15.2.0";
28178+ name = "pyzmq-16.0.2";
2817428179 src = pkgs.fetchurl {
2817528180 url = "mirror://pypi/p/pyzmq/${name}.tar.gz";
28176− sha256 = "2dafa322670a94e20283aba2a44b92134d425bd326419b68ad4db8d0831a26ec";
28181+ sha256 = "0322543fff5ab6f87d11a8a099c4c07dd8a1719040084b6ce9162bcdf5c45c9d";
2817728182 };
2817828183 buildInputs = with self; [ pkgs.zeromq3 pytest tornado ];
2817928184 propagatedBuildInputs = [ self.py ];