Merge pull request #19266 from NixOS/python-wip

Python package updates
This commit is contained in:
Frederik Rietdijk 2016-10-05 18:50:35 +02:00 committed by GitHub
commit 3631da6c20

View File

@ -1270,12 +1270,11 @@ in modules // {
});
attrs = buildPythonPackage (rec {
pname = "attrs";
version = "16.0.0";
name = "attrs-16.0.0";
name = "attrs-${version}";
version = "16.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/a/attrs/${name}.tar.gz";
sha256 = "1g4asv3hbx5aqz7hjzq3q6ss2cpv1rdv66sp5d21cdyjajj2fs6y";
sha256 = "136f2ec0f94ec77ff2990830feee965d608cab1e8922370e3abdded383d52001";
};
# Mac OS X needs clang for testing
@ -2615,7 +2614,7 @@ in modules // {
blaze = buildPythonPackage rec {
name = "blaze-${version}";
version = "0.10.1";
version = "0.10.2";
src = pkgs.fetchurl {
url = "mirror://pypi/b/blaze/${name}.tar.gz";
@ -5644,11 +5643,11 @@ in modules // {
decorator = buildPythonPackage rec {
name = "decorator-${version}";
version = "4.0.9";
version = "4.0.10";
src = pkgs.fetchurl {
url = "mirror://pypi/d/decorator/${name}.tar.gz";
sha256 = "1a5vwhflfd9sh3rfb40xlyipldgdzfff6brman57hqv3661jw0lh";
sha256 = "9c6e98edcb33499881b86ede07d9968c81ab7c769e28e9af24075f0a5379f070";
};
meta = {
@ -6961,12 +6960,12 @@ in modules // {
};
GitPython = buildPythonPackage rec {
version = "2.0.2";
version = "2.0.8";
name = "GitPython-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/G/GitPython/GitPython-${version}.tar.gz";
sha256 = "18842123a88rihgh84rmjabmbn3zq1jv0227ypcpsxc5smxzws6i";
sha256 = "7c03d1130f903aafba6ae5b89ccf8eb433a995cd3120cbb781370e53fc4eb222";
};
buildInputs = with self; [ mock nose ];
@ -7650,11 +7649,11 @@ in modules // {
jupyterlab = buildPythonPackage rec {
name = "jupyterlab-${version}";
version = "0.1.1";
version = "0.4.1";
src = pkgs.fetchurl {
url = "mirror://pypi/j/jupyterlab/${name}.tar.gz";
sha256 = "c1a08f4d1b2bb1bf06db090db30df988a22ffbfa05606e7eb026e364969388da";
sha256 = "91dc4d7dfb1e6ab97e28d6e3a2fc38f5f65d368201c00fd0ed077519258e67bb";
};
propagatedBuildInputs = with self; [ notebook ];
@ -11506,14 +11505,21 @@ in modules // {
geventhttpclient = buildPythonPackage rec {
name = "geventhttpclient-${version}";
version = "1.2.0";
version = "1.3.1";
src = pkgs.fetchurl {
url = "mirror://pypi/g/geventhttpclient/${name}.tar.gz";
sha256 = "0s1qd1qz0zyzksd5h38ynw06d1012h0k7z8522zhb6mzaq4144yz";
sha256 = "bd87af8854f5fb05738916c8973671f7035568aec69b7c842887d6faf9c0a01d";
};
propagatedBuildInputs = with self; [ gevent certifi backports_ssl_match_hostname_3_4_0_2 ];
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ gevent certifi six backports_ssl_match_hostname ];
# Several tests fail that require network
doCheck = false;
checkPhase = ''
py.test $out
'';
meta = {
homepage = http://github.com/gwik/geventhttpclient;
@ -12359,12 +12365,12 @@ in modules // {
};
ipykernel = buildPythonPackage rec {
version = "4.3.1";
version = "4.5.0";
name = "ipykernel-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/i/ipykernel/${name}.tar.gz";
sha256 = "0gycnxzq3nnmh6xlc24n3b4qc28gli0lw4a9yg2yzm74lgmd66c2";
sha256 = "245a798edb8fd751b95750d8645d736dd739a020e7fc7d5627dac4d1c35d8295";
};
buildInputs = with self; [ nose ] ++ optionals isPy27 [mock];
@ -12389,12 +12395,12 @@ in modules // {
};
ipyparallel = buildPythonPackage rec {
version = "5.0.1";
version = "5.2.0";
name = "ipyparallel-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/i/ipyparallel/${name}.tar.gz";
sha256 = "1cpydbm1k02y5m4grp0c1z5lbgkpp5f4xp3j5v49g9lmd70ikqs8";
sha256 = "d99e760f1a136b1c402755a4ab51a8d7cb87c892cccadf641948a5e886c8a455";
};
buildInputs = with self; [ nose ];
@ -12475,16 +12481,16 @@ in modules // {
ipywidgets = buildPythonPackage rec {
version = "4.1.1";
version = "5.2.2";
name = "ipywidgets-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/i/ipywidgets/${name}.tar.gz";
sha256 = "ceeb325e45ade9537c2d115fed9d522e5c6e90bb161592e2f0807375dc661028";
sha256 = "baf6098f054dd5eacc2934b8ea3bef908b81ca8660d839f1f940255a72c660d2";
};
buildInputs = with self; [ nose ];
propagatedBuildInputs = with self; [ipython ipykernel traitlets notebook];
propagatedBuildInputs = with self; [ipython ipykernel traitlets notebook widgetsnbextension ];
meta = {
description = "IPython HTML widgets for Jupyter";
@ -12778,12 +12784,12 @@ in modules // {
};
jupyter_client = buildPythonPackage rec {
version = "4.3.0";
version = "4.4.0";
name = "jupyter_client-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/j/jupyter_client/${name}.tar.gz";
sha256 = "70b2e88403835a1d54b83858783d9e5e5771fa4bb6f6904e0b5bb8cfde4b99dd";
sha256 = "c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee";
};
buildInputs = with self; [ nose ];
@ -12805,12 +12811,12 @@ in modules // {
};
jupyter_core = buildPythonPackage rec {
version = "4.1.1";
version = "4.2.0";
name = "jupyter_core-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/j/jupyter_core/${name}.tar.gz";
sha256 = "ae0e69435258126466c86cd989e465a9c334c50107ef4f257decc8693650bf4c";
sha256 = "44ec837a53bebf4e937112d3f9ccf31fee4f8db3e406dd0dd4f0378a354bed9c";
};
buildInputs = with self; [ pytest mock ];
@ -13965,29 +13971,22 @@ in modules // {
mitmproxy = buildPythonPackage rec {
baseName = "mitmproxy";
name = "${baseName}-${version}";
version = "0.14";
version = "0.17.1";
src = pkgs.fetchFromGitHub {
owner = "mitmproxy";
repo = "mitmproxy";
rev = "v${version}";
sha256 = "1zxw4yviryy0v53vhccgqb7f5d3fga16dy9kp1xwp6b59w0fcc2g";
sha256 = "0a50mkvm3zf9cbs0pf6bwy00bhmy4d1l9as8c9m0bgrk6hq7h53p";
};
propagatedBuildInputs = with self; [
pyopenssl pyasn1 urwid pillow lxml flask protobuf netlib click
pyopenssl pyasn1 urwid pillow lxml flask protobuf click
ConfigArgParse pyperclip blinker construct pyparsing html2text tornado
];
doCheck = false;
postInstall = ''
for prog in "$out/bin/"*; do
wrapProgram "$prog" \
--prefix PYTHONPATH : "$PYTHONPATH"
done
'';
meta = {
description = ''Man-in-the-middle proxy'';
homepage = "http://mitmproxy.org/";
@ -14898,30 +14897,6 @@ in modules // {
};
};
netlib = buildPythonPackage rec {
baseName = "netlib";
name = "${baseName}-${version}";
disabled = (!isPy27);
version = "0.14.0";
src = pkgs.fetchurl {
url = "mirror://pypi/n/netlib/${name}.tar.gz";
sha256 = "0xcfjym780wjr32p3g50w2gifqy3589898idzd3fwgj93akv04ng";
};
propagatedBuildInputs = with self; [ pyopenssl pyasn1 certifi passlib
ipaddress backports_ssl_match_hostname_3_4_0_2 hpack ];
doCheck = false;
meta = {
description = "Man-in-the-middle proxy";
homepage = "https://github.com/cortesi/netlib";
license = licenses.mit;
};
};
nevow = buildPythonPackage (rec {
name = "nevow-${version}";
version = "0.11.1";
@ -15242,12 +15217,12 @@ in modules // {
};
notebook = buildPythonPackage rec {
version = "4.2.2";
version = "4.2.3";
name = "notebook-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/n/notebook/${name}.tar.gz";
sha256 = "418ba230c9b2e7e739940cae9fb4625e10a63f038e9c95cf1a9b7a244256ba38";
sha256 = "39a9603d3fe88b60de2903680c965cf643acf2c16fb2c6bac1d905e1042b5851";
};
LC_ALL = "en_US.UTF-8";
@ -15513,10 +15488,10 @@ in modules // {
};
numpy_1_11 = self.buildNumpyPackage rec {
version = "1.11.1";
version = "1.11.2";
src = pkgs.fetchurl {
url = "mirror://pypi/n/numpy/numpy-${version}.tar.gz";
sha256 = "1kbpsnqfabpbczh3ly2d4jrwq2d1gqlshlpk5dm8bk3r77284h6w";
sha256 = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69";
};
};
@ -16585,11 +16560,11 @@ in modules // {
Kajiki = buildPythonPackage rec {
name = "Kajiki-${version}";
version = "0.5.2";
version = "0.5.5";
src = pkgs.fetchurl {
url = "mirror://pypi/K/Kajiki/${name}.tar.gz";
sha256 = "1ayhr4g5q2hhh50fd33dkb7l8z8n2hnnx3lmhivzg3paf47b3ssz";
sha256 = "effcae388e25c3358eb0bbd733448509d11a1ec500e46c69241fc673021f0517";
};
propagatedBuildInputs = with self; [
@ -17300,17 +17275,18 @@ in modules // {
inherit (pkgs.stdenv) isDarwin;
in buildPythonPackage rec {
name = "pandas-${version}";
version = "0.18.1";
version = "0.19.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pandas/${name}.tar.gz";
sha256 = "1ckpxrvvjj6zxmn68icd9hib8qcpx9b35f6izxnr25br5ilq7r6j";
sha256 = "4697606cdf023c6b7fcb74e48aaf25cf282a1a00e339d2d274cf1b663748805b";
};
LC_ALL = "en_US.UTF-8";
buildInputs = with self; [ nose pkgs.glibcLocales ] ++ optional isDarwin pkgs.libcxx;
propagatedBuildInputs = with self; [
cython
dateutil
scipy
numexpr
@ -22302,10 +22278,10 @@ in modules // {
};
scipy_0_18 = self.buildScipyPackage rec {
version = "0.18.0";
version = "0.18.1";
src = pkgs.fetchurl {
url = "mirror://pypi/s/scipy/scipy-${version}.tar.gz";
sha256 = "f01784fb1c2bc246d4211f2482ecf4369db5abaecb9d5afb9d94f6c59663286a";
sha256 = "8ab6e9c808bf2fb3e8576cd8cf07226d9cdc18b012c06d9708429a821ac6634e";
};
numpy = self.numpy;
};
@ -22333,12 +22309,12 @@ in modules // {
scikitlearn = buildPythonPackage rec {
name = "scikit-learn-${version}";
version = "0.17.1";
version = "0.18";
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
src = pkgs.fetchurl {
url = "mirror://pypi/s/scikit-learn/${name}.tar.gz";
sha256 = "9f4cf58e57d81783289fc503caaed1f210bab49b7a6f680bf3c04b1e0a96e5f0";
sha256 = "240009789d6495240b332e059cbd2499f4d2981c93873983c9e1d5189f90315f";
};
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
@ -22945,13 +22921,13 @@ in modules // {
};
Theano = buildPythonPackage rec {
name = "Theano-0.8.1";
name = "Theano-0.8.2";
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
src = pkgs.fetchurl {
url = "mirror://pypi/T/Theano/${name}.tar.gz";
sha256 = "17dikk94r8bzkxg976srqlhj5c7phs9gl837iabyfdpixkbrl79g";
sha256 = "7463c8f7ed1a787bf881f36d38a38607150186697e7ce7e78bfb94b7c6af8930";
};
#preCheck = ''
@ -25795,6 +25771,28 @@ in modules // {
};
};
widgetsnbextension = buildPythonPackage rec {
name = "widgetsnbextension-${version}";
version = "1.2.6";
src = pkgs.fetchurl {
url = "mirror://pypi/w/widgetsnbextension/${name}.tar.gz";
sha256 = "c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51";
};
propagatedBuildInputs = with self; [ notebook ];
# No tests in archive
doCheck = false;
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = http://ipython.org/;
license = self.ipywidgets.meta.license; # Build from same repo
maintainers = with maintainers; [ fridh ];
};
};
willie = buildPythonPackage rec {
name = "willie-${version}";
version = "5.5.1";
@ -27971,11 +27969,11 @@ in modules // {
uncertainties = buildPythonPackage rec {
name = "uncertainties-${version}";
version = "2.4.8.1";
version = "3.0.1";
src = pkgs.fetchurl {
url = "https://github.com/lebigot/uncertainties/archive/${version}.tar.gz";
sha256 = "1j5z0h5l3plsywsmwjpaggkr6rn5cjxw0lhkwgl6a8a25f8bz4pz";
url = "mirror://pypi/u/uncertainties/${name}.tar.gz";
sha256 = "de0765cac6911e5afa93ee941063a07b4a98dbd9c314c5eea4ab14bfff0054a4";
};
buildInputs = with self; [ nose numpy ];
@ -28397,16 +28395,17 @@ in modules // {
};
html2text = buildPythonPackage rec {
name = "html2text-2015.11.4";
disabled = ! isPy27;
name = "html2text-2016.9.19";
src = pkgs.fetchurl {
url = "mirror://pypi/h/html2text/${name}.tar.gz";
sha256 = "021pqcshxajhdy4whkawz95v98m8njv5lknzgac0sp8jzl01qls4";
sha256 = "554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55";
};
meta = {
description = "Turn HTML into equivalent Markdown-structured text";
homepage = https://github.com/Alir3z4/html2text/;
license = licenses.gpl3;
};
};