@@ -4146,6 +4146,12 @@ in {
4146 # No tests available
4146 # No tests available
4147 doCheck = false;
4147 doCheck = false;
4149+ # Fix issue when used together with other namespace packages
4150+ # https://github.com/NixOS/nixpkgs/issues/23855
4152+ ./../development/python-modules/configparser/0001-namespace-fix.patch
4149 meta = {
4155 meta = {
4150 maintainers = [ ];
4156 maintainers = [ ];
4151 platforms = platforms.all;
4157 platforms = platforms.all;
@@ -5346,10 +5352,10 @@ in {
5347 pytest-shutil = buildPythonPackage rec {
5353 pytest-shutil = buildPythonPackage rec {
5348 name = "pytest-shutil-${version}";
5354 name = "pytest-shutil-${version}";
5349− version = "1.1.1";
5355+ version = "1.2.8";
5350 src = pkgs.fetchurl {
5356 src = pkgs.fetchurl {
5351 url = "mirror://pypi/p/pytest-shutil/${name}.tar.gz";
5357 url = "mirror://pypi/p/pytest-shutil/${name}.tar.gz";
5352− sha256 = "bb3c4fc2dddaf70b38bd9bb7a710d07728fa14f88fbc89c2a07979b383ade5d4";
5358+ sha256 = "924accaec3f3781416139e580386ab4f849cb8662bc1072405a81d3a5e56bf3d";
5354 buildInputs = with self; [ cmdline pytest ];
5360 buildInputs = with self; [ cmdline pytest ];
5355 propagatedBuildInputs = with self; [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
5361 propagatedBuildInputs = with self; [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
@@ -5361,12 +5367,9 @@ in {
5361 license = licenses.mit;
5367 license = licenses.mit;
5365 checkPhase = ''
5370 checkPhase = ''
5368− # Bunch of pickle errors
5372 pytestcov = buildPythonPackage (rec {
5375 pytestcov = buildPythonPackage (rec {
@@ -5396,10 +5399,10 @@ in {
5396 pytest-virtualenv = buildPythonPackage rec {
5399 pytest-virtualenv = buildPythonPackage rec {
5397 name = "${pname}-${version}";
5400 name = "${pname}-${version}";
5398 pname = "pytest-virtualenv";
5401 pname = "pytest-virtualenv";
5399− version = "1.1.0";
5402+ version = "1.2.7";
5400 src = pkgs.fetchurl {
5403 src = pkgs.fetchurl {
5401 url = "mirror://pypi/p/${pname}/${name}.tar.gz";
5404 url = "mirror://pypi/p/${pname}/${name}.tar.gz";
5402− sha256 = "093f5fa479ee6201e48db367c307531dc8b800609b0c3ddca9c01e0fd466a669";
5405+ sha256 = "51fb6468670624b2315aecaf1a2bbd698509e3ea6a1e28b094984c45e1376755";
5404 buildInputs = with self; [ pytest pytestcov mock cmdline ];
5407 buildInputs = with self; [ pytest pytestcov mock cmdline ];
5405 propagatedBuildInputs = with self; [ pytest-fixture-config pytest-shutil ];
5408 propagatedBuildInputs = with self; [ pytest-fixture-config pytest-shutil ];
@@ -5953,6 +5956,7 @@ in {
5953 description = "Date parsing library designed to parse dates from HTML pages";
5956 description = "Date parsing library designed to parse dates from HTML pages";
5954 homepage = http://pypi.python.org/pypi/dateparser;
5957 homepage = http://pypi.python.org/pypi/dateparser;
5955 license = licenses.bsd3;
5958 license = licenses.bsd3;
@@ -10030,6 +10034,11 @@ in {
10030 substituteInPlace pywatchman/__init__.py \
10034 substituteInPlace pywatchman/__init__.py \
10031 --replace "'watchman'" "'${pkgs.watchman}/bin/watchman'"
10035 --replace "'watchman'" "'${pkgs.watchman}/bin/watchman'"
10038+ disabled = isPy3k;
10039+ # No tests in archive
10035 zope_tales = buildPythonPackage rec {
10044 zope_tales = buildPythonPackage rec {
@@ -13041,12 +13050,12 @@ in {
13043 ipython = buildPythonPackage rec {
13052 ipython = buildPythonPackage rec {
13044− version = "5.2.1";
13053+ version = "5.3.0";
13045 name = "ipython-${version}";
13054 name = "ipython-${version}";
13047 src = pkgs.fetchurl {
13056 src = pkgs.fetchurl {
13048 url = "mirror://pypi/i/ipython/${name}.tar.gz";
13057 url = "mirror://pypi/i/ipython/${name}.tar.gz";
13049− sha256 = "04dafc37c8876e10e797264302e4333dbcd2854ef6d16bb57cc12ce26515bfdb";
13058+ sha256 = "bf5e615e7d96dac5a61fbf98d9e2926d98aa55582681bea7e9382992a3f43c1d";
13052 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
13061 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
@@ -13076,21 +13085,14 @@ in {
13078 ipython_genutils = buildPythonPackage rec {
13087 ipython_genutils = buildPythonPackage rec {
13079− version = "0.1.0";
13088+ version = "0.2.0";
13080 name = "ipython_genutils-${version}";
13089 name = "ipython_genutils-${version}";
13082 src = pkgs.fetchurl {
13091 src = pkgs.fetchurl {
13083 url = "mirror://pypi/i/ipython_genutils/${name}.tar.gz";
13092 url = "mirror://pypi/i/ipython_genutils/${name}.tar.gz";
13084− sha256 = "3a0624a251a26463c9dfa0ffa635ec51c4265380980d9a50d65611c3c2bd82a6";
13093+ sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
13088− (pkgs.fetchpatch {
13089− url = "https://github.com/ipython/ipython_genutils/commit/6d74d8cb34e49820e48ba8b4f5e5f8322824f4f7.patch";
13090− sha256 = "13ah6a11qldzzywax50la6qwq02sk5929gjkzzn456lg1ja5gq35";
13094 LC_ALL = "en_US.UTF-8";
13096 LC_ALL = "en_US.UTF-8";
13095 buildInputs = with self; [ nose pkgs.glibcLocales ];
13097 buildInputs = with self; [ nose pkgs.glibcLocales ];
@@ -13418,16 +13420,16 @@ in {
13420 jupyter_client = buildPythonPackage rec {
13422 jupyter_client = buildPythonPackage rec {
13421− version = "4.4.0";
13423+ version = "5.0.0";
13422 name = "jupyter_client-${version}";
13424 name = "jupyter_client-${version}";
13424 src = pkgs.fetchurl {
13426 src = pkgs.fetchurl {
13425 url = "mirror://pypi/j/jupyter_client/${name}.tar.gz";
13427 url = "mirror://pypi/j/jupyter_client/${name}.tar.gz";
13426− sha256 = "c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee";
13428+ sha256 = "2766f9c2deb9ae826e65d53a56a36d69b184f63d0dcb7710835273327126bc5b";
13429 buildInputs = with self; [ nose ];
13431 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;
13432 checkPhase = ''
13434 checkPhase = ''
13433 nosetests -v
13435 nosetests -v
@@ -13445,12 +13447,12 @@ in {
13447 jupyter_core = buildPythonPackage rec {
13449 jupyter_core = buildPythonPackage rec {
13448− version = "4.2.1";
13450+ version = "4.3.0";
13449 name = "jupyter_core-${version}";
13451 name = "jupyter_core-${version}";
13451 src = pkgs.fetchurl {
13453 src = pkgs.fetchurl {
13452 url = "mirror://pypi/j/jupyter_core/${name}.tar.gz";
13454 url = "mirror://pypi/j/jupyter_core/${name}.tar.gz";
13453− sha256 = "89c55399c8437f777197c2c82c1ff5639c7f71d4eb2f172a81afa120b68dc7b3";
13455+ sha256 = "a96b129e1641425bf057c3d46f4f44adce747a7d60107e8ad771045c36514d40";
13456 buildInputs = with self; [ pytest mock ];
13458 buildInputs = with self; [ pytest mock ];
@@ -15291,16 +15293,15 @@ in {
15293 pygal = buildPythonPackage rec {
15295 pygal = buildPythonPackage rec {
15294− version = "2.0.10";
15297+ version = "2.3.1";
15295− name = "pygal-${version}";
15298+ name = "${pname}-${version}";
15297 doCheck = !isPyPy; # one check fails with pypy
15300 doCheck = !isPyPy; # one check fails with pypy
15299− src = pkgs.fetchFromGitHub {
15302+ src = fetchPypi {
15302− rev = version;
15303+ inherit pname version;
15303− sha256 = "1j7qjgraapvfc80yp8xcbddqrw8379gqi7pwkvfml3qcqm0z0d33";
15304+ sha256 = "7ba5a191233d0c2d8bf4b4d26b06e42bd77483a59ba7d3e5b884d81d1a870667";
15306 buildInputs = with self; [ flask pyquery pytest ];
15307 buildInputs = with self; [ flask pyquery pytest ];
@@ -15557,12 +15558,12 @@ in {
15559 nbformat = buildPythonPackage rec {
15560 nbformat = buildPythonPackage rec {
15560− version = "4.2.0";
15561+ version = "4.3.0";
15561 name = "nbformat-${version}";
15562 name = "nbformat-${version}";
15563 src = pkgs.fetchurl {
15564 src = pkgs.fetchurl {
15564 url = "mirror://pypi/n/nbformat/${name}.tar.gz";
15565 url = "mirror://pypi/n/nbformat/${name}.tar.gz";
15565− sha256 = "389a5b630a30539074f238a48fb9864592f63d611baccfa2ffaf14ffe239de06";
15566+ sha256 = "5febcce872672f1c97569e89323992bdcb8573fdad703f835e6521253191478b";
15567 LC_ALL="en_US.UTF-8";
15568 LC_ALL="en_US.UTF-8";
15568 buildInputs = with self; [ pytest pkgs.glibcLocales ];
15569 buildInputs = with self; [ pytest pkgs.glibcLocales ];
@@ -16005,12 +16006,12 @@ in {
16007 notebook = buildPythonPackage rec {
16008 notebook = buildPythonPackage rec {
16008− version = "4.3.2";
16009+ version = "4.4.1";
16009 name = "notebook-${version}";
16010 name = "notebook-${version}";
16011 src = pkgs.fetchurl {
16012 src = pkgs.fetchurl {
16012 url = "mirror://pypi/n/notebook/${name}.tar.gz";
16013 url = "mirror://pypi/n/notebook/${name}.tar.gz";
16013− sha256 = "fc77edf4ec295542172aa66a3e9d527e75038fcaadd3ed20afbf8596e5629aa9";
16014+ sha256 = "dfadef2babd7c04c6c257df7d07d7ba587e503dbb4e4c95305f9a95b8d3a9765";
16016 LC_ALL = "en_US.UTF-8";
16017 LC_ALL = "en_US.UTF-8";
@@ -18152,7 +18153,7 @@ in {
18153 parsedatetime = buildPythonPackage rec {
18154 parsedatetime = buildPythonPackage rec {
18154 name = "parsedatetime-${version}";
18155 name = "parsedatetime-${version}";
18155− version = "2.1";
18156+ version = "2.3";
18157 meta = {
18158 meta = {
18158 description = "Parse human-readable date/time text";
18159 description = "Parse human-readable date/time text";
@@ -18160,11 +18161,12 @@ in {
18160 license = licenses.asl20;
18161 license = licenses.asl20;
18163− buildInputs = with self; [ PyICU nose ];
18164+ buildInputs = with self; [ pytest pytestrunner ];
18165+ propagatedBuildInputs = with self; [ future ];
18165 src = pkgs.fetchurl {
18167 src = pkgs.fetchurl {
18166 url = "mirror://pypi/p/parsedatetime/${name}.tar.gz";
18168 url = "mirror://pypi/p/parsedatetime/${name}.tar.gz";
18167− sha256 = "0bdgyw6y3v7bcxlx0p50s8drxsh5bb5cy2afccqr3j90amvpii8p";
18169+ sha256 = "1vkrmd398s11h1zn3zaqqsiqhj9lwy1ikcg6irx2lrgjzjg3rjll";
@@ -18400,14 +18402,14 @@ in {
18401 pathlib2 = if !(pythonOlder "3.4") then null else buildPythonPackage rec {
18403 pathlib2 = if !(pythonOlder "3.4") then null else buildPythonPackage rec {
18402 name = "pathlib2-${version}";
18404 name = "pathlib2-${version}";
18403− version = "2.1.0";
18405+ version = "2.2.1";
18405 src = pkgs.fetchurl {
18407 src = pkgs.fetchurl {
18406 url = "mirror://pypi/p/pathlib2/${name}.tar.gz";
18408 url = "mirror://pypi/p/pathlib2/${name}.tar.gz";
18407− sha256 = "deb3a960c1d55868dfbcac98432358b92ba89d95029cddd4040db1f27405055c";
18409+ sha256 = "ce9007df617ef6b7bd8a31cd2089ed0c1fed1f7c23cf2bf1ba140b3dd563175d";
18410− propagatedBuildInputs = with self; [ six ];
18412+ propagatedBuildInputs = with self; [ six ] ++ optional (pythonOlder "3.5") scandir;
18412 meta = {
18414 meta = {
18413 description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems.";
18415 description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems.";
@@ -18418,12 +18420,12 @@ in {
18420 pathpy = buildPythonPackage rec {
18422 pathpy = buildPythonPackage rec {
18421− version = "8.1.2";
18423+ version = "10.1";
18422 name = "path.py-${version}";
18424 name = "path.py-${version}";
18424 src = pkgs.fetchurl {
18426 src = pkgs.fetchurl {
18425 url = "mirror://pypi/p/path.py/${name}.tar.gz";
18427 url = "mirror://pypi/p/path.py/${name}.tar.gz";
18426− sha256 = "ada95d117c4559abe64080961daf5badda68561afdd34c278f8ca20f2fa466d2";
18428+ sha256 = "8b0ee56f6c1421a9038823926ee8da354ce70933424b408558bc6b48496587f3";
18429 buildInputs = with self; [setuptools_scm pytestrunner pytest pkgs.glibcLocales ];
18431 buildInputs = with self; [setuptools_scm pytestrunner pytest pkgs.glibcLocales ];
@@ -18770,15 +18772,18 @@ in {
18772 pickleshare = buildPythonPackage rec {
18774 pickleshare = buildPythonPackage rec {
18773− version = "0.5";
18775+ version = "0.7.4";
18774 name = "pickleshare-${version}";
18776 name = "pickleshare-${version}";
18776 src = pkgs.fetchurl {
18778 src = pkgs.fetchurl {
18777 url = "mirror://pypi/p/pickleshare/${name}.tar.gz";
18779 url = "mirror://pypi/p/pickleshare/${name}.tar.gz";
18778− sha256 = "c0be5745035d437dbf55a96f60b7712345b12423f7d0951bd7d8dc2141ca9286";
18780+ sha256 = "84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b";
18781− propagatedBuildInputs = with self; [pathpy];
18783+ propagatedBuildInputs = with self; [pathpy] ++ optional (pythonOlder "3.4") pathlib2;
18785+ # No proper test suite
18783 meta = {
18788 meta = {
18784 description = "Tiny 'shelve'-like database with concurrency support";
18789 description = "Tiny 'shelve'-like database with concurrency support";
@@ -19270,10 +19275,10 @@ in {
19271 prompt_toolkit = buildPythonPackage rec {
19276 prompt_toolkit = buildPythonPackage rec {
19272 name = "prompt_toolkit-${version}";
19277 name = "prompt_toolkit-${version}";
19273− version = "1.0.9";
19278+ version = "1.0.13";
19275 src = pkgs.fetchurl {
19280 src = pkgs.fetchurl {
19276− sha256 = "172r15k9kwdw2lnajvpz1632dd16nqz1kcal1p0lq5ywdarj6rfd";
19281+ sha256 = "33d68ca09f76cd73287fde7df5748ffacf26a8238dd61ee81ac50860ea7c6776";
19277 url = "mirror://pypi/p/prompt_toolkit/${name}.tar.gz";
19282 url = "mirror://pypi/p/prompt_toolkit/${name}.tar.gz";
19279 checkPhase = ''
19284 checkPhase = ''
@@ -28170,10 +28175,10 @@ EOF
28172 pyzmq = buildPythonPackage rec {
28177 pyzmq = buildPythonPackage rec {
28173− name = "pyzmq-15.2.0";
28178+ name = "pyzmq-16.0.2";
28174 src = pkgs.fetchurl {
28179 src = pkgs.fetchurl {
28175 url = "mirror://pypi/p/pyzmq/${name}.tar.gz";
28180 url = "mirror://pypi/p/pyzmq/${name}.tar.gz";
28176− sha256 = "2dafa322670a94e20283aba2a44b92134d425bd326419b68ad4db8d0831a26ec";
28181+ sha256 = "0322543fff5ab6f87d11a8a099c4c07dd8a1719040084b6ce9162bcdf5c45c9d";
28178 buildInputs = with self; [ pkgs.zeromq3 pytest tornado ];
28183 buildInputs = with self; [ pkgs.zeromq3 pytest tornado ];
28179 propagatedBuildInputs = [ self.py ];
28184 propagatedBuildInputs = [ self.py ];