Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2020-10-06 10:25:58 +02:00
646 changed files with 11286 additions and 6998 deletions

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "Wand";
version = "0.6.2";
version = "0.6.3";
src = fetchPypi {
inherit pname version;
sha256 = "0jm1jdrlmm0gkvaxhbwwqic48vfgv8d0j99y90calnjrid3hwi35";
sha256 = "d21429288fe0de63d829dbbfb26736ebaed9fd0792c2a0dc5943c5cab803a708";
};
postPatch = ''

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, colorlog, lomond
, requests, isPy3k, requests-mock }:
buildPythonPackage rec {
pname = "abodepy";
version = "1.2.0";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "MisterWil";
repo = pname;
rev = "v${version}";
sha256 = "0m2cm90yy7fq7yrjyd999m48gqri65ifi7f6hc0s3pv2hfj89yj0";
};
propagatedBuildInputs = [ colorlog lomond requests ];
checkInputs = [ pytestCheckHook requests-mock ];
meta = with lib; {
homepage = "https://github.com/MisterWil/abodepy";
description = "An Abode alarm Python library running on Python 3";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -0,0 +1,32 @@
{ aiofiles, buildPythonPackage, cryptography, fetchFromGitHub, isPy3k, lib
, libusb1, mock, pyasn1, python, pycryptodome, rsa }:
buildPythonPackage rec {
pname = "adb-shell";
version = "0.2.3";
disabled = !isPy3k;
# pypi does not contain tests, using github sources instead
src = fetchFromGitHub {
owner = "JeffLIrion";
repo = "adb_shell";
rev = "v${version}";
sha256 = "1ay598avmg656cxnc9phdx43z1plsrfjf9png9jwjwyhyjjiqxil";
};
propagatedBuildInputs = [ aiofiles cryptography libusb1 pyasn1 rsa ];
checkInputs = [ mock pycryptodome ];
checkPhase = ''
${python.interpreter} -m unittest discover -s tests -t .
'';
meta = with lib; {
description =
"A Python implementation of ADB with shell and FileSync functionality.";
homepage = "https://github.com/JeffLIrion/adb_shell";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -0,0 +1,26 @@
{ aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, isPy3k, lib
, pytest-asyncio, pytestCheckHook, yarl }:
buildPythonPackage rec {
pname = "adguardhome";
version = "0.4.2";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "frenck";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "0lcf3yg27amrnqvgn5nw4jn2j0vj4yfmyl5p5yncmn7dh6bdbsp8";
};
propagatedBuildInputs = [ aiohttp yarl ];
checkInputs = [ aresponses pytest-asyncio pytestCheckHook ];
meta = with lib; {
description = "Asynchronous Python client for the AdGuard Home API.";
homepage = "https://github.com/frenck/python-adguardhome";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "aioftp";
version = "0.17.2";
version = "0.18.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "8433ff21317e71ef1f4d8cb8f7fe58365c04b5174142d9643e22343cfb35da1b";
sha256 = "6f9d5b5ac910987daca4f7ad4a017530751e2107d2471c9f92a3e09b507cb2dc";
};
checkInputs = [

View File

@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, asynctest
, pythonOlder
}:
buildPythonPackage rec {
pname = "aionotify";
version = "0.2.0";
src = fetchFromGitHub {
owner = "rbarrois";
repo = "aionotify";
rev = "v${version}";
sha256 = "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y";
};
disabled = pythonOlder "3.5";
checkInputs = [
asynctest
];
meta = with lib; {
homepage = "https://github.com/rbarrois/aionotify";
description = "Simple, asyncio-based inotify library for Python";
license = with lib.licenses; [ bsd2 ];
platforms = platforms.linux;
maintainers = with lib.maintainers; [ thiagokokada ];
};
}

View File

@@ -0,0 +1,31 @@
{ aiofiles, adb-shell, buildPythonPackage, fetchFromGitHub, isPy3k, lib, mock
, pure-python-adb, python }:
buildPythonPackage rec {
pname = "androidtv";
version = "0.0.50";
# pypi does not contain tests, using github sources instead
src = fetchFromGitHub {
owner = "JeffLIrion";
repo = "python-androidtv";
rev = "v${version}";
sha256 = "1iqw40szwgzvhv3fbnx2wwfnw0d3clcwk9vsq1xsn30fjil2vl7b";
};
propagatedBuildInputs = [ adb-shell pure-python-adb ]
++ lib.optionals (isPy3k) [ aiofiles ];
checkInputs = [ mock ];
checkPhase = ''
${python.interpreter} -m unittest discover -s tests -t .
'';
meta = with lib; {
description =
"Communicate with an Android TV or Fire TV device via ADB over a network.";
homepage = "https://github.com/JeffLIrion/python-androidtv/";
license = licenses.mit;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -7,11 +7,11 @@
}:
buildPythonPackage rec {
pname = "argcomplete";
version = "1.12.0";
version = "1.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "0p19rkvh28klkkd1c6y78h6vb9b9cnlyr7qrshkxghfjkz85xgig";
sha256 = "849c2444c35bb2175aea74100ca5f644c29bf716429399c0f2203bb5d9a8e4e6";
};
doCheck = false; # meant to be ran with interactive interpreter

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "asyncssh";
version = "2.3.0";
version = "2.4.2";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "44bda34c7123f00c3df95d24e2dc8d43c4d17b456fbb8c434ef4f4a7ebb5265e";
sha256 = "1c4a697d05a5e3d8d16ea18526115e84d8f015ba4c8b721a0d84062b6b244ef4";
};
patches = [

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "atlassian-python-api";
version = "1.16.1";
version = "1.17.5";
src = fetchPypi {
inherit pname version;
sha256 = "b672131be7cc5e239c465909454542623c0aeb0a4d3b05e6a25ee9459959c11d";
sha256 = "cbd7941fa7e1eb6f63e12724277894350298745480297658da912e07234314cc";
};
checkInputs = [ pytestrunner pytest ];

View File

@@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-core
, msrest
}:
buildPythonPackage rec {
pname = "azure-appconfiguration";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0mv053vl88nzpv701gnjdmbylc8qm0kkq87264rfhvrx3ydymf97";
};
propagatedBuildInputs = [
azure-core
msrest
];
pythonImportsCheck = [ "azure.appconfiguration" ];
meta = with lib; {
description = "Microsoft App Configuration Data Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/appconfiguration/azure-appconfiguration";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -14,14 +14,14 @@
}:
buildPythonPackage rec {
version = "1.8.0";
version = "1.8.1";
pname = "azure-core";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c89bbdcdc13ad45fe57d775ed87b15baf6d0b039a1ecd0a1bc91d2f713cb1f08";
sha256 = "7efbeac3a6dfb634cb5323bc04e18ab609aeab6b03610808091aa0517373d626";
};
propagatedBuildInputs = [

View File

@@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "azure-datalake-store";
version = "0.0.49";
version = "0.0.50";
src = fetchPypi {
inherit pname version;
sha256 = "3fcede6255cc9cd083d498c3a399b422f35f804c561bb369a7150ff1f2f07da9";
sha256 = "9b9b58dcf1d0d0e5aa499d5cb49dcf8f5432ca467a747b39167bb70ef901dbc2";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,37 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, azure-core
, msrest
}:
buildPythonPackage rec {
pname = "azure-keyvault-administration";
version = "4.0.0b1";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1kmf2x3jdmfm9c7ldvajzckkm79gxxvl1l2968lizjwiyjbbsih5";
};
propagatedBuildInputs = [
azure-common
azure-core
msrest
];
# no tests in pypi tarball
doCheck = false;
pythonNamespaces = [ "azure.keyvault" ];
pythonImportsCheck = [ "azure.keyvault.administration" ];
meta = with lib; {
description = "Microsoft Azure Key Vault Administration Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-administration";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-keyvault-certificates";
version = "4.2.0";
version = "4.2.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "5e33881f3a9b3080c815fe6a7200c0c8670ec506eff45955432ddb84f3076902";
sha256 = "ea651883ad00d0a9a25b38e51feff7111f6c7099c6fb2597598da5bb21d3451c";
};
propagatedBuildInputs = [

View File

@@ -1,25 +1,33 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, azure-mgmt-core
, msrest
, msrestazure
}:
buildPythonPackage rec {
version = "0.6.0";
version = "1.0.1";
pname = "azure-mgmt-appconfiguration";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "fe6e216ce7293219b7d8d1cbcca7cf2f4511f134c2bf0b3455078bf086436c5f";
sha256 = "b58bbe82a7429ba589292024896b58d96fe9fa732c578569cac349928dc2ca5f";
extension = "zip";
};
propagatedBuildInputs = [ azure-common msrest msrestazure ];
propagatedBuildInputs = [
azure-common
azure-mgmt-core
msrest
msrestazure
];
# no tests included
doCheck = false;
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.common" "azure.mgmt.appconfiguration" ];
meta = with lib; {

View File

@@ -3,21 +3,23 @@
, fetchPypi
, python
, azure-mgmt-common
, azure-mgmt-core
, isPy3k
}:
buildPythonPackage rec {
version = "13.0.0";
version = "17.0.0";
pname = "azure-mgmt-compute";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7f331bafcbedf25d65aa42038f7553747dab18d7f10a5af3297192d31c45339e";
sha256 = "c7350b404e5d10a548ceddb034394c8fad6c852ce33a3d3b211065813c1da404";
};
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
pythonNamespaces = [ "azure.mgmt" ];

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "9.3.0";
version = "9.4.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04ca071d1d6af854b6a5947c5aed803924ccbd2ea0d240285b6fa68dc4ab75a9";
sha256 = "d90684106c70779450b82067be4d3e449c799ca1f47d941e45f6d2b5c016dac9";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-datafactory";
version = "0.12.0";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "cee5168c8b89cbc673744323cf98f7f22d710914c79d103f84f8f24b780e8214";
sha256 = "3eabe34f49587840617747511a0aa25d08b0c1619677a1fdda24ce9e6b0f2c74";
};
propagatedBuildInputs = [

View File

@@ -4,24 +4,26 @@
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-eventhub";
version = "4.0.0";
version = "8.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1qisnwn0gqfsa3h5x0fdbsgdjwn92hdbg71gdijrja0kryb328k5";
sha256 = "ae02b1e3ccbb9ec45849de544dea4d8ef36ea767707207d055ae2b4f756c0d79";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-keyvault";
version = "2.2.0";
version = "7.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1883e12eeb5819064dc52bf3a3ade05c791f4b66e4aeec948bda28df6ce2bce4";
sha256 = "128c1424373aabab5ffcfa74a3ee73cf8bda0a9259229ce2c1d09a8bc9f7370a";
};
propagatedBuildInputs = [

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-loganalytics";
version = "0.7.0";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "18n2lqvrhq40gdqhlzzg8mc03571i02c7qq7jv771lc58rqpzysh";
sha256 = "7eb052a1c4bb037c06a0aff740378bd54a6ae256bf5cb71faa14b4eb61281488";
};
propagatedBuildInputs = [

View File

@@ -6,23 +6,25 @@
, msrest
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
}:
buildPythonPackage rec {
pname = "azure-mgmt-monitor";
version = "0.11.0";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c6e1fe83dd2ddffa7f6d90c7aa63b3128042396a3893c14dc4816ad28cb15016";
sha256 = "04bd89d74fe47f966b09e3256ffefcfa5c1a51057a6b33c092afe5ae17a1a7b7";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.12.0";
version = "0.13.0";
pname = "azure-mgmt-netapp";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "7d773119bc02e3d6f9d7cffb7effc17e85676d5c5b1f656d05abc4489e472c76";
sha256 = "e86034d073144bd5dbafe17e20fef3f48b5bf98a31b27cc0de462dc8f98303bb";
extension = "zip";
};

View File

@@ -1,37 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, azure-common
, azure-mgmt-common
, python
, azure-mgmt-core
, msrest
, msrestazure
, isPy3k
}:
buildPythonPackage rec {
version = "11.0.0";
version = "16.0.0";
pname = "azure-mgmt-network";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7fdfc631c660cb173eee88abbb7b8be7742f91b522be6017867f217409cd69bc";
sha256 = "6159a8c44590cc58841690c27c7d4acb0cd9ad0a1e5178c1d35e0f48e3c3c0e9";
};
postInstall = if isPy3k then "" else ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = [
azure-mgmt-common
azure-common
azure-mgmt-core
msrest
msrestazure
];
# has no tests
doCheck = false;
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.network" ];
meta = with lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
maintainers = with maintainers; [ olcai mwilsoninsight jonringer ];
};
}

View File

@@ -1,36 +1,39 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, python
, azure-mgmt-core
, azure-mgmt-common
, isPy3k
}:
buildPythonPackage rec {
version = "10.2.0";
version = "15.0.0";
pname = "azure-mgmt-resource";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "ddfe4c0c55f0e3fd1f66dd82c1d4a3d872ce124639b9a77fcd172daf464438a5";
sha256 = "80ecb69aa21152b924edf481e4b26c641f11aa264120bc322a14284811df9c14";
};
postInstall = if isPy3k then "" else ''
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py
'';
propagatedBuildInputs = [ azure-mgmt-common ];
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
# has no tests
doCheck = false;
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.resource" ];
meta = with pkgs.lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
maintainers = with maintainers; [ olcai mwilsoninsight jonringer ];
};
}

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-sql";
version = "0.20.0";
version = "0.21.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "29dde5bb3234be6e4b2bc93ad1d37dc94b3d0536bbb21759e9b24250d2dfdab2";
sha256 = "7bf7a41d2e42532a00b5f41d3fc0512244451a35f038ac0a25c96ef2c5c04300";
};
propagatedBuildInputs = [

View File

@@ -3,23 +3,30 @@
, fetchPypi
, python
, azure-mgmt-common
, azure-mgmt-core
, isPy3k
}:
buildPythonPackage rec {
version = "11.2.0";
version = "16.0.0";
pname = "azure-mgmt-storage";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "fc8e3cbf3c58cab98d9b2218c774dae2cc90b693f5ab5a24a7a959febe6c0528";
sha256 = "2f9d714d9722b1ef4bac6563676612e6e795c4e90f6f3cd323616fdadb0a99e5";
};
propagatedBuildInputs = [ azure-mgmt-common ];
propagatedBuildInputs = [
azure-mgmt-common
azure-mgmt-core
];
pythonNamespaces = [ "azure.mgmt" ];
pythonImportsCheck = [ "azure.mgmt.storage" ];
# has no tests
doCheck = false;

View File

@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-synapse";
version = "0.3.0";
version = "0.4.0";
disabled = pythonOlder "3";
src = fetchPypi {
inherit pname version;
sha256 = "0sa12s5af9xl1wnblilswxc6ydr2anm9an000iz3ks54pydby2vy";
sha256 = "ebd4dcb980a6425f4db7dd94225332b6bd74e1089b0c6e57af868d96ceab1d3c";
extension = "zip";
};

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-storage-blob";
version = "12.4.0";
version = "12.5.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1s03daq5mxh9acbv8qpa55c2wmjvdf8jq071cwv65mrly8prp84n";
sha256 = "1469a5a0410296fb5ff96c326618d939c9cb0c0ea45eb931c89c98fa742d8daa";
};
propagatedBuildInputs = [

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "azure-synapse-accesscontrol";
version = "0.2.0";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1rsdqrhrgy09kbw6c7krb4hlaxs1ldb6lilwrbxgp3zqybxxnh5b";
sha256 = "5cead7051df3816a3382a74033efa0b8774cb7f8cdf5871c6825dd1638289189";
extension = "zip";
};

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "azure-synapse-spark";
version = "0.2.0";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "1qijqp6llshqas422lnqvpv45iv99n7f13v86znql40y3jp5n3ir";
sha256 = "fcfe559e30a2e159f07e371af28d18dc635dc55174fb3457be7210ce8e7e7559";
extension = "zip";
};

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "bidict";
version = "0.20.0";
version = "0.21.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "c1b1ce1c0f1e3457489672bc3a4db375a06f61ae7797a9eedf71ea788cea3870";
sha256 = "4fa46f7ff96dc244abfc437383d987404ae861df797e2fd5b190e233c302be09";
};
nativeBuildInputs = [ setuptools_scm ];

View File

@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pythonOlder
, ecdsa
, pysha3
@@ -8,20 +8,19 @@
buildPythonPackage rec {
pname = "bip_utils";
version = "1.4.0";
version = "1.5.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "582022ab5c1ff35d0179a22a39c90b7e4e71e4641d59b2a3e81d60df741d1e3c";
src = fetchFromGitHub {
owner = "ebellocchia";
repo = pname;
rev = "v${version}";
sha256 = "06ls1lara7sklqw6wrw5d3wpxwgyv6paxwjp37x7b3kfskm14cmd";
};
propagatedBuildInputs = [ ecdsa pysha3 ];
# tests are not packaged in the released tarball
doCheck = false;
pythonImportsCheck = [
"bip_utils"
];

View File

@@ -2,35 +2,21 @@
, wcwidth, pytest, mock, glibcLocales
}:
let
fixTestSuiteFailure_1 = fetchpatch {
url = "https://github.com/jquast/blessed/pull/108/commits/76a54d39b0f58bfc71af04ee143459eefb0e1e7b.patch";
sha256 = "1higmv4c03ly7ywac1d7s71f3hrl531vj16nsfl9xh6zh9c47qcg";
};
fixTestSuiteFailure_2 = fetchpatch {
url = "https://github.com/jquast/blessed/pull/108/commits/aa94e01aed745715e667601fb674844b257cfcc9.patch";
sha256 = "1frygr6sc1vakdfx1hf6jj0dbwibiqz8hw9maf1b605cbslc9nay";
};
in
buildPythonPackage rec {
pname = "blessed";
version = "1.15.0";
version = "1.17.10";
src = fetchPypi {
inherit pname version;
sha256 = "777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21";
sha256 = "09kcz6w87x34a3h4r142z3zgw0av19cxn9jrbz52wkpm1534dfaq";
};
patches = [ fixTestSuiteFailure_1 fixTestSuiteFailure_2 ];
checkInputs = [ pytest mock glibcLocales ];
# Default tox.ini parameters not needed
checkPhase = ''
LANG=en_US.utf-8 py.test blessed/tests
rm tox.ini
pytest
'';
propagatedBuildInputs = [ wcwidth six ];

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "braintree";
version = "4.3.0";
version = "4.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "d2b5ead45dbfe98b6099d387c7f12b7d2994ae0efb60679e6bb0929a06027e16";
sha256 = "79ddadaa9db60b81762a10af0c0d994fd60d21616c7d9229d6f7ce1930f8d343";
};
propagatedBuildInputs = [ requests ];

View File

@@ -1,13 +1,13 @@
{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }:
buildPythonPackage rec {
version = "4.20.0";
version = "4.22.1";
pname = "breathe";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "d7e1e1ee9b0615423b7e9abc64f0afe12e7bcf32c817a8fd1d9c8c3c4b3d71c9";
sha256 = "6e4b66e61876dac90e78b335788a38eaa3625ed9c70d0add261f98ddd128d36a";
};
propagatedBuildInputs = [ docutils six sphinx ];

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
};
meta = with stdenv.lib; {
homepage = "http://www.reflectometry.org/danse/software.html";
homepage = "https://www.reflectometry.org/danse/software.html";
description = "Data fitting with bayesian uncertainty analysis";
maintainers = with maintainers; [ rprospero ];
license = licenses.publicDomain;

View File

@@ -4,12 +4,12 @@
buildPythonPackage rec {
pname = "canonicaljson";
version = "1.3.0";
version = "1.4.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "b4763db06a2e8553293c5edaa4bda05605c3307179a7ddfb30273a24ac384b6c";
sha256 = "899b7604f5a6a8a92109115d9250142cdf0b1dfdcb62cdb21d8fb5bf37780631";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,30 @@
{
buildPythonPackage,
fetchPypi,
lib,
nose,
six,
}:
buildPythonPackage rec {
pname = "class-registry";
version = "2.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
};
propagatedBuildInputs = [ six ];
checkInputs = [ nose ];
# Tests currently failing.
doCheck = false;
meta = {
description = "Factory+Registry pattern for Python classes.";
homepage = "https://class-registry.readthedocs.io/en/latest/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kevincox ];
};
}

View File

@@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, sparse
, numba
, isPy27
, future
, h5py
, nose
, isPy27
, ipython
, numba
, numpy
, pytestCheckHook
, scipy
, sparse
}:
buildPythonPackage rec {
@@ -22,27 +23,35 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
future
h5py
numba
numpy
scipy
sparse
numba
future
h5py
];
checkInputs = [
nose
pytestCheckHook
ipython
];
preConfigure = ''
postPatch = ''
substituteInPlace setup.py \
--replace "'numba==0.43'" "'numba'"
'';
checkPhase = ''
nosetests
# avoid collecting local files
preCheck = ''
cd clifford/test
'';
pytestFlagsArray = [
"-m \"not veryslow\""
"--ignore=test_algebra_initialisation.py" # fails without JIT
"--ignore=test_cga.py"
];
meta = with lib; {
description = "Numerical Geometric Algebra Module";
homepage = "https://clifford.readthedocs.io";

View File

@@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "1.3.8";
version = "1.3.10";
src = fetchPypi {
inherit pname version;
sha256 = "b6f6254def8ba479088702f97bca1b999c12e0c38ac5d82dc50a44db93c7108c";
sha256 = "960d8288c8e3a093d04975e3dd8461ce2e43c1d0c70e54873f622f8f0b77d6f5";
};
LC_ALL="en_US.UTF-8";

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Terminal string styling done right, in Python.";
homepage = "http://github.com/timofurrer/colorful";
homepage = "https://github.com/timofurrer/colorful";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
};

View File

@@ -0,0 +1,26 @@
{ buildPythonPackage
, fetchPypi
, ply
, stdenv
}:
buildPythonPackage rec {
pname = "CppHeaderParser";
version = "2.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
};
propagatedBuildInputs = [ ply ];
pythonImportsCheck = [ "CppHeaderParser" ];
meta = with stdenv.lib; {
description = "Parse C++ header files using ply.lex to generate navigable class tree representing the class structure";
homepage = "https://sourceforge.net/projects/cppheaderparser/";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ pamplemousse ];
};
}

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_core_components";
version = "1.10.2";
version = "1.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "6152346ff2ac8a7fcdb76c8b8acbf3ee4e72f3822cd2a02a9f3a963db66f94a3";
sha256 = "27f2ac612f5574dcd0d645f9302ceca5975bbdac6791865692e3ac51d0aec7f4";
};
# No tests in archive

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_html_components";
version = "1.0.3";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "1fj5wlh6x9nngmz1rzb5xazc5pl34yrp4kf7a3zgy0dniap59yys";
sha256 = "2c662e640528c890aaa0fa23d48e51c4d13ce69a97841d856ddcaaf2c6a47be3";
};
# No tests in archive

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_renderer";
version = "1.6.0";
version = "1.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "8e9c0c0c2efb8ea562489c37665417cd608c30bca20425ac4d847420b5bbc128";
sha256 = "84cbb22019299a5a3c268ec1143c6f241c3f136e95753edac83a81673b7fa04e";
};
# No tests in archive

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "dash_table";
version = "4.9.0";
version = "4.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "2f19000051730291100cd3a79b13fa62c478aea7908f2e4323c13b90f09e3320";
sha256 = "1aa02180faef13434364286b60404d26164d1ce2779c765c9c52e6935991a4e9";
};
# No tests in archive

View File

@@ -16,13 +16,13 @@
buildPythonPackage rec {
pname = "dash";
version = "1.14.0";
version = "1.16.2";
src = fetchFromGitHub {
owner = "plotly";
repo = pname;
rev = "v${version}";
sha256 = "1f7gal9x0bjsmwxlbvlkwfwz1cyyg5d0n6jh4399wkjilpd966d5";
sha256 = "1krhwxlz8kpaklf5ii3h339id6c3139xzxxkq7mvvag330j6nbgg";
};
propagatedBuildInputs = [

View File

@@ -32,8 +32,6 @@ buildPythonPackage rec {
pytest_xdist # takes >10mins to run single-threaded
];
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
dontUseSetuptoolsCheck = true;
propagatedBuildInputs = [
@@ -56,6 +54,13 @@ buildPythonPackage rec {
--replace "cmdclass=versioneer.get_cmdclass()," ""
'';
# dask test suite with consistently fail when using high core counts
preCheck = ''
NIX_BUILD_CORES=$((NIX_BUILD_CORES > 8 ? 8 : NIX_BUILD_CORES))
'';
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
disabledTests = [
"test_argwhere_str"
"test_count_nonzero_str"

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "databricks-connect";
version = "7.1.0";
version = "7.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "996a9d0f271f6c7edbd2d85b2efb6ff4e58d15222e80f87ca17fdbf224e17056";
sha256 = "c7f508c84edc7f80a131650b892889624e4457c10f44318465dd3f7b8cf5be6d";
};
sourceRoot = ".";

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "datadog";
version = "0.38.0";
version = "0.39.0";
src = fetchPypi {
inherit pname version;
sha256 = "401cd1dcf2d5de05786016a1c790bff28d1428d12ae1dbe11485f9cb5502939b";
sha256 = "b0ef69a27aad0e4412c1ac3e6894fa1b5741db735515c34dfe1606d8cf30e4e5";
};
postPatch = ''

View File

@@ -74,8 +74,9 @@ buildPythonPackage rec {
--replace "'numba >=0.37.0,<0.49'" "'numba'"
'';
# dask doesn't do well with large core counts
checkPhase = ''
pytest -n $NIX_BUILD_CORES datashader
pytest -n $NIX_BUILD_CORES datashader -k 'not dask.array'
'';
meta = with lib; {

View File

@@ -1,19 +1,30 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, substituteAll, gdb
, colorama, django, flask, gevent, psutil, pytest
, pytest-timeout, pytest_xdist, requests
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, substituteAll
, gdb
, colorama
, flask
, psutil
, pytest-timeout
, pytest_xdist
, pytestCheckHook
, requests
, isPy27
, django
, gevent
}:
buildPythonPackage rec {
pname = "debugpy";
version = "1.0.0b12";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Microsoft";
repo = pname;
rev = "v${version}";
sha256 = "0sz33aq5qldl7kh4qjf5w3d08l9s77ipcj4i9wfklj8f6vf9w1wh";
sha256 = "1cxwbq97n5pfmq0hji1ybbc6i1jg5bjy830dq23zqxbwxxwjx98m";
};
patches = [
@@ -49,16 +60,31 @@ buildPythonPackage rec {
)'';
checkInputs = [
colorama django flask gevent psutil pytest
pytest-timeout pytest_xdist requests
colorama
flask
psutil
pytest-timeout
pytest_xdist
pytestCheckHook
requests
] ++ lib.optionals (!isPy27) [
django
gevent
];
# Override default arguments in pytest.ini
checkPhase = "pytest --timeout 0 -n $NIX_BUILD_CORES"
# gevent fails to import zope.interface with Python 2.7
+ stdenv.lib.optionalString isPy27 " -k 'not test_gevent'";
pytestFlagsArray = [ "--timeout=0" "-n=$NIX_BUILD_CORES" ];
meta = with stdenv.lib; {
disabledTests = lib.optionals isPy27 [
# django 1.11 is the last version to support Python 2.7
# and is no longer built in nixpkgs
"django"
# gevent fails to import zope.interface with Python 2.7
"gevent"
];
meta = with lib; {
description = "An implementation of the Debug Adapter Protocol for Python";
homepage = "https://github.com/microsoft/debugpy";
license = licenses.mit;

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
meta = {
description = "A DNS toolkit for Python 3.x";
homepage = "http://www.dnspython.org";
# BSD-like, check http://www.dnspython.org/LICENSE for details
# BSD-like, check https://www.dnspython.org/LICENSE for details
license = lib.licenses.free;
};
}

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = {
description = "A DNS toolkit for Python 3.x";
homepage = "http://www.dnspython.org";
# BSD-like, check http://www.dnspython.org/LICENSE for details
# BSD-like, check https://www.dnspython.org/LICENSE for details
license = lib.licenses.free;
};
}

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "dpkt";
version = "1.9.3";
version = "1.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "18jcanxpzkd5n2gjbfpwbvvkm1hpxr59463z28py23vkbx57wmvg";
sha256 = "f4e579cbaf6e2285ebf3a9e84019459b4367636bac079ba169527e582fca48b4";
};
meta = with stdenv.lib; {

View File

@@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
buildPythonPackage rec {
version = "2.0.0";
version = "2.0.3";
pname = "elementpath";
disabled = isPy27; # uses incompatible class syntax
@@ -9,19 +9,13 @@ buildPythonPackage rec {
owner = "sissaschool";
repo = "elementpath";
rev = "v${version}";
sha256 = "16kfbiy87qjl07y3iin8jdjhz8j28wlwnkwxq9a0752ipjjg869p";
sha256 = "16gs5glnlr4i41xbmd30x62zj85apmf69m9akvfnka0gkjlzv8in";
};
# avoid circular dependency with xmlschema which directly depends on this
doCheck = false;
pythonImportsCheck = [
"elementpath.xpath1_parser"
"elementpath.xpath2_parser"
"elementpath.xpath2_functions"
"elementpath.xpath_context"
"elementpath.xpath_selectors"
];
pythonImportsCheck = [ "elementpath" ];
meta = with lib; {
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";

View File

@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "eventlet";
version = "0.26.1";
version = "0.28.0";
src = fetchPypi {
inherit pname version;
sha256 = "4f4a43366b4cbd4a3f2f231816e5c3dae8ab316df9b7da11f0525e2800559f33";
sha256 = "9c7c63e8a80c7d02d692b2cf308312402fa4777335fd3de5da45097383301ff3";
};
propagatedBuildInputs = [ dnspython greenlet monotonic six ]

View File

@@ -5,7 +5,6 @@
, pytestCheckHook
, numpy
, stdenv
, isPy38
}:
buildPythonPackage rec {
@@ -25,12 +24,18 @@ buildPythonPackage rec {
numpy
];
pytestFlagsArray = [ "--rootdir=$(mktemp -d)" ];
disabledTests = [
# Test assumes user name is part of $HOME
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
"test_strip_protocol_expanduser"
] ++ lib.optionals (stdenv.isDarwin && isPy38) [
"test_modified" # fails on hydra, works locally
] ++ lib.optionals (stdenv.isDarwin) [
# works locally on APFS, fails on hydra with AssertionError comparing timestamps
# darwin hydra builder uses HFS+ and has only one second timestamp resolution
# this two tests however, assume nanosecond resolution
"test_modified"
"test_touch"
];
meta = with lib; {

View File

@@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "funcy";
version = "1.14";
version = "1.15";
src = fetchPypi {
inherit pname version;
sha256 = "1i55c5kjvkb3y2jqfnlx3iirrd512mxjdhjpm1l2xya6nk1q9vkm";
sha256 = "65b746fed572b392d886810a98d56939c6e0d545abb750527a717c21ced21008";
};
# No tests

View File

@@ -8,13 +8,13 @@
}:
buildPythonPackage rec {
version = "4.0.2";
version = "4.1.0";
pname = "geoip2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "4afb5d899eac08444e461239c8afb165c90234adc0b5dc952792d9da74c9091b";
sha256 = "57d8d15de2527e0697bbef44fc16812bba709f03a07ef99297bd56c1df3b1efd";
};
patchPhase = ''

View File

@@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "google-api-python-client";
version = "1.12.2";
version = "1.12.3";
src = fetchPypi {
inherit pname version;
sha256 = "54a7d330833a2e7b0587446d7e4ae6d0244925a9a8e1dfe878f3f7e06cdedb62";
sha256 = "844ef76bda585ea0ea2d5e7f8f9a0eb10d6e2eba66c4fea0210ec7843941cb1a";
};
# No tests included in archive

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "google-i18n-address";
version = "2.3.5";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1kkg3x92m40z0mw712z9apnrw08qsx0f9lj7lfgddkdbx4vd8v3w";
sha256 = "8454a58f254a29988b8d1ca9ab663fd28a1f392a3d29b844d8824807db6333d7";
};
propagatedBuildInputs = [ requests ];

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ libguestfs qemu ];
meta = with stdenv.lib; {
homepage = "http://libguestfs.org/guestfs-python.3.html";
homepage = "https://libguestfs.org/guestfs-python.3.html";
description = "Use libguestfs from Python";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ grahamc ];

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchPypi, isPy27, python, buildPythonPackage
, numpy, hdf5, cython, six, pkgconfig, unittest2, fetchpatch
, mpi4py ? null, openssh }:
, mpi4py ? null, openssh, pytest }:
assert hdf5.mpiSupport -> mpi4py != null && hdf5.mpi == mpi4py.mpi;
@@ -10,20 +10,15 @@ let
mpi = hdf5.mpi;
mpiSupport = hdf5.mpiSupport;
in buildPythonPackage rec {
version = "2.9.0";
version = "2.10.0";
pname = "h5py";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "9d41ca62daf36d6b6515ab8765e4c8c4388ee18e2a665701fef2b41563821002";
sha256 = "84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d";
};
patches = [ ( fetchpatch {
# Skip a test that probes an already fixed bug in HDF5 (upstream patch)
url = "https://github.com/h5py/h5py/commit/141eafa531c6c09a06efe6a694251a1eea84908d.patch";
sha256 = "0lmdn0gznr7gadx7qkxybl945fvwk6r0cc4lg3ylpf8ril1975h8";
})];
configure_flags = "--hdf5=${hdf5}" + optionalString mpiSupport " --mpi";
postConfigure = ''
@@ -36,7 +31,7 @@ in buildPythonPackage rec {
preBuild = if mpiSupport then "export CC=${mpi}/bin/mpicc" else "";
checkInputs = optional isPy27 unittest2 ++ [ openssh ];
checkInputs = optional isPy27 unittest2 ++ [ pytest openssh ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ hdf5 cython ]
++ optional mpiSupport mpi;

View File

@@ -19,8 +19,12 @@ buildPythonPackage rec {
libusb=${libusb1.dev}/include/libusb-1.0
test -d $libusb || { echo "ERROR: $libusb doesn't exist, please update/fix this build expression."; exit 1; }
sed -i -e "s|/usr/include/libusb-1.0|$libusb|" setup.py
'' + stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace setup.py --replace 'macos_sdk_path =' 'macos_sdk_path = "" #'
'';
pythonImportsCheck = [ "hid" ];
meta = with stdenv.lib; {
description = "A Cython interface to the hidapi from https://github.com/signal11/hidapi";
homepage = "https://github.com/trezor/cython-hidapi";

View File

@@ -7,12 +7,12 @@
}:
buildPythonPackage rec {
version = "4.0.6";
version = "4.0.7";
pname = "icalendar";
src = fetchPypi {
inherit pname version;
sha256 = "17wpvngxv9q333ng3hm4k1qhiafmzipr7l2liwny7ar24qiyfvvy";
sha256 = "0fc18d87f66e0b5da84fa731389496cfe18e4c21304e8f6713556b2e8724a7a4";
};
buildInputs = [ setuptools ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "identify";
version = "1.4.29";
version = "1.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "9f5fcf22b665eaece583bd395b103c2769772a0f646ffabb5b1f155901b07de2";
sha256 = "7c22c384a2c9b32c5cc891d13f923f6b2653aa83e2d75d8f79be240d6c86c4f4";
};
# Tests not included in PyPI tarball

View File

@@ -1,20 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, python-editor, readchar, blessings, pytest, pytestcov, pexpect, pytest-mock }:
{ stdenv, buildPythonPackage, fetchFromGitHub, python-editor, readchar, blessed, pytest, pytestcov, pexpect, pytest-mock }:
buildPythonPackage rec {
pname = "inquirer";
version = "2.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "e819188de0ca7985a99c282176c6f50fb08b0d33867fd1965d3f3e97d6c8f83f";
# PyPi archive currently broken: https://github.com/magmax/python-inquirer/issues/106
src = fetchFromGitHub rec {
owner = "magmax";
repo = "python-inquirer";
rev = version;
sha256 = "152l5qjgkag8zkr69ax2i5s8xcac1qvyngisrplbnbzwbpf77d0d";
};
propagatedBuildInputs = [ python-editor readchar blessings ];
propagatedBuildInputs = [ blessed python-editor readchar ];
# No real changes in 2.0.0...e0edfa3
postPatch = ''
substituteInPlace setup.py \
--replace "readchar == 2.0.1" "readchar >= 2.0.0"
substituteInPlace requirements.txt \
--replace "blessed==1.17.6" "blessed~=1.17" \
--replace "readchar==2.0.1" "readchar>=2.0.0"
'';
checkInputs = [ pytest pytestcov pexpect pytest-mock ];

View File

@@ -6,19 +6,19 @@
, holoviews
, hvplot
, jinja2
, msgpack-numpy
, msgpack
, msgpack-numpy
, numpy
, pandas
, panel
, pyarrow
, pytestCheckHook
, pythonOlder
, python-snappy
, requests
, ruamel_yaml
, six
, tornado
, pytest
, pythonOlder
}:
buildPythonPackage rec {
@@ -32,7 +32,6 @@ buildPythonPackage rec {
sha256 = "0c284abeb74927a7366dcab6cefc010c4d050365b8af61c37326a2473a490a4e";
};
checkInputs = [ pyarrow pytest ];
propagatedBuildInputs = [
appdirs
dask
@@ -51,6 +50,8 @@ buildPythonPackage rec {
tornado
];
checkInputs = [ pyarrow pytestCheckHook ];
postPatch = ''
# Is in setup_requires but not used in setup.py...
substituteInPlace setup.py --replace "'pytest-runner'" ""
@@ -58,8 +59,18 @@ buildPythonPackage rec {
# test_discover requires driver_with_entrypoints-0.1.dist-info, which is not included in tarball
# test_filtered_compressed_cache requires calvert_uk_filter.tar.gz, which is not included in tarball
checkPhase = ''
PATH=$out/bin:$PATH HOME=$(mktemp -d) pytest -k "not test_discover and not test_filtered_compressed_cache"
preCheck = ''
HOME=$TMPDIR
PATH=$out/bin:$PATH
'';
# disable tests which touch network
disabledTests = ''
"test_discover"
"test_filtered_compressed_cache"
"test_get_dir"
"test_remote_cat"
"http"
'';
meta = with lib; {

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "ipympl";
version = "0.5.7";
version = "0.5.8";
src = fetchPypi {
inherit pname version;
sha256 = "0cjsabsbn02vpf3yl0x9xdqgf4f707mbnz2hp2bn6zp9qnyyirx5";
sha256 = "0e2f2e540a2dfea61524b7993fc8552c9236b1aaa3826e1f382c75cb2fa5c382";
};
propagatedBuildInputs = [ ipywidgets matplotlib ];

View File

@@ -5,13 +5,13 @@
buildPythonPackage rec {
pname = "irc";
version = "19.0.0";
version = "19.0.1";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "29026b1e977dacb621c710ae9531fcab6fa21825b743c616c220da0e58a32233";
sha256 = "99fd5d1fa1d054dee4fbb81e0d5193dc1e8200db751d5da9a97850a62162b9ab";
};
doCheck = false;

View File

@@ -2,7 +2,9 @@
, buildPythonPackage
, fetchPypi
, isl
, pytest
, pybind11
, pytestCheckHook
, pythonOlder
, cffi
, six
}:
@@ -10,6 +12,7 @@
buildPythonPackage rec {
pname = "islpy";
version = "2020.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
@@ -21,16 +24,12 @@ buildPythonPackage rec {
--replace "\"pytest>=2\"," ""
'';
buildInputs = [ isl ];
checkInputs = [ pytest ];
propagatedBuildInputs = [
cffi
six
];
buildInputs = [ isl pybind11 ];
propagatedBuildInputs = [ six ];
checkPhase = ''
pytest test
'';
preCheck = "mv islpy islpy.hidden";
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "islpy" ];
meta = with lib; {
description = "Python wrapper around isl, an integer set library";

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python interface to iTerm2's scripting API";
homepage = "http://github.com/gnachman/iTerm2";
homepage = "https://github.com/gnachman/iTerm2";
license = licenses.gpl2;
maintainers = with maintainers; [ jeremyschlatter ];
};

View File

@@ -6,7 +6,7 @@
buildPythonPackage rec {
pname = "Jug";
version = "2.0.2";
version = "2.0.3";
buildInputs = [ nose numpy ];
propagatedBuildInputs = [
bottle
@@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "859a4b4cb26a0010299b189c92cfba626852c97a38e22f3d1b56e4e1d8ad8620";
sha256 = "3656355c1f9cd1731065c9d589f66d33653cbe5e0879cbe5d8447b51e4ddb4ec";
};
checkInputs = [ pytestCheckHook ];

View File

@@ -12,12 +12,12 @@
buildPythonPackage rec {
pname = "jupyter_console";
version = "6.1.0";
version = "6.2.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "06s3kr5vx0l1y1b7fxb04dmrppscl7q69sl9yyfr0d057d1ssvkg";
sha256 = "7f6194f4f4692d292da3f501c7f343ccd5e36c6a1becf7b7515e23e66d6bf1e9";
};
propagatedBuildInputs = [

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "jupyterlab";
version = "2.2.6";
version = "2.2.8";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "6554b022d2cd120100e165ec537c6511d70de7f89e253b3c667ea28f2a9263ff";
sha256 = "c8377bee30504919c1e79949f9fe35443ab7f5c4be622c95307e8108410c8b8c";
};
propagatedBuildInputs = [ jupyterlab_server notebook ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "ldap3";
version = "2.8";
version = "2.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "59d1adcd5ead263387039e2a37d7cd772a2006b1cdb3ecfcbaab5192a601c515";
sha256 = "37d633e20fa360c302b1263c96fe932d40622d0119f1bddcb829b03462eeeeb7";
};
propagatedBuildInputs = [ pyasn1 ];

View File

@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "apache-libcloud";
version = "3.1.0";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v";
sha256 = "1b14b1f5f91ceeff5cf228613e76577d7b41e790dccd53a0f647ef816fb5495c";
};
checkInputs = [ mock pytest pytestrunner requests-mock ];

View File

@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "limnoria";
version = "2020.07.01";
version = "2020.08.30";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "08q8krq8dqlvzz3wjgnki3n8d8qmk99pn7n3lfsim5rnrnx1jchb";
sha256 = "44d81682cdf246a0324638707a2ef0819aae8c84fc0e69daaaa57cbc3f9e18e1";
};
patchPhase = ''

View File

@@ -30,5 +30,6 @@ buildPythonPackage rec {
homepage = "https://localzone.iomaestro.com";
license = licenses.bsd3;
maintainers = with maintainers; [ flyfloh ];
broken = true; # incompatible with dnspython>=2.0.0
};
}

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "loguru";
version = "0.5.1";
version = "0.5.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "70201d5fce26da89b7a5f168caa2bb674e06b969829f56737db1d6472e53e7c3";
sha256 = "b28e72ac7a98be3d28ad28570299a393dfcd32e5e3f6a353dec94675767b6319";
};
checkInputs = [ pytestCheckHook colorama ];

View File

@@ -0,0 +1,27 @@
{ buildPythonPackage, freezegun, fetchFromGitHub, lib, pytestCheckHook
, pytest-mock, pytestrunner, six, tornado_4 }:
buildPythonPackage rec {
pname = "lomond";
version = "0.3.3";
src = fetchFromGitHub {
owner = "wildfoundry";
repo = "dataplicity-${pname}";
rev = "b30dad3cc38d5ff210c5dd01f8c3c76aa6c616d1";
sha256 = "0lydq0imala08wxdyg2iwhqa6gcdrn24ah14h91h2zcxjhjk4gv8";
};
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ six ];
checkInputs = [ pytestCheckHook freezegun pytest-mock tornado_4 ];
# Makes HTTP requests
disabledTests = [ "test_proxy" "test_live" ];
meta = with lib; {
description = "Websocket Client Library";
homepage = "https://github.com/wildfoundry/dataplicity-lomond";
license = licenses.bsd3;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@@ -12,7 +12,7 @@
, pillow
, scikitimage
, scipy
, tensorflow
, tensorflow_2
}:
buildPythonPackage rec {
@@ -39,7 +39,7 @@ buildPythonPackage rec {
pillow
scikitimage
scipy
tensorflow
tensorflow_2 # Keras only supports tensorflow 2 now
];
meta = with lib; {

View File

@@ -1,12 +1,12 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, funcsigs, pytest, numpy }:
buildPythonPackage rec {
version = "1.2.1";
version = "1.2.2";
pname = "mockito";
src = fetchPypi {
inherit pname version;
sha256 = "1ilj73bdk81v4l7ir6hbfvmslzbsxkgvz1asngbyf7w5gl2y5nyf";
sha256 = "d6b3aca6cdb92bbd47e19ebdb1a0b84ef23ab874eae5c6d505323c8657257c06";
};
propagatedBuildInputs = stdenv.lib.optionals (!isPy3k) [ funcsigs ];

View File

@@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "namedlist";
version = "1.7";
version = "1.8";
src = fetchPypi {
inherit pname version;
sha256 = "11n9c4a5ak9971awkf1g92m6mcmiprhrw98ik2cmjsqxmz73j2qr";
sha256 = "34f89fc992592c80b39a709e136edcf41ea17f24ba31eaf84a314a02c8b9bcef";
};
# Test file has a `unittest.main()` at the bottom that fails the tests;
@@ -26,7 +26,7 @@ buildPythonPackage rec {
meta = {
description = "Similar to namedtuple, but instances are mutable";
homepage = "https://bitbucket.org/ericvsmith/namedlist";
homepage = "https://gitlab.com/ericvsmith/namedlist";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ivan ];
};

View File

@@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "nbclient";
version = "0.4.3";
version = "0.5.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "311e14e463a300239c558a95023f6d1007c3f69f589bd51a76b1b6b3f19a7f4b";
sha256 = "8ad52d27ba144fca1402db014857e53c5a864a2f407be66ca9d74c3a56d6591d";
};
checkInputs = [ pytest xmltodict nbconvert ipywidgets ];

View File

@@ -40,8 +40,12 @@ buildPythonPackage rec {
six
];
# ignore impure tests
# Set HOME so that matplotlib doesn't try to use
# /homeless-shelter/.config/matplotlib, otherwise some of the tests fail for
# having an unexpected warning on stderr produced by matplotlib.
# Ignore impure tests.
checkPhase = ''
export HOME=$(mktemp -d)
pytest tests --ignore tests/test_timeouts.py
'';

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "nodeenv";
version = "1.3.5";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "7389d06a7ea50c80ca51eda1b185db7b9ec38af1304d12d8b8299d6218486e91";
sha256 = "ab45090ae383b716c4ef89e690c41ff8c2b257b85b309f01f3654df3d084bd7c";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,35 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, alsaUtils, libnotify, which, loguru, pytest }:
buildPythonPackage rec {
pname = "notify_py";
version = "0.2.3";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1i209xsff54hipdk9cg6va60fl33swg126yfgkg3wsgjmi6s07ca";
};
postPatch = ''
substituteInPlace setup.py \
--replace "loguru==0.4.1" "loguru~=0.5.0"
'';
propagatedBuildInputs = [ alsaUtils libnotify loguru which ];
checkInputs = [ alsaUtils libnotify pytest which ];
checkPhase = ''
pytest
'';
pythonImportsCheck = [ "notifypy" ];
meta = with lib; {
description = " Python Module for sending cross-platform desktop notifications on Windows, macOS, and Linux.";
homepage = "https://github.com/ms7m/notify-py/";
license = licenses.mit;
maintainers = with maintainers; [ austinbutler ];
};
}

View File

@@ -1,18 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pytestCheckHook, setuptools, structlog, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }:
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools, toml, structlog, appdirs, pytest-asyncio, flaky, tornado, pycurl, aiohttp, pytest-httpbin }:
buildPythonPackage rec {
pname = "nvchecker";
version = "1.7";
version = "2.0";
src = fetchPypi {
inherit pname version;
sha256 = "01be0e5587d346ad783b4b2dc45bd8eefe477081b33fff18cc2fdea58c2a38ef";
# Tests not included in PyPI tarball
src = fetchFromGitHub {
owner = "lilydjwg";
repo = pname;
rev = "v${version}";
sha256 = "13wa95pvivbyshq3ys12iyvn8wlyzxfia8l6xh3fd46a2cs9x9g7";
};
propagatedBuildInputs = [ setuptools structlog tornado pycurl aiohttp ];
propagatedBuildInputs = [ setuptools toml structlog appdirs tornado pycurl aiohttp ];
checkInputs = [ pytestCheckHook pytest-asyncio flaky pytest-httpbin ];
disabled = pythonOlder "3.5";
disabled = pythonOlder "3.7";
pytestFlagsArray = [ "-m 'not needs_net'" ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pastel";
version = "0.2.0";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6";
sha256 = "e6581ac04e973cac858828c6202c1e1e81fee1dc7de7683f3e1ffe0bfd8a573d";
};
checkInputs = [ pytest ];

View File

@@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pdf2image";
version = "1.13.1";
version = "1.14.0";
propagatedBuildInputs = [ pillow poppler_utils ];
src = fetchPypi {
inherit pname version;
sha256 = "1l3jic687vnji952f4dp66jwiprpxskja9v4ffw3bpr6gxgq4syz";
sha256 = "066527e1bf954762fb4369c677ae3bc15f2ce8707eee830cccef8471fde736d7";
};
meta = with stdenv.lib; {

View File

@@ -12,7 +12,7 @@ buildPythonPackage rec {
};
meta = {
homepage = "http://www.reflectometry.org/danse/software.html";
homepage = "https://www.reflectometry.org/danse/software.html";
description = "an extensible periodic table of the elements prepopulated with data important to neutron and x-ray scattering experiments";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ rprospero ];

View File

@@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "phonenumbers";
version = "8.12.8";
version = "8.12.10";
src = fetchPypi {
inherit pname version;
sha256 = "3a8b8f7b60ea00b83ca588b5ca57e48d9a3c223aa42f1a3d5fa88566424216c3";
sha256 = "d6e108352e7113c55cf0d92f8aede876a379580e46a3b9c2e779dc3601f11863";
};
meta = {

View File

@@ -16,7 +16,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pillow ];
meta = with stdenv.lib; {
description = "Pillow Fight";
description = "Eases the transition from PIL to Pillow for Python packages";
homepage = "https://github.com/beanbaginc/pillowfight";
license = licenses.mit;
};

View File

@@ -13,22 +13,16 @@
buildPythonPackage rec {
pname = "poetry-core";
version = "1.0.0a9";
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "python-poetry";
repo = pname;
rev = version;
sha256 = "1ln47x1bc1yvhdfwfnkqx4d2j7988a59v8vmcriw14whfgzfki75";
sha256 = "02pqkwzbg43xz2zsw8q7m0sfkj8wbw07in83gy0bk0znhljhp0vw";
};
# avoid mass-rebuild of python packages
postPatch = ''
substituteInPlace pyproject.toml \
--replace "^1.7.0" "^1.6.0"
'';
nativeBuildInputs = [
intreehooks
];
@@ -50,7 +44,7 @@ buildPythonPackage rec {
];
# requires git history to work correctly
disabledTests = [ "default_with_excluded_data" ];
disabledTests = [ "default_with_excluded_data" "default_src_with_excluded_data" ];
pythonImportsCheck = [ "poetry.core" ];

View File

@@ -7,14 +7,11 @@
, httpretty
, importlib-metadata
, intreehooks
, jsonschema
, keyring
, lockfile
, pexpect
, pkginfo
, pygments
, pyparsing
, pyrsistent
, poetry-core
, pytestCheckHook
, pytestcov
, pytest-mock
@@ -22,11 +19,12 @@
, requests-toolbelt
, shellingham
, tomlkit
, virtualenv
}:
buildPythonPackage rec {
pname = "poetry";
version = "1.0.10";
version = "1.1.0";
format = "pyproject";
disabled = isPy27;
@@ -34,19 +32,13 @@ buildPythonPackage rec {
owner = "python-poetry";
repo = pname;
rev = version;
sha256 = "00qfzjjs6clh93gfl1px3ma9km8qxl3f4z819nmyl58zc8ni3zyv";
sha256 = "0kl23dkq9n112z1pqjg6f1wv3qk77ij6q5glg15lwrj7yrl9k65c";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "pyrsistent = \"^0.14.2\"" "pyrsistent = \"^0.16.0\"" \
--replace "requests-toolbelt = \"^0.8.0\"" "requests-toolbelt = \"^0.9.1\"" \
--replace 'importlib-metadata = {version = "~1.1.3", python = "<3.8"}' \
'importlib-metadata = {version = ">=1.3,<2", python = "<3.8"}' \
--replace "tomlkit = \"^0.5.11\"" "tomlkit = \"<2\"" \
--replace "cleo = \"^0.7.6\"" "cleo = \"^0.8.0\"" \
--replace "version = \"^20.0.1\", python = \"^3.5\"" "version = \"^21.0.0\", python = \"^3.5\"" \
--replace "clikit = \"^0.4.2\"" "clikit = \"^0.6.2\""
--replace 'importlib-metadata = {version = "^1.6.0", python = "<3.8"}' \
'importlib-metadata = {version = ">=1.6,<2", python = "<3.8"}'
'';
nativeBuildInputs = [ intreehooks ];
@@ -57,17 +49,16 @@ buildPythonPackage rec {
cleo
clikit
html5lib
jsonschema
keyring
lockfile
pexpect
pkginfo
pyparsing
pyrsistent
poetry-core
requests
requests-toolbelt
shellingham
tomlkit
virtualenv
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
postInstall = ''
@@ -79,7 +70,7 @@ buildPythonPackage rec {
"$out/bin/poetry" completions fish > "$out/share/fish/vendor_completions.d/poetry.fish"
'';
checkInputs = [ pytestCheckHook httpretty pytest-mock pygments pytestcov ];
checkInputs = [ pytestCheckHook httpretty pytest-mock pytestcov ];
preCheck = "export HOME=$TMPDIR";
disabledTests = [
# touches network
@@ -88,10 +79,13 @@ buildPythonPackage rec {
"load"
"vcs"
"prereleases_if_they_are_compatible"
"test_executor"
# requires git history to work correctly
"default_with_excluded_data"
# toml ordering has changed
"lock"
# fs permission errors
"test_builder_should_execute_build_scripts"
];
meta = with lib; {

View File

@@ -16,11 +16,11 @@
buildPythonPackage rec {
pname = "progressbar2";
version = "3.51.4";
version = "3.53.1";
src = fetchPypi {
inherit pname version;
sha256 = "0dnfw8mdrz78gck4ibnv64cinbp5f7kw349wjgpwv53z6p7jiwhk";
sha256 = "ef72be284e7f2b61ac0894b44165926f13f5d995b2bf3cd8a8dedc6224b255a7";
};
propagatedBuildInputs = [ python-utils ];

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