Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk 2021-02-26 11:12:59 +01:00
commit 10f6849376
193 changed files with 558 additions and 467 deletions

View file

@ -6,17 +6,6 @@ let
defaultOverrides = commonOverrides ++ [
(mkOverride "aiofiles" "0.5.0"
"98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af")
(self: super: {
py-cpuinfo = super.py-cpuinfo.overridePythonAttrs (oldAttrs: rec {
version = "7.0.0";
src = fetchFromGitHub {
owner = "workhorsy";
repo = "py-cpuinfo";
rev = "v${version}";
sha256 = "10qfaibyb2syiwiyv74l7d97vnmlk079qirgnw3ncklqjs0s3gbi";
};
});
})
];
python = python3.override {

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "Mako";
version = "1.1.3";
version = "1.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27";
sha256 = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab";
};
propagatedBuildInputs = [ markupsafe ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Pygments";
version = "2.7.2";
version = "2.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0";
sha256 = "df49d09b498e83c1a73128295860250b0b7edd4c723a32e9bc0d295c7c2ec337";
};
propagatedBuildInputs = [ docutils ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Rtree";
version = "0.9.4";
version = "0.9.7";
src = fetchPypi {
inherit pname version;
sha256 = "0i1zlyz6vczy3cgg7fan5hq9zzjm7s7zdzfh83ma8g9vq3i2gqya";
sha256 = "be8772ca34699a9ad3fb4cfe2cfb6629854e453c10b3328039301bbfc128ca3e";
};
propagatedBuildInputs = [ libspatialindex ];

View file

@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "accupy";
version = "0.3.3";
version = "0.3.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "a234c9897a683a6ade44f0bafa71196f122a61e3ebeacb5b813e7d139d54f3c7";
sha256 = "36506aca53154528997ac22aee6292c83da0f4850bb375c149512b5284bd4948";
};
buildInputs = [

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "adal";
version = "1.2.5";
version = "1.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "8003ba03ef04170195b3eddda8a5ab43649ef2c5f0287023d515affb1ccfcfc3";
sha256 = "08b94d30676ceb78df31bce9dd0f05f1bc2b6172e44c437cbf5b968a00ac6489";
};
propagatedBuildInputs = [ requests pyjwt dateutil ];

View file

@ -3,7 +3,7 @@
buildPythonPackage rec {
pname = "aniso8601";
version = "8.1.0";
version = "8.1.1";
meta = with lib; {
description = "Parses ISO 8601 strings.";
@ -17,6 +17,6 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "246bf8d3611527030889e6df970878969d3a2f760ba3eb694fa1fb10e6ce53f9";
sha256 = "be08b19c19ca527af722f2d4ba4dc569db292ec96f7de963746df4bb0bff9250";
};
}

View file

@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "ansible-runner";
version = "1.4.6";
version = "1.4.7";
src = fetchPypi {
inherit pname version;
sha256 = "53605de32f7d3d3442a6deb8937bf1d9c1f91c785e3f71003d22c3e63f85c71d";
sha256 = "1bb56f9061c3238d89ec8871bc842f5b8d0e868f892347e8455c98d5b6fa58a1";
};
checkInputs = [ pytest mock ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "appnope";
version = "0.1.0";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71";
sha256 = "dd83cd4b5b460958838f6eb3000c660b1f9caf2a5b1de4264e941512f603258a";
};
meta = {

View file

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "atpublic";
version = "2.1.1";
version = "2.1.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "fa1d48bcb85bbed90f6ffee6936578f65ff0e93aa607397bd88eaeb408bd96d8";
sha256 = "e0b274759bfbcb6eeb7c7b44a7a46391990a43ac77aa55359b075765b54d9f5d";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "autopep8";
version = "1.5.4";
version = "1.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "d21d3901cb0da6ebd1e83fc9b0dfbde8b46afc2ede4fe32fbda0c7c6118ca094";
sha256 = "cae4bc0fb616408191af41d062d7ec7ef8679c7f27b068875ca3a9e2878d5443";
};
propagatedBuildInputs = [ pycodestyle toml ];

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "bleach";
version = "3.2.1";
version = "3.2.3";
src = fetchPypi {
inherit pname version;
sha256 = "52b5919b81842b1854196eaae5ca29679a2f2e378905c346d3ca8227c2c66080";
sha256 = "c6ad42174219b64848e2e2cd434e44f56cd24a93a9b4f8bc52cfed55a1cd5aad";
};
checkInputs = [ pytest pytestrunner ];

View file

@ -4,13 +4,13 @@
buildPythonPackage rec {
pname = "CairoSVG";
version = "2.5.0";
version = "2.5.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "3fc50d10f0cbef53b3ee376a97a88d81bbd9e2f190f7e63de08431a1a08e9afa";
sha256 = "bfa0deea7fa0b9b2f29e41b747a915c249dbca731a4667c2917e47ff96e773e0";
};
propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "celery";
version = "5.0.2";
version = "5.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "012c814967fe89e3f5d2cf49df2dba3de5f29253a7f4f2270e8fce6b901b4ebf";
sha256 = "f4efebe6f8629b0da2b8e529424de376494f5b7a743c321c8a2ddc2b1414921c";
};
postPatch = ''

View file

@ -2,11 +2,11 @@
if isPyPy then null else buildPythonPackage rec {
pname = "cffi";
version = "1.14.4";
version = "1.14.5";
src = fetchPypi {
inherit pname version;
sha256 = "1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c";
sha256 = "fd78e5fee591709f32ef6edb9a015b4aa1a5022598e36227500c8f4e02328d9c";
};
outputs = [ "out" "dev" ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cmarkgfm";
version = "0.5.0";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "7a5131a78836e55dcdb1f2c5f17bbaa40e5f83c86a205de1b71a298928e1391f";
sha256 = "e7d65b90645faa55c28886d01f658235af08b4c4edbf9d959518a17007dd20b4";
};
propagatedBuildInputs = [ cffi ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "codecov";
version = "2.1.10";
version = "2.1.11";
src = fetchPypi {
inherit pname version;
sha256 = "d30ad6084501224b1ba699cbf018a340bb9553eb2701301c14133995fdd84f33";
sha256 = "6cde272454009d27355f9434f4e49f238c0273b216beda8472a65dc4957f473b";
};
checkInputs = [ unittest2 ]; # Tests only

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "coverage";
version = "5.3";
version = "5.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "280baa8ec489c4f542f8940f9c4c2181f0306a8ee1a54eceba071a449fb870a0";
sha256 = "38f16b1317b8dd82df67ed5daa5f5e7c959e46579840d77a67a4ceb9cef0a50b";
};
# No tests in archive

View file

@ -17,13 +17,13 @@ assert (!blas.isILP64) && (!lapack.isILP64);
buildPythonPackage rec {
pname = "cvxopt";
version = "1.2.5";
version = "1.2.6";
disabled = isPyPy; # hangs at [translation:info]
src = fetchPypi {
inherit pname version;
sha256 = "0widrfxr0x0cyg72ibkv7fdzkvmf5mllchq1x4fs2a36plv8rv4l";
sha256 = "a4c433706fd0ad9d47e7f222773a7f7601766fb8e74b633524b3c3fce29aa73e";
};
buildInputs = [ blas lapack ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "cx_Freeze";
version = "6.4.1";
version = "6.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "043513b85e33038e38cc0571cea1f3ee8044ec083891c9a5dad1d436894424ea";
sha256 = "fe0af7c658442402bcd209f993219a6ab98a951459495b4a141eb03b552a1c68";
};
disabled = pythonOlder "3.5";

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "cypari2";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.1.1";
version = "2.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "df1ef62e771ec36e5a456f5fc8b51bc6745b70f0efdd0c7a30c3f0b5f1fb93db";
sha256 = "03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a";
};
# This differs slightly from the default python installPhase in that it pip-installs

View file

@ -8,12 +8,12 @@
}:
buildPythonPackage rec {
version = "0.7.1";
version = "0.7.2";
pname = "dask-jobqueue";
src = fetchPypi {
inherit pname version;
sha256 = "d32ddf3e3c7db29ace102037fa5f61c8db2d945176454dc316a6ffdb8bbfe88b";
sha256 = "1767f4146b2663d9d2eaef62b882a86e1df0bccdb8ae68ae3e5e546aa6796d35";
};
checkInputs = [ pytest ];

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-mailman3";
version = "1.3.4";
version = "1.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "7e37b68bb47e9ae196ca19018f576e2c8c90189c5bd82d4e549d0c2f2f3f35fb";
sha256 = "368595b3c2623edeaca5beea5f12887424c384edd6f7052cf442443075084313";
};
propagatedBuildInputs = [

View file

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "django_evolution";
version = "2.1";
version = "2.1.2";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "997efdc7f27248fd3c5e9eeccae1cfee046dfead037b171d30cbe6e91c9ca3d7";
sha256 = "28bad07b5e29a0ea4bd9727c6927cbee25d349d21606a553a0c748fbee0c073c";
};
propagatedBuildInputs = [ django ];

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "docker";
version = "4.4.1";
version = "4.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BgSnRxnV0t5Dh1OTS3Vb/NpvYvSbjkswlppLCiqKEiA=";
sha256 = "de5753b7f6486dd541a98393e423e387579b8974a5068748b83f852cc76a89d6";
};
nativeBuildInputs = lib.optional isPy27 mock;

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "docrep";
version = "0.3.1";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "ef6e7433716c0d2c59889aae8bff800b48e82d7e759dfd934b93100dc7bccaa1";
sha256 = "ed8a17e201abd829ef8da78a0b6f4d51fb99a4cbd0554adbed3309297f964314";
};
checkInputs = [ pytest ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dpkt";
version = "1.9.4";
version = "1.9.5";
src = fetchPypi {
inherit pname version;
sha256 = "f4e579cbaf6e2285ebf3a9e84019459b4367636bac079ba169527e582fca48b4";
sha256 = "141cab4defcb4ead83e664765ebb045f55dbe73e17d617acafd6eaf368d7c55e";
};
meta = with lib; {

View file

@ -13,12 +13,12 @@
}:
buildPythonPackage rec {
version = "0.20.18";
version = "0.20.19";
pname = "dulwich";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ATE4f5uZrsxprJhlWzkx8q1D2lPTpj4FD6Om1iYKxVQ=";
sha256 = "7a5c976c5ce737ec207be1815c654351bf1d0387fc6480ed32cd58c9d0e2cda9";
};
LC_ALL = "en_US.UTF-8";

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "easygui";
version = "0.98.1";
version = "0.98.2";
src = fetchPypi {
inherit pname version;
sha256 = "1zmvmwgxyzvm83818skhn8b4wrci4kmnixaax8q3ia5cn7xrmj6v";
sha256 = "073f728ca88a77b74f404446fb8ec3004945427677c5618bd00f70c1b999fef2";
};
doCheck = false; # No tests available

View file

@ -18,11 +18,11 @@ in
buildPythonPackage rec {
pname = "entrance";
version = "1.1.14";
version = "1.1.15";
src = fetchPypi {
inherit pname version;
sha256 = "d1fc9d128ce05837d7e149413fbec71bcf84d9ca510accea56761d3f4bd0a021";
sha256 = "5b354ecf03226edae567511c8a8db95038cc9c3da20fcfcf5546d1e197eb3aef";
};
# The versions of `sanic` and `websockets` in nixpkgs only support 3.6 or later

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "Eve";
version = "1.1.4";
version = "1.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "3a057277bba7144a0c15ab8c737dc8a1002e87e7284847aa011ce122e353418e";
sha256 = "5647ee7dd6e063b967276e49f564cd4f96decdd0a218482bdf86c404a2be1fbf";
};
propagatedBuildInputs = [

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "eventlet";
version = "0.30.0";
version = "0.30.1";
src = fetchPypi {
inherit pname version;
sha256 = "19d6f3aa9525221ba60d0ec31b570508021af7ad5497fb77f77501fe9a7c34d3";
sha256 = "d00649a7e17de0bcddff1a96311ed3baf1b295b3223d4b71aceafe7b45e6d6f8";
};
propagatedBuildInputs = [ dnspython greenlet monotonic six ]

View file

@ -2,22 +2,22 @@
, buildPythonPackage
, isPyPy
, fetchPypi
, pytest
, setuptools_scm
, pytestCheckHook
, setuptools-scm
, apipkg
}:
buildPythonPackage rec {
pname = "execnet";
version = "1.7.1";
version = "1.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50";
sha256 = "sha256-tzxVZeUX8kti3qilzqwXjGYcQwnTqgw+QghWwHLEEbQ=";
};
checkInputs = [ pytest ];
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ pytestCheckHook ];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ apipkg ];
# remove vbox tests
@ -29,15 +29,13 @@ buildPythonPackage rec {
${lib.optionalString isPyPy "rm -v testing/test_multi.py"}
'';
checkPhase = ''
py.test testing
'';
pythonImportsCheck = [ "execnet" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Rapid multi-Python deployment";
license = licenses.gpl2;
description = "Distributed Python deployment and communication";
license = licenses.mit;
homepage = "https://execnet.readthedocs.io/";
maintainers = with maintainers; [ nand0p ];
};

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "Flask-JWT-Extended";
version = "3.25.0";
version = "3.25.1";
src = fetchPypi {
inherit pname version;
sha256 = "b2e4dba91661e4697b30269106386c2b29e416a00d9ff66b26c462edddc10078";
sha256 = "bbf4467f41c56cf1fd8a5870d2556f419c572aad2b4085757581c3f9b4d7767a";
};
propagatedBuildInputs = [ dateutil flask pyjwt werkzeug ];

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "flower";
version = "0.9.5";
version = "0.9.7";
src = fetchPypi {
inherit pname version;
sha256 = "171zckhk9ni14f1d82wf62hhciy0gx13fd02sr9m9qlj50fnv4an";
sha256 = "cf27a254268bb06fd4972408d0518237fcd847f7da4b4cd8055e228150ace8f3";
};
postPatch = ''

View file

@ -5,12 +5,12 @@
}:
buildPythonPackage rec {
version = "0.1.3";
version = "0.1.4";
pname = "forbiddenfruit";
src = fetchPypi {
inherit pname version;
sha256 = "1188a07cc24a9bd2c529dad06490b80a6fc88cde968af4d7861da81686b2cc8c";
sha256 = "e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253";
};
checkInputs = [ nose ];

View file

@ -20,11 +20,11 @@
buildPythonPackage rec {
pname = "fs";
version = "2.4.11";
version = "2.4.12";
src = fetchPypi {
inherit pname version;
sha256 = "cc99d476b500f993df8ef697b96dc70928ca2946a455c396a566efe021126767";
sha256 = "c10ba188b14d6213a1ca950efd004931abbfa64b294c80bbf1045753831bf42f";
};
buildInputs = [ glibcLocales ];

View file

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "geventhttpclient";
version = "1.4.4";
version = "1.4.5";
src = fetchPypi {
inherit pname version;
sha256 = "f59e5153f22e4a0be27b48aece8e45e19c1da294f8c49442b1c9e4d152c5c4c3";
sha256 = "3f0ab18d84ef26ba0c9df73ae2a41ba30a46072b447f2e36c740400de4a63d44";
};
buildInputs = [ pytest ];

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "gipc";
version = "1.1.0";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "06116628e9cb7b2c34c8f248d0e4859fa5943e1e07381ad2b234ae9c7ed6f4cc";
sha256 = "f9a9d557e65e17bab8d7ff727ee3f1935e25bd52b01e63c23c7b3b52415728a5";
};
propagatedBuildInputs = [ gevent ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "google-cloud-monitoring";
version = "2.0.0";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "07r0y995fin6cbnqlhmd38fv3pfhhqyw04l7nr38sldrd82gmsqx";
sha256 = "639408cac9660b6c7c2324bf1b2461c9c8e338518b9ebb7ebfac833a61d753eb";
};
propagatedBuildInputs = [ libcst google-api-core proto-plus ];

View file

@ -16,12 +16,12 @@
}:
buildPythonPackage rec {
version = "0.4.1";
version = "0.4.3";
pname = "gpsoauth";
src = fetchPypi {
inherit pname version;
sha256 = "1c3f45824d45ac3d06b9d9a0c0eccafe1052505d31ac9a698aef8b00fb0dfc37";
sha256 = "b38f654450ec55f130c9414d457355d78030a2c29c5ad8f20b28304a9fc8fad7";
};
propagatedBuildInputs = [ cffi cryptography enum34 idna ipaddress ndg-httpsclient pyopenssl pyasn1 pycparser pycryptodomex requests six ];

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "gradient";
version = "1.4.0";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "15s21945hg342195ig7nchap5mdnsw931iis92pr7hy8ff0rks3n";
sha256 = "2ed10db306d4c8632b7d04d71d44a04331a6e80e5ebab7296a98e67e8a50fb71";
};
postPatch = ''

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "hdbscan";
version = "0.8.26";
version = "0.8.27";
src = fetchPypi {
inherit pname version;
sha256 = "0zlj2y42f0hrklviv21j9m895259ad8273dxgh7b44702781r9l1";
sha256 = "e3a418d0d36874f7b6a1bf0b7461f3857fc13a525fd48ba34caed2fe8973aa26";
};
checkInputs = [ nose ];

View file

@ -19,12 +19,12 @@
buildPythonPackage rec {
pname = "hickle";
version = "4.0.1";
version = "4.0.4";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "fcf2c4f9e4b7f0d9dae7aa6c59a58473884017875d3b17898d56eaf8a9c1da96";
sha256 = "0d35030a76fe1c7fa6480088cde932689960ed354a2539ffaf5f3c90c578c06f";
};
postPatch = ''

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "howdoi";
version = "2.0.10";
version = "2.0.12";
src = fetchPypi {
inherit pname version;
sha256 = "e561e3c5d4f39ab1f86e9f24bb0b2803ee6e312de61e90907f739aa638f35215";
sha256 = "bab3eab349ec0b534cf1b05a563d45e4d301b914c53a7f2c3446fdcc60497c93";
};
postPatch = ''

View file

@ -1,21 +1,53 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, mock
, pyparsing
, pytest-forked
, pytest-randomly
, pytest-timeout
, pytest-xdist
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "httplib2";
version = "0.18.1";
version = "0.19.0";
src = fetchPypi {
inherit pname version;
sha256 = "8af66c1c52c7ffe1aa5dc4bcd7c769885254b0756e6e69f953c7f0ab49a70ba3";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "04y2bc2yv3q84llxnafqrciqxjqpxbrd8glbnvvr16c20fwc3r4q";
};
# Needs setting up
doCheck = false;
postPatch = ''
sed -i "/--cov/d" setup.cfg
'';
propagatedBuildInputs = [ pyparsing ];
checkInputs = [
mock
pytest-forked
pytest-randomly
pytest-timeout
pytest-xdist
six
pytestCheckHook
];
# Don't run tests for Python 2.7
doCheck = !isPy27;
pytestFlagsArray = [ "--ignore python2" ];
pythonImportsCheck = [ "httplib2" ];
meta = with lib; {
homepage = "https://github.com/httplib2/httplib2";
description = "A comprehensive HTTP client library";
homepage = "https://httplib2.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "httpretty";
version = "1.0.3";
version = "1.0.5";
# drop this for version > 0.9.7
# Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394
@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "9335cbd8f38745e0e2dc4755d8932a77d378d93e15804969504b1e6b568d613c";
sha256 = "e53c927c4d3d781a0761727f1edfad64abef94e828718e12b672a678a8b3e0b5";
};
propagatedBuildInputs = [ six ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "hvac";
version = "0.10.7";
version = "0.10.8";
src = fetchPypi {
inherit pname version;
sha256 = "6ee2ba6002f11151472fa873b6637d902fc6045a2193aea08b39ae8147c230ba";
sha256 = "cd74138994b1b99cdb75d34aadfd900352b3170bfc31c5e4cc0ff63eaa731cf9";
};
propagatedBuildInputs = [ requests six ];

View file

@ -1,7 +1,14 @@
{ lib, buildPythonPackage, fetchFromGitHub
, isPy3k, attrs, coverage, enum34, pexpect
, doCheck ? true, pytest, pytest_xdist, flaky, mock
{ lib
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
, attrs
, pexpect
, doCheck ? true
, pytestCheckHook
, pytest-xdist
, sortedcontainers
, tzdata
}:
buildPythonPackage rec {
# https://hypothesis.readthedocs.org/en/latest/packaging.html
@ -10,36 +17,40 @@ buildPythonPackage rec {
# pytz fake_factory django numpy pytest
# If you need these, you can just add them to your environment.
version = "5.30.0";
pname = "hypothesis";
version = "5.49.0";
# Use github tarballs that includes tests
src = fetchFromGitHub {
owner = "HypothesisWorks";
repo = "hypothesis-python";
rev = "hypothesis-python-${version}";
sha256 = "0fmc4jfaksr285fjhp18ibj2rr8cxmbd0pwx370r5wf8jnhm6jb3";
sha256 = "1lr9a93vdx70s9i1zazazif5hy8fbqhvwqq402ygpf53yw4lgi2w";
};
postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
propagatedBuildInputs = [
attrs
coverage
sortedcontainers
] ++ lib.optional (!isPy3k) enum34;
];
checkInputs = [ pytestCheckHook pytest-xdist pexpect ]
++ lib.optional (pythonAtLeast "3.9") tzdata;
checkInputs = [ pytest pytest_xdist flaky mock pexpect ];
inherit doCheck;
checkPhase = ''
rm tox.ini # This file changes how py.test runs and breaks it
py.test tests/cover
# This file changes how pytest runs and breaks it
preCheck = ''
rm tox.ini
'';
pytestFlagsArray = [ "tests/cover" ];
meta = with lib; {
description = "A Python library for property based testing";
homepage = "https://github.com/HypothesisWorks/hypothesis";
license = licenses.mpl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, hypothesis, lark-parser, libcst, black, parso, pytestCheckHook, pytest-cov, pytest-xdist }:
buildPythonPackage rec {
pname = "hypothesmith";
version = "0.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+f8EexXE7TEs49pX6idXD4bWtTzhKvnyXlnmV2oAQQo=";
};
propagatedBuildInputs = [ hypothesis lark-parser libcst ];
checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ];
pythonImportsCheck = [ "hypothesmith" ];
meta = with lib; {
description = "Hypothesis strategies for generating Python programs, something like CSmith";
homepage = "https://github.com/Zac-HD/hypothesmith";
license = licenses.mpl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "importlib_resources";
version = "3.3.0";
version = "3.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "7b51f0106c8ec564b1bef3d9c588bc694ce2b92125bbb6278f4f2f5b54ec3592";
sha256 = "0ed250dbd291947d1a298e89f39afcc477d5a6624770503034b72588601bcc05";
};
nativeBuildInputs = [ setuptools_scm toml ];

View file

@ -23,12 +23,12 @@
buildPythonPackage rec {
pname = "intake";
version = "0.6.0";
version = "0.6.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0c284abeb74927a7366dcab6cefc010c4d050365b8af61c37326a2473a490a4e";
sha256 = "f09800203fcaf1512f9234e54dbd07ec2b5217aafd21716385725ec052f5a52e";
};
propagatedBuildInputs = [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "iso8601";
version = "0.1.13";
version = "0.1.14";
src = fetchPypi {
inherit pname version;
sha256 = "f7dec22af52025d4526be94cc1303c7d8f5379b746a3f54a8c8446384392eeb1";
sha256 = "8aafd56fa0290496c5edbb13c311f78fa3a241f0853540da09d9363eae3ebd79";
};
checkInputs = [ pytest ];

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "jaraco.classes";
version = "3.1.0";
version = "3.1.1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3";
sha256 = "92bf5d4e6957b17f21034c956dc90977f8ef496c3919ccb165f457f0e2f63cac";
};
pythonNamespaces = [ "jaraco" ];

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "Jinja2";
version = "2.11.2";
version = "2.11.3";
src = fetchPypi {
inherit pname version;
sha256 = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0";
sha256 = "a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6";
};
checkInputs = [ pytest ];

View file

@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "joblib";
version = "0.17.0";
disabled = pythonOlder "3.6";
version = "1.0.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "9e284edd6be6b71883a63c9b7f124738a3c16195513ad940eae7e3438de885d5";
sha256 = "092bnvr724cfvka8267z687bf086fvm7i1hwslkyrzf1g836dn3s";
};
checkInputs = [ sphinx numpydoc pytestCheckHook ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "jq";
version = "1.1.1";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "62d649c4f6f26ed91810c8db075f5fe05319c3dc99dbebcd2d31b0b697a4592e";
sha256 = "77e747c6ad10ce65479f5f9064ab036483bf307bf71fdd7d6235ef895fcc506e";
};
patches = [ ./jq-py-setup.patch ];

View file

@ -2,14 +2,14 @@
buildPythonApplication rec {
pname = "jsbeautifier";
version = "1.13.0";
version = "1.13.5";
propagatedBuildInputs = [ six editorconfig ];
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
sha256 = "f5565fbcd95f79945e124324815e586ae0d2e43df5af82a4400390e6ea789e8b";
sha256 = "4532a6bc85ba91ffc542b55d65cd13cedc971a934f26f51ed56d4c680b3fbe66";
};
meta = with lib; {

View file

@ -9,11 +9,11 @@
buildPythonPackage rec {
pname = "jsonpickle";
version = "1.4.1";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "e8d4b7cd0bd6826001a74377df1079a76ad8bae0f909282de2554164c837c8ba";
sha256 = "c9b99b28a9e6a3043ec993552db79f4389da11afcb1d0246d93c79f4b5e64062";
};
checkInputs = [ pytest ];

View file

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "jupyter_client";
version = "6.1.7";
version = "6.1.11";
src = fetchPypi {
inherit pname version;
sha256 = "49e390b36fe4b4226724704ea28d9fb903f1a3601b6882ce3105221cd09377a1";
sha256 = "649ca3aca1e28f27d73ef15868a7c7f10d6e70f761514582accec3ca6bb13085";
};
propagatedBuildInputs = [

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "jupyter_core";
version = "4.7.0";
version = "4.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "aa1f9496ab3abe72da4efe0daab0cb2233997914581f9a071e07498c6add8ed3";
sha256 = "79025cb3225efcd36847d0840f3fc672c0abd7afd0de83ba8a1d3837619122b4";
};
checkInputs = [ pytest mock glibcLocales nose ];

View file

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "ledgerblue";
version = "0.1.34";
version = "0.1.35";
src = fetchPypi {
inherit pname version;
sha256 = "f9553d496fbc6b612d98cc9db2f1648c1bcb63939c988ee1520e8fcb9bd77b24";
sha256 = "44fbd8fcf62430a6b84d4e826a9ef7fc21c77a7d8ff275f3952d6086ef06d076";
};
propagatedBuildInputs = [

View file

@ -1,9 +1,22 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, black, isort
, pytestCheckHook, pyyaml, typing-extensions, typing-inspect, dataclasses }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, hypothesis
, doCheck ? true
, dataclasses
, hypothesmith
, pytestCheckHook
, pyyaml
, typing-extensions
, typing-inspect
, black
, isort
}:
buildPythonPackage rec {
pname = "libcst";
version = "0.3.13";
version = "0.3.17";
# Some files for tests missing from PyPi
# https://github.com/Instagram/LibCST/issues/331
@ -11,25 +24,21 @@ buildPythonPackage rec {
owner = "instagram";
repo = pname;
rev = "v${version}";
sha256 = "0pbddjrsqj641mr6zijk2phfn15dampbx268zcws4bhhhnrxlj65";
sha256 = "sha256-mlSeB9OjCiUVYwcPYNrQdlfcj9DV/+wqVWt91uFsQsU=";
};
disabled = pythonOlder "3.6";
propagatedBuildInputs = [ pyyaml typing-inspect ]
propagatedBuildInputs = [ hypothesis typing-inspect pyyaml ]
++ lib.optional (pythonOlder "3.7") dataclasses;
checkInputs = [ black isort pytestCheckHook ];
checkInputs = [ black hypothesmith isort pytestCheckHook ];
inherit doCheck;
# https://github.com/Instagram/LibCST/issues/346
# https://github.com/Instagram/LibCST/issues/347
preCheck = ''
python -m libcst.codegen.generate visitors
python -m libcst.codegen.generate return_types
rm libcst/tests/test_fuzz.py
rm libcst/tests/test_pyre_integration.py
rm libcst/metadata/tests/test_full_repo_manager.py
rm libcst/metadata/tests/test_type_inference_provider.py
'';
pythonImportsCheck = [ "libcst" ];
@ -39,6 +48,6 @@ buildPythonPackage rec {
"A Concrete Syntax Tree (CST) parser and serializer library for Python.";
homepage = "https://github.com/Instagram/libcst";
license = with licenses; [ mit asl20 psfl ];
maintainers = with maintainers; [ maintainers.ruuda ];
maintainers = with maintainers; [ ruuda SuperSandro2000 ];
};
}

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "locket";
version = "0.2.0";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz";
sha256 = "3e1faba403619fe201552f083f1ecbf23f550941bc51985ac6ed4d02d25056dd";
};
buildInputs = [ pytest ];

View file

@ -20,14 +20,14 @@ assert enableTk -> (tcl != null)
assert enableQt -> pyqt5 != null;
buildPythonPackage rec {
version = "3.3.3";
version = "3.3.4";
pname = "matplotlib";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec";
sha256 = "3e477db76c22929e4c6876c44f88d790aacdf3c3f8f3a90cb1975c0bf37825b0";
};
XDG_RUNTIME_DIR = "/tmp";

View file

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "mautrix";
version = "0.8.12";
version = "0.8.16";
src = fetchPypi {
inherit pname version;
sha256 = "471684d40cbc2f7db345f2f809553b221a34d1c81e04bcdcb08a2832f140db1e";
sha256 = "ccaa1691affa5f257e13d61f7c46088ff0affdd782331b01bfdcbd0b3eb5e10e";
};
propagatedBuildInputs = [

View file

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "mock";
version = "4.0.2";
version = "4.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72";
sha256 = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc";
};
propagatedBuildInputs = [ six pbr ] ++ lib.optionals isPy27 [ funcsigs ];

View file

@ -17,11 +17,11 @@
buildPythonPackage rec {
pname = "mocket";
version = "3.9.39";
version = "3.9.40";
src = fetchPypi {
inherit pname version;
sha256 = "1mbcgfy1vfwwzn54vkq8xmfzdyc28brfpqk4d55r3a6abwwsn6a4";
sha256 = "dbe4349a0ed30ed0c5d04684dd5d98517f8d1e4585fe0da4832747e2f01f3c18";
};
propagatedBuildInputs = [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "murmurhash";
version = "1.0.4";
version = "1.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "422084ac1fe994cb7c893689c600923dee4e2c3fc74e832f7d9a8d6fdcc362d5";
sha256 = "98ec9d727bd998a35385abd56b062cf0cca216725ea7ec5068604ab566f7e97f";
};
postPatch = ''

View file

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "natsort";
version = "7.1.0";
version = "7.1.1";
checkInputs = [
pytest
@ -27,7 +27,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "33f3f1003e2af4b4df20908fe62aa029999d136b966463746942efbfc821add3";
sha256 = "00c603a42365830c4722a2eb7663a25919551217ec09a243d3399fa8dd4ac403";
};
# Does not support Python 2

View file

@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "nbclient";
version = "0.5.1";
version = "0.5.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "01e2d726d16eaf2cde6db74a87e2451453547e8832d142f73f72fddcd4fe0250";
sha256 = "0ed6e5700ad18818030a3a5f0f201408c5972d8e38793840cd9339488fd9f7c4";
};
inherit doCheck;

View file

@ -3,13 +3,13 @@
}:
buildPythonPackage rec {
pname = "netCDF4";
version = "1.5.5.1";
version = "1.5.6";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "d957e55a667d1fc651ddef22fea10ded0f142b7d9dbbf4d08c0012d32f445abd";
sha256 = "7577f4656af8431b2fa6b6797acb45f81fa1890120e9123b3645e14765da5a7c";
};
checkInputs = [ pytest ];

View file

@ -27,12 +27,12 @@
buildPythonPackage rec {
pname = "notebook";
version = "6.1.5";
version = "6.1.6";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "3db37ae834c5f3b6378381229d0e5dfcbfb558d08c8ce646b1ad355147f5e91d";
sha256 = "cf40d4f81541401db5a2fda1707ca7877157abd41f04ef7b88f02b67f3c61791";
};
LC_ALL = "en_US.utf8";

View file

@ -13,12 +13,12 @@
buildPythonPackage rec {
pname = "numcodecs";
version = "0.7.2";
version = "0.7.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "4a038064d5604e6181a64db668d7b700d9ae87e4041984c04cbf0042469664b0";
sha256 = "022b12ad83eb623ec53f154859d49f6ec43b15c36052fa864eaf2d9ee786dd85";
};
nativeBuildInputs = [

View file

@ -4,15 +4,15 @@
, buildPythonPackage
, gfortran
, hypothesis
, pytest_5
, pytest
, blas
, lapack
, writeTextFile
, isPyPy
, cython
, setuptoolsBuildHook
, fetchpatch
}:
, pythonOlder
}:
assert (!blas.isILP64) && (!lapack.isILP64);
@ -40,31 +40,26 @@ let
};
in buildPythonPackage rec {
pname = "numpy";
version = "1.19.4";
version = "1.20.1";
format = "pyproject.toml";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512";
sha256 = "02m6sms6wb4flfg8y4h0msan4y7w7qgfqxhdk21lcabhm2339iiv";
};
nativeBuildInputs = [ gfortran cython setuptoolsBuildHook ];
buildInputs = [ blas lapack ];
patches = [
# For compatibility with newer pytest
(fetchpatch {
url = "https://github.com/numpy/numpy/commit/ba315034759fbf91c61bb55390edc86e7b2627f3.patch";
sha256 = "F2P5q61CyhqsZfwkLmxb7A9YdE+43FXLbQkSjop2rVY=";
})
] ++ lib.optionals python.hasDistutilsCxxPatch [
patches = lib.optionals python.hasDistutilsCxxPatch [
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585
# Patching of numpy.distutils is needed to prevent it from undoing the
# patch to distutils.
./numpy-distutils-C++.patch
];
nativeBuildInputs = [ gfortran cython setuptoolsBuildHook ];
buildInputs = [ blas lapack ];
# we default openblas to build with 64 threads
# if a machine has more than 64 threads, it will segfault
# see https://github.com/xianyi/OpenBLAS/issues/2993
@ -83,7 +78,7 @@ in buildPythonPackage rec {
doCheck = !isPyPy; # numpy 1.16+ hits a bug in pypy's ctypes, using either numpy or pypy HEAD fixes this (https://github.com/numpy/numpy/issues/13807)
checkInputs = [
pytest_5 # pytest 6 will error: "module is already imported: hypothesis"
pytest
hypothesis
];

View file

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "nunavut";
version = "1.0.1";
version = "1.0.2";
disabled = pythonOlder "3.5"; # only python>=3.5 is supported
src = fetchPypi {
inherit pname version;
sha256 = "1gvs3fx2l15y5ffqsxxjfa4p1ydaqbq7qp5nsgb8jbz871358jxm";
sha256 = "c6fe0a1b92c44bb64b2427f944fee663fe1aaf3d4d4080d04ad9c212b40a8763";
};
propagatedBuildInputs = [

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "onnx";
version = "1.8.0";
version = "1.8.1";
# Due to Protobuf packaging issues this build of Onnx with Python 2 gives
# errors on import.
@ -26,7 +26,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "5f787fd3ce1290e12da335237b3b921152157e51aa09080b65631b3ce3fcc50c";
sha256 = "9d65c52009a90499f8c25fdfe5acda3ac88efe0788eb1d5f2575a989277145fb";
};
nativeBuildInputs = [ cmake ];

View file

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "openpyxl";
version = "3.0.5";
version = "3.0.6";
disabled = isPy27; # 2.6.4 was final python2 release
src = fetchPypi {
inherit pname version;
sha256 = "18e11f9a650128a12580a58e3daba14e00a11d9e907c554a17ea016bf1a2c71b";
sha256 = "b229112b46e158b910a5d1b270b212c42773d39cab24e8db527f775b82afc041";
};
checkInputs = [ pytest ];

View file

@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "packaging";
version = "20.7";
version = "20.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "Ba87uF0yA3fbKBzyVKsFDhp+vL9UEGhamkB+GKH4EjY=";
sha256 = "sha256-eFmBhacAikcNZFJqgFnemqpEkjjygPyetrE7psQQkJM=";
};
nativeBuildInputs = [

View file

@ -28,11 +28,11 @@
buildPythonPackage rec {
pname = "pandas";
version = "1.1.5";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "06vhk75hmzgv1sfbjzgnsw9x10h7y6bd6s6z7d6lfnn7wcgc83zi";
sha256 = "14ed84b463e9b84c8ff9308a79b04bf591ae3122a376ee0f62c68a1bd917a773";
};
nativeBuildInputs = [ cython ];

View file

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "param";
version = "1.10.0";
version = "1.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "a284c1b42aff6367e8eea2f649d4f3f70a9f16c6f17d8ad672a31ff36089f995";
sha256 = "1f0f1133fbadcd2c5138e579b9934e29fd00f803af01d9bf6f9e6b80ecf1999b";
};
checkInputs = [ flake8 nose ];

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "parameterized";
version = "0.7.4";
version = "0.7.5";
src = fetchPypi {
inherit pname version;
sha256 = "190f8cc7230eee0b56b30d7f074fd4d165f7c45e6077582d0813c8557e738490";
sha256 = "b5e6af67b9e49485e30125b1c8f031ffa81a265ca08bfa73f31551bf03cf68c4";
};
# Tests require some python3-isms but code works without.

View file

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "parso";
version = "0.8.0";
version = "0.8.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
sha256 = "8519430ad07087d4c997fda3a7918f7cfa27cb58972a8c89c2a0295a1c940e9e";
};
patches = [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "pex";
version = "2.1.21";
version = "2.1.30";
src = fetchPypi {
inherit pname version;
sha256 = "d580a26da1b342ab2ebbf675ba2bab04e98c4d1aaf2a6fea09f41d68dfc466ba";
sha256 = "ac170d656d2083d02048850005415d03d1767087e4f5037bc86defb6b23e712d";
};
nativeBuildInputs = [ setuptools ];

View file

@ -12,11 +12,11 @@
buildPythonApplication rec {
pname = "phonemizer";
version = "2.2.1";
version = "2.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "127n4f10zxq60qd8xvlc1amji4wbghqb90rfp25rzdk716kvgwab";
sha256 = "ae252f0bc7633e172b08622f318e7e112cde847e9281d4675ea7210157325146";
};
postPatch = ''

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.13";
version = "8.12.18";
src = fetchPypi {
inherit pname version;
sha256 = "96d02120a3481e22d8a8eb5e4595ceec1930855749f6e4a06ef931881f59f562";
sha256 = "0aa0f5e1382d292a7ff2f8bc08673126521461c7f908e0220756449a734d8fef";
};
meta = with lib; {

View file

@ -5,13 +5,13 @@
import ./generic.nix (rec {
pname = "Pillow";
version = "8.0.1";
version = "8.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e";
sha256 = "1fnvc07m15fv59bdlkds1q7rl9jrr3cbbn69sfqvzvdpjbknhxl8";
};
meta = with lib; {
@ -23,7 +23,7 @@ import ./generic.nix (rec {
supports many file formats, and provides powerful image
processing and graphics capabilities.
'';
license = "http://www.pythonware.com/products/pil/license.htm";
license = licenses.hpnd;
maintainers = with maintainers; [ goibhniu prikhi SuperSandro2000 ];
};
} // args )

View file

@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "pip";
version = "20.3";
version = "20.3.4";
format = "other";
src = fetchFromGitHub {
owner = "pypa";
repo = pname;
rev = version;
sha256 = "e/2/0MrGY3myELmvuTAbNfXCBuT8kmvz9qTwITdDtQU=";
sha256 = "0hkhs9yc1cjdj1gn9wkycd3sy65c05q8k8rhqgsm5jbpksfssiwn";
name = "${pname}-${version}-source";
};

View file

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pkgconfig";
version = "1.5.1";
version = "1.5.2";
inherit (pkg-config)
setupHooks
@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f";
sha256 = "38d612488f0633755a2e7a8acab6c01d20d63dbc31af75e2a9ac98a6f638ca94";
};

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "plyfile";
version = "0.7.2";
version = "0.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "59a25845d00a51098e6c9147c3c96ce89ad97395e256a4fabb4aed7cf7db5541";
sha256 = "5ac55b685cfcb3e8f70f3c5c2660bd1f6431a892a5319a612792b1ec09aec0f0";
};
propagatedBuildInputs = [ numpy ];

View file

@ -3,11 +3,11 @@
buildPythonPackage rec {
pname = "portend";
version = "2.7.0";
version = "2.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "ac0e57ae557f75dc47467579980af152e8f60bc2139547eff8469777d9110379";
sha256 = "986ed9a278e64a87b5b5f4c21e61c25bebdce9919a92238d9c14c37a7416482b";
};
postPatch = ''

View file

@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "pplpy";
version = "0.8.4";
version = "0.8.7";
src = fetchPypi {
inherit pname version;
sha256 = "0dk8l5r3f2jbkkasddvxwvhlq35pjsiirh801lrapv8lb16r2qmr";
sha256 = "500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd";
};
buildInputs = [

View file

@ -15,11 +15,11 @@
buildPythonPackage rec {
pname = "prance";
version = "0.20.0";
version = "0.20.2";
src = fetchPypi {
inherit pname version;
sha256 = "f7e98b0f7e8ef0dd581c40d8a3e869e15e74b08026b862c3212447f8aa2426a7";
sha256 = "4ffcddae6218cf6753a02af36ca9fb1c92eec4689441789ee2e9963230882388";
};
buildInputs = [

View file

@ -9,11 +9,11 @@
}:
buildPythonPackage rec {
pname = "preshed";
version = "3.0.4";
version = "3.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "13a779205d55ce323976ac06df597f9ec2d6f0563ebcf5652176cf4520c7d540";
sha256 = "c6d3dba39ed5059aaf99767017b9568c75b2d0780c3481e204b1daecde00360e";
};
propagatedBuildInputs = [

View file

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "prompt_toolkit";
version = "3.0.8";
version = "3.0.16";
src = fetchPypi {
inherit pname version;
sha256 = "25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c";
sha256 = "0fa02fa80363844a4ab4b8d6891f62dd0645ba672723130423ca4037b80c1974";
};
checkPhase = ''
py.test -k 'not test_pathcompleter_can_expanduser'

View file

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "psd-tools";
version = "1.9.16";
version = "1.9.17";
src = fetchPypi {
inherit pname version;
sha256 = "dece6327b5aa03b53163c63e2bf90b4a7b0ff6872ef743adab140a59cb2318ff";
sha256 = "d01e11581442dfcc1bd73ac3278bdf1f98e9df8f083a11e5989632ff97322b65";
};
propagatedBuildInputs = [

View file

@ -3,12 +3,12 @@
buildPythonPackage rec {
pname = "ptpython";
version = "3.0.7";
version = "3.0.16";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "34814eb410f854c823be4c4a34124e1dc8ca696da1c1fa611f9da606c5a8a609";
sha256 = "4b0f6e381a8251ec8d6aa94fe12f3400bf6edf789f89c8a6099f8a91d4a5d2e1";
};
propagatedBuildInputs = [ appdirs prompt_toolkit docopt jedi pygments ]

View file

@ -1,30 +1,24 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "py-cpuinfo";
version = "5.0.0";
version = "7.0.0";
src = fetchFromGitHub {
owner = "workhorsy";
repo = pname;
rev = "v${version}";
sha256 = "0lxl9n6djaz5h1zrb2jca4qwl41c2plxy8chr7yhcxnzg0srddqi";
sha256 = "10qfaibyb2syiwiyv74l7d97vnmlk079qirgnw3ncklqjs0s3gbi";
};
checkInputs = [
pytest
pytestCheckHook
];
checkPhase = ''
runHook preCheck
pytest -k "not TestActual"
runHook postCheck
'';
meta = {
description = "Get CPU info with pure Python 2 & 3";
longDescription = ''

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "py-sonic";
version = "0.7.8";
version = "0.7.9";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1nfpiry1jlgcyxcs5zamyfxwdvdiwg4yw0v8jysfc74hm362rg7d";
sha256 = "1677b7287914567b5123de90ad872b441628d8a7777cf4a5f41671b813facf75";
};
# package has no tests

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pyTelegramBotAPI";
version = "3.7.4";
version = "3.7.6";
src = fetchPypi {
inherit pname version;
sha256 = "9b95f441c390fd30a4452a984406310f60a7f4803df57860ccb6a79881506c46";
sha256 = "859136cbd50e99922e1ea495d4ebe8235b2cb10fe419a5421f28855249db4278";
};
propagatedBuildInputs = [ requests ];

Some files were not shown because too many files have changed in this diff Show more