Merge pull request #117452 from NixOS/python-unstable

Python packages set: major upgrades
This commit is contained in:
Frederik Rietdijk 2021-04-04 13:22:10 +02:00 committed by GitHub
commit 30f7de04ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
464 changed files with 2127 additions and 1799 deletions

View File

@ -30,7 +30,6 @@ python3.pkgs.buildPythonApplication rec {
++ optionals withDbusPython [ dbus-python ] ++ optionals withDbusPython [ dbus-python ]
++ optionals withPyInotify [ pyinotify ] ++ optionals withPyInotify [ pyinotify ]
++ optionals withMusicBrainzNgs [ musicbrainzngs ] ++ optionals withMusicBrainzNgs [ musicbrainzngs ]
++ optionals stdenv.isDarwin [ pyobjc ]
++ optionals withPahoMqtt [ paho-mqtt ]; ++ optionals withPahoMqtt [ paho-mqtt ];
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";

View File

@ -7,6 +7,7 @@
, glib , glib
, gtk3 , gtk3
, libnotify , libnotify
, scandir ? null
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {

View File

@ -23,7 +23,7 @@ buildPythonApplication rec {
dateutil gflags httplib2 parsedatetime six vobject dateutil gflags httplib2 parsedatetime six vobject
google-api-python-client oauth2client uritemplate google-api-python-client oauth2client uritemplate
libnotify libnotify
] ++ lib.optional (!isPy3k) futures; ];
# There are no tests as of 4.0.0a4 # There are no tests as of 4.0.0a4
doCheck = false; doCheck = false;

View File

@ -11,6 +11,14 @@ let
python3 = pkgs.python3.override { python3 = pkgs.python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
cypari2 = super.cypari2.overridePythonAttrs (oldAttrs: rec {
version = "2.1.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "df1ef62e771ec36e5a456f5fc8b51bc6745b70f0efdd0c7a30c3f0b5f1fb93db";
};
});
# `sagelib`, i.e. all of sage except some wrappers and runtime dependencies # `sagelib`, i.e. all of sage except some wrappers and runtime dependencies
sagelib = self.callPackage ./sagelib.nix { sagelib = self.callPackage ./sagelib.nix {
inherit flint arb; inherit flint arb;

View File

@ -69,12 +69,15 @@ with pkgs;
recursivePthLoader recursivePthLoader
; ;
}; };
optionalExtensions = cond: as: if cond then as else [];
python2Extension = import ../../../top-level/python2-packages.nix;
extensions = lib.composeManyExtensions ((optionalExtensions (!self.isPy3k) [python2Extension]) ++ [ overrides ]);
in lib.makeScopeWithSplicing in lib.makeScopeWithSplicing
pkgs.splicePackages pkgs.splicePackages
pkgs.newScope pkgs.newScope
otherSplices otherSplices
keep keep
(lib.extends overrides pythonPackagesFun)) (lib.extends extensions pythonPackagesFun))
{ {
overrides = packageOverrides; overrides = packageOverrides;
}; };

View File

@ -104,11 +104,13 @@ else
let let
inherit (python) stdenv; inherit (python) stdenv;
name_ = name;
self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [ self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
"disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format" "disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format"
]) // { ]) // {
name = namePrefix + name; name = namePrefix + name_;
nativeBuildInputs = [ nativeBuildInputs = [
python python

View File

@ -9,13 +9,19 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fabric"; pname = "fabric";
version = "2.5.0"; version = "2.6.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114"; sha256 = "47f184b070272796fd2f9f0436799e18f2ccba4ee8ee587796fca192acd46cd2";
}; };
# only relevant to python < 3.4
postPatch = ''
substituteInPlace setup.py \
--replace ', "pathlib2"' ' '
'';
propagatedBuildInputs = [ invoke paramiko cryptography ]; propagatedBuildInputs = [ invoke paramiko cryptography ];
checkInputs = [ pytest mock pytest-relaxed ]; checkInputs = [ pytest mock pytest-relaxed ];

View File

@ -10,12 +10,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "GitPython"; pname = "GitPython";
version = "3.1.13"; version = "3.1.14";
disabled = isPy27; # no longer supported disabled = isPy27; # no longer supported
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-hiGn53fidqXsg4tZKAulJy3RRKGBacNskD2LOLmfdQo="; sha256 = "be27633e7509e58391f10207cd32b2a6cf5b908f92d9cd30da2e514e1137af61";
}; };
patches = [ patches = [

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Markups"; pname = "Markups";
version = "3.0.0"; version = "3.1.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1ea19458dfca6a4562044e701aa8698089a0c659fc535689ed260f89a04f8d39"; sha256 = "e309d79dde0935576ce1def6752f2127a12e2c2ea2ae8b0c69f99ff8bc12181d";
}; };
checkInputs = [ markdown docutils pygments ]; checkInputs = [ markdown docutils pygments ];

View File

@ -3,7 +3,6 @@
, fetchPypi , fetchPypi
, fetchpatch , fetchpatch
, docutils , docutils
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,7 +25,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ docutils ]; propagatedBuildInputs = [ docutils ];
checkInputs = [ pytestCheckHook ]; # Circular dependency with sphinx
doCheck = false;
meta = { meta = {
homepage = "https://pygments.org/"; homepage = "https://pygments.org/";

View File

@ -2,23 +2,22 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, docutils , docutils
, pytestCheckHook
, doCheck ? true
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "Pygments"; pname = "Pygments";
version = "2.7.4"; version = "2.8.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "df49d09b498e83c1a73128295860250b0b7edd4c723a32e9bc0d295c7c2ec337"; sha256 = "153zyxigm879sk2n71lfv03y2pgxb7dl0dlsbwkz9aydxnkf2mi6";
}; };
propagatedBuildInputs = [ docutils ]; propagatedBuildInputs = [ docutils ];
inherit doCheck; # Circular dependency with sphinx
checkInputs = [ pytestCheckHook ]; doCheck = false;
pythonImportsCheck = [ "pygments" ];
meta = { meta = {
homepage = "https://pygments.org/"; homepage = "https://pygments.org/";

View File

@ -8,11 +8,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "absl-py"; pname = "absl-py";
version = "0.11.0"; version = "0.12.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "673cccb88d810e5627d0c1c818158485d106f65a583880e2f730c997399bcfa7"; sha256 = "b44f68984a5ceb2607d135a615999b93924c771238a63920d17d3387b0d229d5";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -10,12 +10,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiobotocore"; pname = "aiobotocore";
version = "1.1.2"; version = "1.2.2";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1fn9hgcg3qr9f7srjxc21bzkiix4al9308531slwlm99r0x3xcjl"; sha256 = "37c23166603a3bd134e5f6fc22dbbf8c274d4d24c71418fba292ed2cd7a0bf43";
}; };
# relax version constraints: aiobotocore works with newer botocore versions # relax version constraints: aiobotocore works with newer botocore versions

View File

@ -1,5 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib, buildPythonPackage, fetchPypi, pythonOlder
, isPy27, isPyPy, python, pycares, typing, trollius }: , isPy27, isPyPy, python, pycares, typing ? null
, trollius ? null
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiodns"; pname = "aiodns";

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, eventlet , eventlet
, trollius , trollius ? null
, mock , mock
, python , python
}: }:

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib, buildPythonPackage, fetchPypi, pythonOlder
, typing, aiohttp , typing ? null, aiohttp
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -5,11 +5,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "alembic"; pname = "alembic";
version = "1.4.3"; version = "1.5.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "5334f32314fb2a56d86b4c4dd1ae34b08c03cae4cb888bc699942104d66bc245"; sha256 = "e27fd67732c97a1c370c33169ef4578cf96436fa0e7dcfaeeef4a917d0737d56";
}; };
buildInputs = [ pytest pytestcov mock coverage ]; buildInputs = [ pytest pytestcov mock coverage ];

View File

@ -12,7 +12,7 @@
, six , six
, sphinx , sphinx
, toolz , toolz
, typing , typing ? null
, vega_datasets , vega_datasets
}: }:

View File

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

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "arabic_reshaper"; pname = "arabic_reshaper";
version = "2.1.1"; version = "2.1.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "zzGPpdUdLSJPpJv2vbu0aE9r0sBot1z84OYH+JrBmdw="; sha256 = "a236fc6e9dde2a61cc6a5ca962b522e42694e1bb2a2d86894ed7a4eba4ce1890";
}; };
propagatedBuildInputs = [ future ] propagatedBuildInputs = [ future ]

View File

@ -0,0 +1,40 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, nose, chai, simplejson, backports_functools_lru_cache
, python-dateutil, pytz, pytest-mock, sphinx, dateparser, pytestcov
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "arrow";
version = "0.17.0";
src = fetchPypi {
inherit pname version;
sha256 = "ff08d10cda1d36c68657d6ad20d74fbea493d980f8b2d45344e00d6ed2bf6ed4";
};
propagatedBuildInputs = [ python-dateutil ]
++ lib.optionals isPy27 [ backports_functools_lru_cache ];
checkInputs = [
dateparser
pytestCheckHook
pytestcov
pytest-mock
pytz
simplejson
sphinx
];
# ParserError: Could not parse timezone expression "America/Nuuk"
disabledTests = [
"test_parse_tz_name_zzz"
];
meta = with lib; {
description = "Python library for date manipulation";
homepage = "https://github.com/crsmithdev/arrow";
license = licenses.asl20;
maintainers = with maintainers; [ thoughtpolice ];
};
}

View File

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "arrow"; pname = "arrow";
version = "0.17.0"; version = "1.0.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "ff08d10cda1d36c68657d6ad20d74fbea493d980f8b2d45344e00d6ed2bf6ed4"; sha256 = "399c9c8ae732270e1aa58ead835a79a40d7be8aa109c579898eb41029b5a231d";
}; };
propagatedBuildInputs = [ python-dateutil ] propagatedBuildInputs = [ python-dateutil ]

View File

@ -22,13 +22,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "arviz"; pname = "arviz";
version = "0.10.0"; version = "0.11.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "arviz-devs"; owner = "arviz-devs";
repo = "arviz"; repo = "arviz";
rev = "v${version}"; rev = "v${version}";
sha256 = "1cnj972knkvi084cfcpc12lv0wxm8xm9clfd55r3hvv42g1ms5d9"; sha256 = "0npwrpy262y6zqd0znz4w7ikfdyz4kc4gikmkpj6h1j6vxggrfaa";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -11,13 +11,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "astroid"; pname = "astroid";
version = "2.5"; version = "2.5.1";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "03dzhjrsc5d2whyjngfrwvxn42058k0cjjr85x2wqzai8psr475k"; sha256 = "cfc35498ee64017be059ceffab0a25bedf7548ab76f2bea691c5565896e7128d";
}; };
# From astroid/__pkginfo__.py # From astroid/__pkginfo__.py

View File

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "astropy-healpix"; pname = "astropy-healpix";
version = "0.5"; version = "0.6";
doCheck = false; # tests require pytest-astropy doCheck = false; # tests require pytest-astropy
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1bfdq33mj6mwk5fkc6n23f9bc9z8j7kmvql3zchz4h58jskmvqas"; sha256 = "409a6621c383641456c074f0f0350a24a4a58e910eaeef14e9bbce3e00ad6690";
}; };
propagatedBuildInputs = [ numpy astropy astropy-helpers ]; propagatedBuildInputs = [ numpy astropy astropy-helpers ];

View File

@ -17,11 +17,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "atlassian-python-api"; pname = "atlassian-python-api";
version = "2.1.2"; version = "3.8.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f852bfd293fdcb0ab2d7a9ea907f8303cf14fe6f55e90c103d4de00393ea9555"; sha256 = "7ef384a91a790c807336e2bd6b7554284691aadd6d7413d199baf752dd84c53e";
}; };
checkInputs = [ pytestrunner pytest ]; checkInputs = [ pytestrunner pytest ];

View File

@ -1,14 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, { lib, buildPythonPackage, fetchPypi, isPy3k,
six, txaio, twisted, zope_interface, cffi, trollius, futures, six, txaio, twisted, zope_interface, cffi,
trollius ? null, futures ? null,
mock, pytest, cryptography, pynacl mock, pytest, cryptography, pynacl
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "autobahn"; pname = "autobahn";
version = "20.12.3"; version = "21.3.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "15b8zm7jalwisfwc08szxy3bh2bnn0hd41dbsnswi0lqwbh962j1"; sha256 = "e126c1f583e872fb59e79d36977cfa1f2d0a8a79f90ae31f406faae7664b8e03";
}; };
propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++ propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++

View File

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

View File

@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aws-lambda-builders"; pname = "aws-lambda-builders";
version = "1.1.0"; version = "1.3.0";
# No tests available in PyPI tarball # No tests available in PyPI tarball
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "awslabs"; owner = "awslabs";
repo = "aws-lambda-builders"; repo = "aws-lambda-builders";
rev = "v${version}"; rev = "v${version}";
sha256 = "1r4939m5k1nj6l9bv972z4fkmkl0z5f5r29bq7588yk113kkqr0c"; sha256 = "1cfacp0a5qsaf3crcybslhbfwm1mqfyafj71dlvnidzx7b9bm60v";
}; };
# Package is not compatible with Python 3.5 # Package is not compatible with Python 3.5

View File

@ -10,11 +10,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aws-sam-translator"; pname = "aws-sam-translator";
version = "1.32.0"; version = "1.35.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "jL+sAlKbeXA1QeJVQbAcgIaPEbD/Ko+QMrI1Ew2dVq4="; sha256 = "5cf7faab3566843f3b44ef1a42a9c106ffb50809da4002faab818076dcc7bff8";
}; };
# Tests are not included in the PyPI package # Tests are not included in the PyPI package

View File

@ -12,11 +12,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aws-xray-sdk"; pname = "aws-xray-sdk";
version = "2.6.0"; version = "2.7.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "abf5b90f740e1f402e23414c9670e59cb9772e235e271fef2bce62b9100cbc77"; sha256 = "697c9068e84dd5d2c1456def3fd0865f226046b5db4db56d738050e425960adf";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -5,7 +5,7 @@
, azure-common , azure-common
, azure-storage-common , azure-storage-common
, azure-cosmosdb-nspkg , azure-cosmosdb-nspkg
, futures , futures ? null
, isPy3k , isPy3k
}: }:

View File

@ -4,7 +4,7 @@
, requests , requests
, adal , adal
, azure-common , azure-common
, futures , futures ? null
, pathlib2 , pathlib2
, isPy3k , isPy3k
}: }:

View File

@ -6,12 +6,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-synapse"; pname = "azure-mgmt-synapse";
version = "0.7.0"; version = "1.0.0";
disabled = pythonOlder "3"; disabled = pythonOlder "3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3cf37df471f75441b0afe98a0f3a548434e9bc6a6426dca8c089950b5423f63f"; sha256 = "d5514dfef93294a2d9b8ff6fdb353b3102abd5750f147d904e6012f24113ff9c";
extension = "zip"; extension = "zip";
}; };

View File

@ -5,7 +5,7 @@
, azure-common , azure-common
, azure-core , azure-core
, msrestazure , msrestazure
, futures , futures ? null
, isPy3k , isPy3k
}: }:

View File

@ -6,7 +6,7 @@
, azure-storage-common , azure-storage-common
, msrest , msrest
, isPy3k , isPy3k
, futures , futures ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -7,7 +7,7 @@
, azure-core , azure-core
, cryptography , cryptography
, msrest , msrest
, futures , futures ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -4,7 +4,7 @@
, azure-common , azure-common
, azure-storage-common , azure-storage-common
, isPy3k , isPy3k
, futures , futures ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -3,7 +3,7 @@
, fetchPypi , fetchPypi
, python , python
, azure-common , azure-common
, futures , futures ? null
, dateutil , dateutil
, requests , requests
, isPy3k , isPy3k

View File

@ -3,13 +3,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "b2sdk"; pname = "b2sdk";
version = "1.2.0"; version = "1.4.0";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8e46ff9d47a9b90d8b9beab1969fcf4920300b02e20e6bf0745be04e09e8a6ff"; sha256 = "fb82cbaef5dd7499b62622010fc8e328944ca8cbdd00b485530ab6600de1129d";
}; };
pythonImportsCheck = [ "b2sdk" ]; pythonImportsCheck = [ "b2sdk" ];

View File

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "backports.functools_lru_cache"; pname = "backports.functools_lru_cache";
version = "1.6.1"; version = "1.6.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a"; sha256 = "d84e126e2a29e4fde8931ff8131240bbf30a0e7dbcc3897a8dbd8ea5ac11419c";
}; };
nativeBuildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];

View File

@ -15,8 +15,8 @@
, cryptography , cryptography
, isPy27 , isPy27
, isPy3k , isPy3k
, funcsigs , funcsigs ? null
, pycryptopp , pycryptopp ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -23,13 +23,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "binwalk"; pname = "binwalk";
version = "2.2.0"; version = "27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ReFirmLabs"; owner = "ReFirmLabs";
repo = "binwalk"; repo = "binwalk";
rev = "v${version}"; rev = "python${version}";
sha256 = "1bxgj569fzwv6jhcbl864nmlsi9x1k1r20aywjxc8b9b1zgqrlvc"; sha256 = "03kqhs3j9czdc2pnr1v8iszwx254ljpvrmmj0j5ls0ssjrfxacyx";
}; };
propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract squashfsTools lzma pycrypto ] propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract squashfsTools lzma pycrypto ]

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, progressbar231, progressbar33, mock }: { lib, buildPythonPackage, fetchPypi, isPy3k, progressbar231 ? null, progressbar33, mock }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bitmath"; pname = "bitmath";

View File

@ -4,11 +4,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "blessed"; pname = "blessed";
version = "1.17.12"; version = "1.18.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "580429e7e0c6f6a42ea81b0ae5a4993b6205c6ccbb635d034b4277af8175753e"; sha256 = "1312879f971330a1b7f2c6341f2ae7e2cbac244bfc9d0ecfbbecd4b0293bc755";
}; };
checkInputs = [ pytest mock glibcLocales ]; checkInputs = [ pytest mock glibcLocales ];

View File

@ -1,6 +1,6 @@
{ buildPythonPackage { buildPythonPackage
, fetchPypi , fetchPypi
, futures , futures ? null
, isPy27 , isPy27
, isPyPy , isPyPy
, jinja2 , jinja2

View File

@ -4,7 +4,7 @@
, botocore , botocore
, jmespath , jmespath
, s3transfer , s3transfer
, futures , futures ? null
, docutils , docutils
, nose , nose
, mock , mock

View File

@ -12,11 +12,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bpython"; pname = "bpython";
version = "0.20.1"; version = "0.21";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "6e7738806013b469be57b0117082b9c4557ed7c92c70ceb79f96d674d89c7503"; sha256 = "88aa9b89974f6a7726499a2608fa7ded216d84c69e78114ab2ef996a45709487";
}; };
patches = [ (substituteAll { patches = [ (substituteAll {

View File

@ -2,14 +2,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "brotli"; pname = "brotli";
version = "1.0.7"; version = "1.0.9";
# PyPI doesn't contain tests so let's use GitHub # PyPI doesn't contain tests so let's use GitHub
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1811b55wdfg4kbsjcgh1kc938g118jpvif97ilgrmbls25dfpvvw"; sha256 = "1rdp9rx197q467ixp53g4cgc3jbsdaxr62pz0a8ayv2lvm944azh";
# for some reason, the test data isn't captured in releases, force a git checkout
deepClone = true;
}; };
dontConfigure = true; dontConfigure = true;

View File

@ -12,7 +12,7 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, toml , toml
, typing , typing ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -5,7 +5,7 @@
, isPy27 , isPy27
, aenum , aenum
, wrapt , wrapt
, typing , typing ? null
, pyserial , pyserial
, nose , nose
, mock , mock

View File

@ -7,7 +7,7 @@
, click , click
, future , future
, pathlib2 , pathlib2
, typing , typing ? null
, lxml , lxml
, xlwt , xlwt
, xlrd , xlrd

View File

@ -1,7 +1,7 @@
{ stdenv, lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder { stdenv, lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder
, cython , cython
, eventlet , eventlet
, futures , futures ? null
, iana-etc , iana-etc
, geomet , geomet
, libev , libev

View File

@ -21,13 +21,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cfn-lint"; pname = "cfn-lint";
version = "0.42.0"; version = "0.48.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws-cloudformation"; owner = "aws-cloudformation";
repo = "cfn-python-lint"; repo = "cfn-python-lint";
rev = "v${version}"; rev = "v${version}";
sha256 = "0cqpq7pxpslpd7am6mp6nmwhsb2p2a5lq3hjjxi8imv3wv7zql98"; sha256 = "03j5w9cyvpbxh634jd2dhkgfs3c2hmgqh77w664855lgy2ph9zll";
}; };
postPatch = '' postPatch = ''

View File

@ -15,18 +15,18 @@
, pyyaml , pyyaml
, setuptools , setuptools
, six , six
, typing , typing ? null
, watchdog , watchdog
, wheel , wheel
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "chalice"; pname = "chalice";
version = "1.21.9"; version = "1.22.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "312f88838c8ea4b4ac79dce0e5b4ba3125130ca66ea99a4694f535501dca95e3"; sha256 = "5a84a73c4a8d8b22bb64e06ff99060d7f222097db4237e58749dcad5165f082d";
}; };
checkInputs = [ watchdog pytest hypothesis mock ]; checkInputs = [ watchdog pytest hypothesis mock ];

View File

@ -0,0 +1,29 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, pytest, pytestrunner, hypothesis }:
buildPythonPackage rec {
pname = "chardet";
version = "3.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
};
patches = [
# Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174
(fetchpatch {
url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch";
sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q";
})
];
checkInputs = [ pytest pytestrunner hypothesis ];
meta = with lib; {
homepage = "https://github.com/chardet/chardet";
description = "Universal encoding detector";
license = licenses.lgpl2;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -1,29 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch { lib
, pytest, pytestrunner, hypothesis }: , buildPythonPackage
, fetchPypi
, hypothesis
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "chardet"; pname = "chardet";
version = "3.0.4"; version = "4.0.0";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"; sha256 = "sha256-DW9ToV20Eg8rCMlPEefZPSyRHuEYtrMKBOw+6DEBefo=";
}; };
patches = [ checkInputs = [
# Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174 hypothesis
(fetchpatch { pytestCheckHook
url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch";
sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q";
})
]; ];
checkInputs = [ pytest pytestrunner hypothesis ]; pythonImportsCheck = [ "chardet" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/chardet/chardet";
description = "Universal encoding detector"; description = "Universal encoding detector";
license = licenses.lgpl2; homepage = "https://github.com/chardet/chardet";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ domenkozar ]; maintainers = with maintainers; [ domenkozar ];
}; };
} }

View File

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "chart-studio"; pname = "chart-studio";
version = "1.1.0"; version = "4.14.3";
# chart-studio was split from plotly # chart-studio was split from plotly
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "plotly"; owner = "plotly";
repo = "plotly.py"; repo = "plotly.py";
rev = "${pname}-v${version}"; rev = "v${version}";
sha256 = "1q3j3ih5k0jhr8ilwffkfxp1nifpnjnx7862bzhxfg4d386hfg4i"; sha256 = "1yrrcn9032r3l8y2cc1wvpydg4rkqvgkpyv1s7znby5mrxa1rjma";
}; };
sourceRoot = "source/packages/python/chart-studio"; sourceRoot = "source/packages/python/chart-studio";

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Cheetah3"; pname = "Cheetah3";
version = "3.2.6"; version = "3.2.6.post1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b"; sha256 = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967";
}; };
doCheck = false; # Circular dependency doCheck = false; # Circular dependency

View File

@ -22,13 +22,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cheroot"; pname = "cheroot";
version = "8.4.8"; version = "8.5.2";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0r98qqdp9ww5r5ma6wf1n66r9813rrmfvc54z7yij39jkj5c528h"; sha256 = "f137d03fd5155b1364bea557a7c98168665c239f6c8cedd8f80e81cdfac01567";
}; };
nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ]; nativeBuildInputs = [ setuptools_scm setuptools-scm-git-archive ];

View File

@ -4,7 +4,7 @@
lib, lib,
nose, nose,
six, six,
typing, typing ? null,
isPy27, isPy27,
}: }:

View File

@ -4,7 +4,7 @@
, pytest , pytest
, click , click
, isPy3k , isPy3k
, futures , futures ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {

View File

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi
, isPy27, pythonAtLeast , isPy27, pythonAtLeast
, pylev, pastel, typing, enum34, crashtest }: , pylev, pastel, typing ? null, enum34 ? null, crashtest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "clikit"; pname = "clikit";

View File

@ -2,13 +2,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cocotb"; pname = "cocotb";
version = "1.4.0"; version = "1.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0fv0mg8zh40ffq0q39s195y6hvjrzihpx0i3f7ba5881syw3x7p4"; sha256 = "02bw2i03vd4rcvdk10qdjl2lbvvy81cn9qpr8vzq8cm9h45689mv";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "configparser"; pname = "configparser";
version = "5.0.1"; version = "5.0.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "005c3b102c96f4be9b8f40dafbd4997db003d07d1caa19f37808be8031475f2a"; sha256 = "85d5de102cfe6d14a5172676f09d19c465ce63d6019cf0a4ef13385fc535e828";
}; };
# No tests available # No tests available

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }: { lib, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro ? null, futures ? null, enum34 ? null }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.6.0"; version = "1.6.0";

View File

@ -26,7 +26,7 @@
, six , six
, swagger-ui-bundle , swagger-ui-bundle
, testfixtures , testfixtures
, typing , typing ? null
, ujson , ujson
}: }:

View File

@ -1,10 +1,11 @@
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder { lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
, six, pytestCheckHook, pytest-benchmark, numpy, arrow, ruamel_yaml , six, pytestCheckHook, pytest-benchmark, numpy, arrow, ruamel_yaml
, lz4, cloudpickle
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "construct"; pname = "construct";
version = "2.10.56"; version = "2.10.63";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -13,10 +14,15 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1j4mqwyxkbdcsnnk5bbdcljv855w4fglaqc94q1xdzm8kgjxk4mr"; sha256 = "0dnj815qdxrn0q6bpwsmkca2jy02gjy6d3amqg4y6gha1kc1mymv";
}; };
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml ]; # not an explicit dependency, but it's imported by an entrypoint
propagatedBuildInputs = [
lz4
];
checkInputs = [ pytestCheckHook pytest-benchmark numpy arrow ruamel_yaml cloudpickle ];
disabledTests = lib.optionals stdenv.isDarwin [ "test_multiprocessing" ]; disabledTests = lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];

View File

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

View File

@ -16,13 +16,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "coveralls"; pname = "coveralls";
version = "2.2.0"; version = "3.0.1";
disabled = isPy27; disabled = isPy27;
# wanted by tests # wanted by tests
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b990ba1f7bc4288e63340be0433698c1efe8217f78c689d254c2540af3d38617"; sha256 = "cbb942ae5ef3d2b55388cb5b43e93a269544911535f1e750e1c656aef019ce60";
}; };
checkInputs = [ checkInputs = [

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, pythonOlder, blessings, mock, nose, pyte, wcwidth, typing }: { lib, buildPythonPackage, fetchPypi, fetchpatch, pythonOlder, blessings, mock, nose, pyte, wcwidth, typing ? null}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "curtsies"; pname = "curtsies";

View File

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

View File

@ -11,12 +11,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.4.0"; version = "0.5.0";
pname = "dask-image"; pname = "dask-image";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a6873a39af21b856a4eb7efee6838e6897b1399f21ab9e65403e69eb62f96c2d"; sha256 = "0bf7ea8dcd9d795505b498bd632394720c048f50761e23c574d9a6bacfb27cbb";
}; };
nativeBuildInputs = [ pytest-flake8 ]; nativeBuildInputs = [ pytest-flake8 ];

View File

@ -4,7 +4,7 @@
, pythonOlder , pythonOlder
, decorator , decorator
, requests , requests
, typing , typing ? null
, configparser , configparser
, click , click
, freezegun , freezegun
@ -17,11 +17,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "datadog"; pname = "datadog";
version = "0.39.0"; version = "0.40.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "b0ef69a27aad0e4412c1ac3e6894fa1b5741db735515c34dfe1606d8cf30e4e5"; sha256 = "438c1dde5462e68c5c792b7b4a1d87a0ddd970af3db31b3cf15980eed0c44311";
}; };
postPatch = '' postPatch = ''

View File

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "deepdiff"; pname = "deepdiff";
version = "5.0.2"; version = "5.2.3";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e2b74af4da0ef9cd338bb6e8c97242c1ec9d81fcb28298d7bb24acdc19ea79d7"; sha256 = "ae2cb98353309f93fbfdda4d77adb08fb303314d836bb6eac3d02ed71a10b40e";
}; };
# # Extra packages (may not be necessary) # # Extra packages (may not be necessary)

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "defusedxml"; pname = "defusedxml";
version = "0.7.0"; version = "0.7.1";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "183fz8xwclhkirwpvpldyypn47r8lgzfz2mk9jgyg7b37jg5vcc6"; sha256 = "1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69";
}; };
checkPhase = '' checkPhase = ''

View File

@ -9,11 +9,11 @@ in
buildPythonPackage rec { buildPythonPackage rec {
pname = "dependency-injector"; pname = "dependency-injector";
version = "4.10.3"; version = "4.31.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "93db83fac85bcb861469c0db1af11f4bc874aa2f9380151189a05d38c21afd60"; sha256 = "b6b28b9571f44d575367c6005ba8aaa9fd2b70310e1c15410925d6f1ee2769ad";
}; };
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];

View File

@ -16,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "diff_cover"; pname = "diff_cover";
version = "4.0.1"; version = "5.0.1";
preCheck = '' preCheck = ''
export LC_ALL=en_US.UTF-8; export LC_ALL=en_US.UTF-8;
@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "61a98ec126552d985c0e3e3c33cc72e79d7577f91f6edba99f635411a173d3b9"; sha256 = "e80f7a4979b7a9d373903776588279ed2898f17729e608255c4119462c822edb";
}; };
propagatedBuildInputs = [ jinja2 jinja2_pluralize pygments six inflect ]; propagatedBuildInputs = [ jinja2 jinja2_pluralize pygments six inflect ];

View File

@ -11,7 +11,7 @@
, shortuuid , shortuuid
, six , six
, tox , tox
, typing , typing ? null
, vobject , vobject
, werkzeug , werkzeug
}: }:

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k { lib, buildPythonPackage, fetchFromGitHub, isPy3k
, django, futures, mock, jinja2, jsmin, slimit }: , django, futures ? null, mock ? null, jinja2, jsmin, slimit }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-pipeline"; pname = "django-pipeline";

View File

@ -7,11 +7,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-treebeard"; pname = "django-treebeard";
version = "4.4"; version = "4.5.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f50e4eea146f7af6702decf7ef198ac1eee1fb9bb4af2c5dba276c3c48f76623"; sha256 = "80150017725239702054e5fa64dc66e383dc13ac262c8d47ee5a82cb005969da";
}; };
buildInputs = [ pytest ]; buildInputs = [ pytest ];

View File

@ -2,13 +2,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dnspython"; pname = "dnspython";
version = "2.0.0"; version = "2.1.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7"; sha256 = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4";
}; };
# needs networking for some tests # needs networking for some tests

View File

@ -2,7 +2,7 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27 , isPy27
, futures , futures ? null
, docloud , docloud
, requests , requests
}: }:

View File

@ -3,11 +3,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "dropbox"; pname = "dropbox";
version = "10.10.0"; version = "11.4.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "df43e9e0bdcae6d610dd754a5ec72f2f91a311bbc2c8a28d076df69695b18398"; sha256 = "7ba43384029424779a4b3ec8d5832362c5c0f37cd644be2fb87e2b30a569849e";
}; };
# Set DROPBOX_TOKEN environment variable to a valid token. # Set DROPBOX_TOKEN environment variable to a valid token.

View File

@ -7,11 +7,11 @@
buildPythonPackage (rec { buildPythonPackage (rec {
pname = "elasticsearch"; pname = "elasticsearch";
version = "7.11.0"; version = "7.12.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1e24b33a82bf381b42d3b0d390f76fdb9d6a9d47b310dea8eaeb0a5933c394c0"; sha256 = "9a77172be02bc4855210d83f0f1346a1e7d421e3cb2ca47ba81ac0c5a717b3a0";
}; };
# Check is disabled because running them destroy the content of the local cluster! # Check is disabled because running them destroy the content of the local cluster!

View File

@ -1,18 +1,29 @@
{ lib, fetchPypi, buildPythonPackage, pythonOlder, pytest, pysha3, pycrypto, { lib, fetchPypi, buildPythonPackage, pythonOlder, pytest, pysha3, pycrypto
pycryptodome }: , pycryptodome
, eth-utils
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "eth-hash"; pname = "eth-hash";
version = "0.2.0"; version = "0.3.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0xpiz0wrxxj11ki9yapvsibl25qnki90bl3d39nqascg14nw17a9"; sha256 = "aee46d9c43b98ac6d4ddf957cf75d4d0a5174ee814cc6b53dd6134dcedb459bf";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];
propagatedBuildInputs = [ pysha3 pycrypto pycryptodome ]; propagatedBuildInputs = [
pysha3
pycrypto
pycryptodome
];
pipInstallFlags = [
# Circular dependency on eth-utils
"--no-dependencies"
];
# setuptools-markdown uses pypandoc which is broken at the moment # setuptools-markdown uses pypandoc which is broken at the moment
preConfigure = '' preConfigure = ''

View File

@ -3,7 +3,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "eth-utils"; pname = "eth-utils";
version = "1.9.5"; version = "1.10.0";
# Tests are missing from the PyPI source tarball so let's use GitHub # Tests are missing from the PyPI source tarball so let's use GitHub
# https://github.com/ethereum/eth-utils/issues/130 # https://github.com/ethereum/eth-utils/issues/130
@ -11,7 +11,7 @@ buildPythonPackage rec {
owner = "ethereum"; owner = "ethereum";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1h3xlw74zdf6cfvqf9193lx05bpdm05pmy9ap1g7q2kx0j2b6352"; sha256 = "sha256-sq3H4HmUFUipqVYleZxWLG1gBsQEoNwcZAXiKckacek=";
}; };
checkInputs = [ pytestCheckHook hypothesis ]; checkInputs = [ pytestCheckHook hypothesis ];

View File

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

View File

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "exchangelib"; pname = "exchangelib";
version = "3.2.1"; version = "4.1.0";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
# tests are not present in the PyPI version # tests are not present in the PyPI version
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "ecederstrand"; owner = "ecederstrand";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1sh780q2iwdm3bnlnfdacracf0n7jhbv0g39cdx65v3d510zp4jv"; sha256 = "0lkhjiz78x00d5gzn455660f31f8y4fcrqcn6rh0m41r1ar5im17";
}; };
checkInputs = [ psutil requests-mock pyyaml checkInputs = [ psutil requests-mock pyyaml

View File

@ -11,11 +11,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Faker"; pname = "Faker";
version = "5.5.1"; version = "6.6.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1bskhmiir1ajipj7j535j2mxgnp6s3mxbvlag4aryj9zbhgg1c19"; sha256 = "f43ac743c34affb1c7fccca8b06450371cd482b6ddcb4110e420acb24356e70b";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -3,24 +3,36 @@
, fetchPypi , fetchPypi
, six , six
, monotonic , monotonic
, diskcache
, more-itertools
, testtools , testtools
, isPy3k , isPy3k
, nose , nose
, futures , futures ? null
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "fasteners"; pname = "fasteners";
version = "0.15"; version = "0.16";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef"; sha256 = "c995d8c26b017c5d6a6de9ad29a0f9cdd57de61ae1113d28fac26622b06a0933";
}; };
propagatedBuildInputs = [ six monotonic ]; propagatedBuildInputs = [
six
monotonic
];
checkInputs = [ testtools nose ] ++ lib.optionals (!isPy3k) [ futures ]; checkInputs = [
diskcache
more-itertools
testtools
nose
] ++ lib.optionals (!isPy3k) [
futures
];
checkPhase = '' checkPhase = ''
nosetests nosetests

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastrlock"; pname = "fastrlock";
version = "0.5"; version = "0.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "9ae1a31f6e069b5f0f28ba63c594d0c952065de0a375f7b491d21ebaccc5166f"; sha256 = "9f5d6ec9fe130b7490bb04572134392420b72bd0842185e02d461a797d6bc749";
}; };
meta = with lib; { meta = with lib; {

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fido2"; pname = "fido2";
version = "0.8.1"; version = "0.9.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1hzprnd407g2xh9kyv8j8pq949hwr1snmg3fp65pqfbghzv6i424"; sha256 = "8680ee25238e2307596eb3900a0f8c0d9cc91189146ed8039544f1a3a69dfe6e";
}; };
propagatedBuildInputs = [ six cryptography ]; propagatedBuildInputs = [ six cryptography ];

View File

@ -1,15 +1,15 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder { lib, buildPythonPackage, fetchPypi, pythonOlder
, mock, pytest, pytestrunner , mock, pytest, pytestrunner
, configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing, importlib-metadata , configparser, enum34, mccabe, pycodestyle, pyflakes, functools32, typing ? null, importlib-metadata
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "flake8"; pname = "flake8";
version = "3.8.4"; version = "3.9.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b"; sha256 = "78873e372b12b093da7b5e5ed302e8ad9e988b38b063b61ad937f26ca58fc5f0";
}; };
checkInputs = [ pytest mock pytestrunner ]; checkInputs = [ pytest mock pytestrunner ];

View File

@ -2,12 +2,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-Caching"; pname = "Flask-Caching";
version = "1.9.0"; version = "1.10.1";
disabled = isPy27; # invalid python2 syntax disabled = isPy27; # invalid python2 syntax
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a0356ad868b1d8ec2d0e675a6fe891c41303128f8904d5d79e180d8b3f952aff"; sha256 = "cf19b722fcebc2ba03e4ae7c55b532ed53f0cbf683ce36fafe5e881789a01c00";
}; };
propagatedBuildInputs = [ flask ]; propagatedBuildInputs = [ flask ];

View File

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

View File

@ -12,13 +12,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flask-mongoengine"; pname = "flask-mongoengine";
version = "0.9.5"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MongoEngine"; owner = "MongoEngine";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "05hfddf1dm594wnjyqhj0zmjfsf1kpmx1frjwhypgzx4hf62qcmr"; sha256 = "10g9b13ls2msnhv8j44gslrfxa2ppqz2y1xjn2a4gg4m9mdjv8b2";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "Flask-SQLAlchemy"; pname = "Flask-SQLAlchemy";
version = "2.4.4"; version = "2.5.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1rgsj49gnx361hnb3vn6c1h17497qh22yc3r70l1r6w0mw71bixz"; sha256 = "2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912";
}; };
propagatedBuildInputs = [ flask sqlalchemy ]; propagatedBuildInputs = [ flask sqlalchemy ];

View File

@ -3,12 +3,13 @@
, flit , flit
, isPy3k , isPy3k
, toml , toml
, pytestCheckHook
, testpath
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "flit-core"; pname = "flit-core";
version = "2.3.0"; version = "3.2.0";
disabled = !isPy3k;
format = "pyproject"; format = "pyproject";
inherit (flit) src patches; inherit (flit) src patches;
@ -21,6 +22,11 @@ buildPythonPackage rec {
toml toml
]; ];
checkInputs = [
pytestCheckHook
testpath
];
passthru.tests = { passthru.tests = {
inherit flit; inherit flit;
}; };

View File

@ -21,30 +21,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flit"; pname = "flit";
version = "3.0.0"; version = "3.2.0";
disabled = !isPy3k;
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "takluyver"; owner = "takluyver";
repo = "flit"; repo = "flit";
rev = version; rev = version;
sha256 = "zk6mozS3Q9U43PQe/DxgwwsBRJ6Qwb+rSUVGXHijD+g="; sha256 = "sha256-zN+/oAyXBo6Ho7n/xhOQ2mjtPGKA1anCvl3sVf7t+Do=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
flit-core flit-core
]; ];
# Use toml instead of pytoml
# Resolves infinite recursion since packaging started using flit.
patches = [
(fetchpatch {
url = "https://github.com/takluyver/flit/commit/b81b1da55ef0f2768413669725d2874fcb0c29fb.patch";
sha256 = "11oNaYsm00/j2046V9C0idpSeG7TpY3JtLuxX3ZL/OI=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
docutils docutils
requests requests

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