Merge branch 'python-unstable' into staging-next

+2338 -1361
+4 -4
pkgs/applications/misc/plover/default.nix
··· 1 - { lib, fetchurl, python27Packages, python36Packages, wmctrl, 1 + { lib, fetchurl, python27Packages, python3Packages, wmctrl, 2 2 qtbase, mkDerivationWith }: 3 3 4 4 { ··· 24 24 ]; 25 25 }; 26 26 27 - dev = with python36Packages; mkDerivationWith buildPythonPackage rec { 27 + dev = with python3Packages; mkDerivationWith buildPythonPackage rec { 28 28 pname = "plover"; 29 - version = "4.0.0.dev8"; 29 + version = "4.0.0.dev10"; 30 30 31 31 meta = with lib; { 32 32 description = "OpenSteno Plover stenography software"; ··· 36 36 37 37 src = fetchurl { 38 38 url = "https://github.com/openstenoproject/plover/archive/v${version}.tar.gz"; 39 - sha256 = "1wxkmik1zyw5gqig5r0cas5v6f5408fbnximzw610rdisqy09rxp"; 39 + sha256 = "sha256-Eun+ZgmOIjYw6FS/2OGoBvYh52U/Ue0+NtIqrvV2Tqc="; 40 40 }; 41 41 42 42 # I'm not sure why we don't find PyQt5 here but there's a similar
+2 -2
pkgs/applications/misc/variety/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub 2 - , python37Packages 2 + , python3Packages 3 3 , fehSupport ? false, feh 4 4 , imagemagickSupport ? true, imagemagick 5 5 , intltool ··· 13 13 , makeWrapper 14 14 }: 15 15 16 - with python37Packages; 16 + with python3Packages; 17 17 18 18 buildPythonApplication rec { 19 19 pname = "variety";
+3 -4
pkgs/applications/networking/appgate-sdp/default.nix
··· 32 32 , openssl 33 33 , pango 34 34 , procps 35 - , python37 36 - , python37Packages 35 + , python3 37 36 , stdenv 38 37 , systemd 39 38 , xdg-utils ··· 101 100 dontBuild = true; 102 101 103 102 buildInputs = [ 104 - python37 105 - python37Packages.dbus-python 103 + python3 104 + python3.pkgs.dbus-python 106 105 ]; 107 106 108 107 nativeBuildInputs = [
+25 -10
pkgs/applications/version-management/git-and-tools/bump2version/default.nix
··· 1 - { buildPythonApplication, fetchFromGitHub, isPy27, pytest, testfixtures, lib }: 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , testfixtures 7 + }: 2 8 3 9 buildPythonApplication rec { 4 10 pname = "bump2version"; 5 - version = "1.0.0"; 6 - disabled = isPy27; 11 + version = "1.0.1"; 12 + 13 + disabled = pythonOlder "3.6"; 7 14 8 15 src = fetchFromGitHub { 9 16 owner = "c4urself"; 10 17 repo = pname; 11 - rev = "refs/tags/v${version}"; 12 - sha256 = "10p7rg569rk3qvzs5kjj17894bqlsg3ihhbln6ciwwfhkfq1kpja"; 18 + rev = "v${version}"; 19 + sha256 = "sha256-j6HKi3jTwSgGBrA8PCJJNg+yQqRMo1aqaLgPGf4KAKU="; 13 20 }; 14 21 15 - checkInputs = [ pytest testfixtures ]; 16 - # X's in pytest are git tests which won't run in sandbox 17 - checkPhase = '' 18 - pytest tests/ -k 'not usage_string_fork' 19 - ''; 22 + checkInputs = [ 23 + pytestCheckHook 24 + testfixtures 25 + ]; 26 + 27 + disabledTests = [ 28 + # X's in pytest are git tests which won't run in sandbox 29 + "usage_string_fork" 30 + "test_usage_string" 31 + "test_defaults_in_usage_with_config" 32 + ]; 33 + 34 + pythonImportsCheck = [ "bumpversion" ]; 20 35 21 36 meta = with lib; { 22 37 description = "Version-bump your software with a single command";
+2 -1
pkgs/development/embedded/platformio/chrootenv.nix
··· 23 23 name = "platformio"; 24 24 25 25 targetPkgs = pio-pkgs; 26 - multiPkgs = pio-pkgs; 26 + # disabled temporarily because fastdiff no longer support 32bit 27 + # multiPkgs = pio-pkgs; 27 28 28 29 meta = with lib; { 29 30 description = "An open source ecosystem for IoT development";
+22
pkgs/development/embedded/platformio/core.nix
··· 1 1 { stdenv, lib, python3 2 2 , fetchFromGitHub 3 + , fetchPypi 3 4 , git 4 5 , spdx-license-list-data 5 6 , version, src ··· 20 21 doCheck = false; 21 22 }); 22 23 24 + ajsonrpc = super.ajsonrpc.overridePythonAttrs (oldAttrs: rec { 25 + pname = "ajsonrpc"; 26 + version = "1.1.0"; 27 + src = fetchPypi { 28 + inherit pname version; 29 + sha256 = "sha256-CgHCtW0gxZho7ZavvEaODNc+KbFW4sAsHtM2Xk5Cuaw="; 30 + }; 31 + }); 32 + 23 33 click = super.click.overridePythonAttrs (oldAttrs: rec { 24 34 version = "7.1.2"; 25 35 src = oldAttrs.src.override { 26 36 inherit version; 27 37 sha256 = "06kbzd6sjfkqan3miwj9wqyddfxc2b6hi7p5s4dvqjb3gif2bdfj"; 28 38 }; 39 + }); 40 + 41 + starlette = super.starlette.overridePythonAttrs (oldAttrs: rec { 42 + pname = "starlette"; 43 + version = "0.14.2"; 44 + src = fetchFromGitHub { 45 + owner = "encode"; 46 + repo = pname; 47 + rev = version; 48 + sha256 = "sha256-Ki5jTEr5w6CrGK6F60E9uvdUlGx8pxdHMpxHvj9D4js="; 49 + }; 50 + doCheck = false; 29 51 }); 30 52 31 53 uvicorn = super.uvicorn.overridePythonAttrs (oldAttrs: rec {
+2 -2
pkgs/development/libraries/boxfort/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, ninja, python37Packages }: 1 + { lib, stdenv, fetchFromGitHub, meson, ninja, python3Packages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "unstable-2019-10-09"; ··· 17 17 patchShebangs ci/isdir.py 18 18 ''; 19 19 20 - checkInputs = with python37Packages; [ cram ]; 20 + checkInputs = with python3Packages; [ cram ]; 21 21 22 22 doCheck = true; 23 23
+2 -2
pkgs/development/libraries/criterion/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, boxfort, cmake, libcsptr, pkg-config, gettext 2 - , dyncall , nanomsg, python37Packages }: 2 + , dyncall , nanomsg, python3Packages }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 version = "2.3.3"; ··· 23 23 nanomsg 24 24 ]; 25 25 26 - checkInputs = with python37Packages; [ cram ]; 26 + checkInputs = with python3Packages; [ cram ]; 27 27 28 28 cmakeFlags = [ "-DCTESTS=ON" ]; 29 29 doCheck = true;
+4
pkgs/development/libraries/science/math/caffe2/default.nix
··· 139 139 platforms = with lib.platforms; linux; 140 140 license = lib.licenses.asl20; 141 141 maintainers = with lib.maintainers; [ yuriaisaka ]; 142 + # fails to compile with 143 + # error: invalid conversion from 'const char*' to 'char*' 144 + # TODO: Remove usage of python2, protobuf overwrite 145 + broken = true; 142 146 }; 143 147 }
+6 -7
pkgs/development/python-modules/Cython/default.nix
··· 12 12 }: 13 13 14 14 let 15 - excludedTests = [] 16 - ++ [ "reimport_from_subinterpreter" ] 15 + excludedTests = [ "reimport_from_subinterpreter" ] 17 16 # cython's testsuite is not working very well with libc++ 18 17 # We are however optimistic about things outside of testsuite still working 19 18 ++ lib.optionals (stdenv.cc.isClang or false) [ "cpdef_extern_func" "libcpp_algo" ] ··· 26 25 27 26 in buildPythonPackage rec { 28 27 pname = "Cython"; 29 - version = "0.29.22"; 28 + version = "0.29.24"; 30 29 31 30 src = fetchPypi { 32 31 inherit pname version; 33 - sha256 = "sha256-32uDx6bR2WfqiaKQPkqTE3djSil0WWUuRVFzTEgZVAY="; 32 + sha256 = "sha256-zfBNB8NgCGDowuuq1Oj1KsP+shJFPBdkpJrAjIJ+hEM="; 34 33 }; 35 34 36 35 nativeBuildInputs = [ 37 36 pkg-config 38 37 ]; 38 + 39 39 checkInputs = [ 40 40 gdb numpy ncurses 41 41 ]; 42 + 42 43 buildInputs = [ glibcLocales ]; 43 44 LC_ALL = "en_US.UTF-8"; 44 45 ··· 71 72 # https://github.com/cython/cython/issues/2785 72 73 # Temporary solution 73 74 doCheck = false; 74 - 75 - # doCheck = !stdenv.isDarwin; 76 - 75 + # doCheck = !stdenv.isDarwin; 77 76 78 77 meta = { 79 78 description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
+13 -10
pkgs/development/python-modules/Fabric/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 2 4 , cryptography 3 5 , invoke 4 6 , mock 5 7 , paramiko 6 - , pytest 8 + , pytestCheckHook 7 9 , pytest-relaxed 8 10 }: 9 11 ··· 23 25 ''; 24 26 25 27 propagatedBuildInputs = [ invoke paramiko cryptography ]; 26 - checkInputs = [ pytest mock pytest-relaxed ]; 28 + 29 + checkInputs = [ pytestCheckHook pytest-relaxed mock ]; 27 30 28 - # requires pytest_relaxed, which doesnt have official support for pytest>=5 29 - # https://github.com/bitprophet/pytest-relaxed/issues/12 31 + # ==================================== ERRORS ==================================== 32 + # ________________________ ERROR collecting test session _________________________ 33 + # Direct construction of SpecModule has been deprecated, please use SpecModule.from_parent 34 + # See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. 30 35 doCheck = false; 31 - checkPhase = '' 32 - pytest tests 33 - ''; 36 + 34 37 pythonImportsCheck = [ "fabric" ]; 35 38 36 39 meta = with lib; { 37 40 description = "Pythonic remote execution"; 38 - homepage = "https://www.fabfile.org/"; 39 - license = licenses.bsd2; 41 + homepage = "https://www.fabfile.org/"; 42 + license = licenses.bsd2; 40 43 maintainers = [ maintainers.costrouc ]; 41 44 }; 42 45 }
+2 -2
pkgs/development/python-modules/Mako/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "Mako"; 12 - version = "1.1.4"; 12 + version = "1.1.5"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "17831f0b7087c313c0ffae2bcbbd3c1d5ba9eeac9c38f2eb7b50e8c99fe9d5ab"; 16 + sha256 = "169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ markupsafe ];
+2 -2
pkgs/development/python-modules/Pygments/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "Pygments"; 9 - version = "2.9.0"; 9 + version = "2.10.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f"; 13 + sha256 = "f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ docutils ];
+2 -2
pkgs/development/python-modules/ROPGadget/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "ROPGadget"; 6 - version = "6.5"; 6 + version = "6.6"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "4c0e56f2ba0aef13b2c8ca286aad663525b92020b11bacd16791f5236247905c"; 10 + sha256 = "dc61186e0114ec67ec7ce374df8fd2ddc2a7cba129a1242338e900a7483fba22"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ capstone ];
+14 -6
pkgs/development/python-modules/acme-tiny/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, setuptools-scm, fusepy, fuse 2 - , openssl }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools-scm 5 + , fusepy 6 + , fuse 7 + , openssl 8 + }: 3 9 4 10 buildPythonPackage rec { 5 11 pname = "acme-tiny"; 6 - version = "4.1.0"; 12 + version = "4.1.1"; 7 13 8 14 src = fetchPypi { 9 15 inherit pname version; 10 - sha256 = "0jmg525n4n98hwy3hf303jbnq23z79sqwgliji9j7qcnph47gkgq"; 16 + sha256 = "b7050b9428d45319e14ab9ea77f0ff4eb40451e5a68325d4c5358a87cff0e793"; 11 17 }; 12 18 13 19 patchPhase = '' 14 20 substituteInPlace acme_tiny.py --replace '"openssl"' '"${openssl.bin}/bin/openssl"' 15 - substituteInPlace tests/monkey.py --replace '"openssl"' '"${openssl.bin}/bin/openssl"' 16 21 substituteInPlace tests/test_module.py --replace '"openssl"' '"${openssl.bin}/bin/openssl"' 17 - substituteInPlace tests/monkey.py --replace /etc/ssl/openssl.cnf ${openssl.out}/etc/ssl/openssl.cnf 22 + substituteInPlace tests/utils.py --replace /etc/ssl/openssl.cnf ${openssl.out}/etc/ssl/openssl.cnf 18 23 ''; 19 24 20 25 buildInputs = [ setuptools-scm ]; 26 + 21 27 checkInputs = [ fusepy fuse ]; 22 28 23 29 doCheck = false; # seems to hang, not sure 30 + 31 + pythonImportsCheck = [ "acme_tiny" ]; 24 32 25 33 meta = with lib; { 26 34 description = "A tiny script to issue and renew TLS certs from Let's Encrypt";
+36 -11
pkgs/development/python-modules/acoustics/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , pytest, numpy, scipy, matplotlib, pandas, tabulate, pythonOlder }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , matplotlib 5 + , numpy 6 + , pandas 7 + , pytestCheckHook 8 + , pythonOlder 9 + , scipy 10 + , tabulate 11 + }: 3 12 4 13 buildPythonPackage rec { 5 14 pname = "acoustics"; 6 15 version = "0.2.4.post0"; 7 16 8 - checkInputs = [ pytest ]; 9 - propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ]; 17 + disabled = pythonOlder "3.6"; 10 18 11 19 src = fetchPypi { 12 20 inherit pname version; 13 21 sha256 = "a162625e5e70ed830fab8fab0ddcfe35333cb390cd24b0a827bcefc5bbcae97d"; 14 22 }; 15 23 16 - checkPhase = '' 24 + propagatedBuildInputs = [ 25 + matplotlib 26 + numpy 27 + pandas 28 + scipy 29 + tabulate 30 + ]; 31 + 32 + checkInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + preCheck = '' 17 37 export HOME=$TMPDIR 18 38 mkdir -p $HOME/.matplotlib 19 39 echo "backend: ps" > $HOME/.matplotlib/matplotlibrc 40 + ''; 20 41 21 - pushd tests 22 - py.test -Wignore::DeprecationWarning ./. 23 - popd 24 - ''; 42 + pytestFlagsArray = [ 43 + "-Wignore::DeprecationWarning" 44 + ]; 45 + 46 + disabledTestPaths = [ 47 + # All tests fail with TypeError 48 + "tests/test_aio.py" 49 + ]; 25 50 26 - disabled = pythonOlder "3.6"; 51 + pythonImportsCheck = [ "acoustics" ]; 27 52 28 53 meta = with lib; { 29 - description = "A package for acousticians"; 54 + description = "Python package for acousticians"; 30 55 maintainers = with maintainers; [ fridh ]; 31 56 license = with licenses; [ bsd3 ]; 32 57 homepage = "https://github.com/python-acoustics/python-acoustics";
+2 -2
pkgs/development/python-modules/agate-excel/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "agate-excel"; 7 - version = "0.2.3"; 7 + version = "0.2.5"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52"; 11 + sha256 = "62315708433108772f7f610ca769996b468a4ead380076dbaf6ffe262831b153"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ agate openpyxl xlrd ];
+2 -2
pkgs/development/python-modules/aiobotocore/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "aiobotocore"; 13 - version = "1.3.1"; 13 + version = "1.4.1"; 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "8ecee55346651e0f4cbda883e3e16cfe11460b8d7adcc08d0017cbb867636ae1"; 18 + sha256 = "09f06723d1d69c6d407d9a356ca65ab42a5b7b73a45be4b1ed0ed1a6b6057a9f"; 19 19 }; 20 20 21 21 # relax version constraints: aiobotocore works with newer botocore versions
+1 -1
pkgs/development/python-modules/aioprocessing/default.nix
··· 7 7 buildPythonPackage rec { 8 8 pname = "aioprocessing"; 9 9 version = "2.0.0"; 10 - disabled = pythonOlder "3.4"; 10 + disabled = pythonOlder "3.5"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version;
+12 -5
pkgs/development/python-modules/aioredis/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , pkgs, async-timeout, hiredis, isPyPy, isPy27 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , async-timeout 5 + , typing-extensions 6 + , hiredis 7 + , isPyPy 8 + , pythonOlder 3 9 }: 4 10 5 11 buildPythonPackage rec { 6 12 pname = "aioredis"; 7 - version = "1.3.1"; 13 + version = "2.0.0"; 8 14 9 - disabled = isPy27; 15 + disabled = pythonOlder "3.6"; 10 16 11 17 src = fetchPypi { 12 18 inherit pname version; 13 - sha256 = "0fi7jd5hlx8cnv1m97kv9hc4ih4l8v15wzkqwsp73is4n0qazy0m"; 19 + sha256 = "3a2de4b614e6a5f8e104238924294dc4e811aefbe17ddf52c04a93cbf06e67db"; 14 20 }; 15 21 16 22 propagatedBuildInputs = [ 17 23 async-timeout 24 + typing-extensions 18 25 ] ++ lib.optional (!isPyPy) hiredis; 19 26 20 27 # Wants to run redis-server, hardcoded FHS paths, too much trouble.
+2 -2
pkgs/development/python-modules/ajsonrpc/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "ajsonrpc"; 5 - version = "1.1.0"; 5 + version = "1.2.0"; 6 6 7 7 disabled = pythonOlder "3.5"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1b5r8975wdnk3qnc1qjnn4lkxmqcir3brbwnxml9ii90dnsw408a"; 11 + sha256 = "791bac18f0bf0dee109194644f151cf8b7ff529c4b8d6239ac48104a3251a19f"; 12 12 }; 13 13 14 14 checkInputs = [ pytestCheckHook ];
+39 -9
pkgs/development/python-modules/alembic/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , pytest, pytest-cov, mock, coverage, setuptools 3 - , Mako, sqlalchemy, python-editor, python-dateutil 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , Mako 6 + , python-dateutil 7 + , sqlalchemy 8 + , importlib-metadata 9 + , importlib-resources 10 + , pytest-xdist 11 + , pytestCheckHook 12 + 4 13 }: 5 14 6 15 buildPythonPackage rec { 7 16 pname = "alembic"; 8 - version = "1.6.5"; 17 + version = "1.7.1"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.6"; 9 21 10 22 src = fetchPypi { 11 23 inherit pname version; 12 - sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51"; 24 + sha256 = "aea964d3dcc9c205b8759e4e9c1c3935ea3afeee259bffd7ed8414f8085140fb"; 13 25 }; 14 26 15 - buildInputs = [ pytest pytest-cov mock coverage ]; 16 - propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ]; 27 + propagatedBuildInputs = [ 28 + Mako 29 + python-dateutil 30 + sqlalchemy 31 + ] ++ lib.optionals (pythonOlder "3.9") [ 32 + importlib-resources 33 + ] ++ lib.optionals (pythonOlder "3.8") [ 34 + importlib-metadata 35 + ]; 17 36 18 - # no traditional test suite 19 - doCheck = false; 37 + pythonImportsCheck = [ 38 + "alembic" 39 + ]; 40 + 41 + checkInputs = [ 42 + pytestCheckHook 43 + pytest-xdist 44 + ]; 45 + 46 + pytestFlagsArray = [ 47 + "--numprocesses" "auto" 48 + ]; 20 49 21 50 meta = with lib; { 22 51 homepage = "https://bitbucket.org/zzzeek/alembic"; 23 52 description = "A database migration tool for SQLAlchemy"; 24 53 license = licenses.mit; 54 + maintainers = with maintainers; [ ]; 25 55 }; 26 56 }
+2 -2
pkgs/development/python-modules/ansi2html/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, pytestCheckHook, setuptools, setuptools-scm, toml }: 1 + { lib, buildPythonPackage, fetchPypi, isPy3k, six, mock, pytestCheckHook, setuptools, setuptools-scm }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "ansi2html"; ··· 11 11 sha256 = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596"; 12 12 }; 13 13 14 - nativeBuildInputs = [ setuptools-scm toml ]; 14 + nativeBuildInputs = [ setuptools-scm ]; 15 15 propagatedBuildInputs = [ six setuptools ]; 16 16 17 17 preCheck = "export PATH=$PATH:$out/bin";
+2 -2
pkgs/development/python-modules/ansible-runner/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ansible-runner"; 17 - version = "1.4.7"; 17 + version = "2.0.2"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "1bb56f9061c3238d89ec8871bc842f5b8d0e868f892347e8455c98d5b6fa58a1"; 21 + sha256 = "c02b690803ec0be4453411c53743cd3fdca1dfc66dfa075794e14e717c5b61b3"; 22 22 }; 23 23 24 24 checkInputs = [ pytest mock ];
+2 -2
pkgs/development/python-modules/apispec/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "apispec"; 15 - version = "4.7.1"; 15 + version = "5.1.0"; 16 16 disabled = pythonOlder "3.6"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "1yf71c9nq1rfb5pkgmfw486fvywi1bjnmgwxcly7y3basf3980kr"; 20 + sha256 = "9ac7a7a6000339a02d05404ef561e013375f170de01d8b238782f8fb83082b5b"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/arrow/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "arrow"; 15 - version = "1.1.0"; 15 + version = "1.1.1"; 16 16 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "1n2vzyrirfj7fp0zn6iipm3i8bch0g4m14z02nrvlyjiyfmi7zmq"; 21 + sha256 = "dee7602f6c60e3ec510095b5e301441bc56288cb8f51def14dcb3079f623823a"; 22 22 }; 23 23 24 24 postPatch = ''
+45
pkgs/development/python-modules/asn1/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , future 6 + , pytestCheckHook 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "asn1"; 11 + version = "2.4.1"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "andrivet"; 17 + repo = "python-asn1"; 18 + rev = "v${version}"; 19 + sha256 = "0g2d5cr1pxsm5ackba7padf7gvlgrgv807kh0312s5axjd2cww2l"; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + future 24 + ]; 25 + 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace setup.py \ 32 + --replace "enum-compat" "" 33 + ''; 34 + 35 + pytestFlagsArray = [ "tests/test_asn1.py" ]; 36 + 37 + pythonImportsCheck = [ "asn1" ]; 38 + 39 + meta = with lib; { 40 + description = "Python ASN.1 encoder and decoder"; 41 + homepage = "https://github.com/andrivet/python-asn1"; 42 + license = licenses.mit; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+2 -2
pkgs/development/python-modules/astroid/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "astroid"; 16 - version = "2.5.6"; # Check whether the version is compatible with pylint 16 + version = "2.7.3"; # Check whether the version is compatible with pylint 17 17 18 18 disabled = pythonOlder "3.6"; 19 19 ··· 21 21 owner = "PyCQA"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-/nWXzuWkerUDvFT/tJTZuhfju46MAM0cwosVH9BXoY8="; 24 + sha256 = "08qxw58cdyglkni6ahyil4cmnb48zz0wr4v05gzqk4r5ifs4gl2m"; 25 25 }; 26 26 27 27 SETUPTOOLS_SCM_PRETEND_VERSION=version;
+20 -14
pkgs/development/python-modules/asttokens/default.nix
··· 1 - { lib, fetchPypi, fetchpatch, buildPythonPackage, 2 - setuptools-scm, toml, six, astroid, pytest 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , setuptools-scm 5 + , six 6 + , astroid 7 + , pytestCheckHook 3 8 }: 4 9 5 10 buildPythonPackage rec { 6 11 pname = "asttokens"; 7 - version = "2.0.4"; 12 + version = "2.0.5"; 8 13 9 14 src = fetchPypi { 10 15 inherit pname version; 11 - sha256 = "0a2ixiz04aw4p0aivxh47k3fa9ql804l3y5iv5gcih9aizi5fbm4"; 16 + sha256 = "sha256-mlTBFPAsepSA1WVQkyVGo/H+cdigLxvHzNDuPuNc9NU="; 12 17 }; 13 18 14 - patches = [ 15 - # Fixes compatibility with python 3.9, will be included in the next release 16 - # after 2.0.4 17 - (fetchpatch { 18 - url = "https://github.com/gristlabs/asttokens/commit/d8ff80ee7d2e64c5e1daf50cc38eb99663f1b1ac.patch"; 19 - sha256 = "19y8n8vpzr2ijldbq5rh19sf0vz5azqqpkb9bx0ljjg98h6k7kjj"; 20 - excludes = [ "setup.cfg" ]; 21 - }) 19 + nativeBuildInputs = [ 20 + setuptools-scm 21 + ]; 22 + 23 + propagatedBuildInputs = [ 24 + six 25 + astroid 22 26 ]; 23 27 24 - propagatedBuildInputs = [ setuptools-scm toml six astroid ]; 28 + checkInputs = [ 29 + pytestCheckHook 30 + ]; 25 31 26 - checkInputs = [ pytest ]; 32 + pythonImportsCheck = [ "asttokens" ]; 27 33 28 34 meta = with lib; { 29 35 homepage = "https://github.com/gristlabs/asttokens";
+2 -2
pkgs/development/python-modules/auth0-python/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "auth0-python"; 12 - version = "3.16.2"; 12 + version = "3.17.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-Slpwml1GDdxAZ4P6Vn2brrupRofiOHvmQF26l0gtTJM="; 16 + sha256 = "7b21bf91859ea56ac3b665efe5e73340c65dfd30de01081ff334a18a35a188a6"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/authcaptureproxy/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "authcaptureproxy"; 18 - version = "1.0.1"; 18 + version = "1.0.2"; 19 19 format = "pyproject"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "alandtse"; 23 23 repo = "auth_capture_proxy"; 24 24 rev = "v${version}"; 25 - sha256 = "1fbrmh6qa3dm3q3zdxaa0fls94wardbcvnjgwxk686wpjgs1xrs4"; 25 + sha256 = "1cg63qhf823nf785kyl96r7vyxfl6dlbwsmhcpny8vb65pl9gng5"; 26 26 }; 27 27 28 28 postPatch = ''
+2 -2
pkgs/development/python-modules/awscrt/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "awscrt"; 5 - version = "0.11.24"; 5 + version = "0.12.0"; 6 6 7 7 buildInputs = lib.optionals stdenv.isDarwin 8 8 (with darwin.apple_sdk.frameworks; [ CoreFoundation Security ]); ··· 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - sha256 = "b8aa68bca404bf0085be0570eff5b542d01f7e8e3c0f9b0859abfe5e070162ff"; 26 + sha256 = "65fa09ce78902319392bbb62991ddd3b33cebc0e3bbc81ad2c176072ab40de52"; 27 27 }; 28 28 29 29 meta = with lib; {
+2 -2
pkgs/development/python-modules/azure-core/default.nix
··· 15 15 }: 16 16 17 17 buildPythonPackage rec { 18 - version = "1.16.0"; 18 + version = "1.17.0"; 19 19 pname = "azure-core"; 20 20 disabled = isPy27; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 24 extension = "zip"; 25 - sha256 = "b1c7d2e01846074f258c8b2e592239aef836a2b1c27d8d0e8491a2c7e2906ef4"; 25 + sha256 = "25407390dde142d3e41ecf78bb18cedda9b7f7a0af558d082dec711c4a334f46"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+4 -2
pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
··· 6 6 , msrest 7 7 , msrestazure 8 8 , azure-common 9 + , azure-mgmt-core 9 10 , azure-mgmt-nspkg 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "azure-mgmt-iothubprovisioningservices"; 14 - version = "0.2.0"; 15 + version = "1.0.0"; 15 16 16 17 src = fetchPypi { 17 18 inherit pname version; 18 19 extension = "zip"; 19 - sha256 = "8c37acfd1c33aba845f2e0302ef7266cad31cba503cc990a48684659acb7b91d"; 20 + sha256 = "e5871b03488b5ae6dfc441cdbda40cb39c000635ee57c513053792b3c15826a9"; 20 21 }; 21 22 22 23 propagatedBuildInputs = [ 23 24 msrest 24 25 msrestazure 25 26 azure-common 27 + azure-mgmt-core 26 28 azure-mgmt-nspkg 27 29 ]; 28 30
+2 -2
pkgs/development/python-modules/azure-mgmt-kusto/azure-mgmt-apimanagement/default.nix
··· 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 - version = "0.3.0"; 8 + version = "2.1.0"; 9 9 pname = "azure-mgmt-apimanagement"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "ec363581ef950945447e45d259441cb690a4b790057c7b8470ad8a6eeca04feb"; 14 + sha256 = "58296bd45e876df33f93f3a41c866c36476f5f3bd46818e8891308794f041c94"; 15 15 extension = "zip"; 16 16 }; 17 17
+2 -2
pkgs/development/python-modules/azure-mgmt-recoveryservices/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-recoveryservices"; 14 - version = "1.0.0"; 14 + version = "2.0.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "ab87108c0d5ce27d80583b4bfad966ad07049dcbc0e9ac28c64aa6bbdae64e22"; 19 + sha256 = "a7d3137d5c460f50ac2d44061d60a70b4f2779d4ca844b77419b5725e65e09be"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+30
pkgs/development/python-modules/backports-entry-points-selectable/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools-scm, importlib-metadata }: 2 + 3 + buildPythonPackage rec { 4 + pname = "backports-entry-points-selectable"; 5 + version = "1.1.0"; 6 + 7 + src = fetchPypi { 8 + pname = "backports.entry_points_selectable"; 9 + inherit version; 10 + sha256 = "988468260ec1c196dab6ae1149260e2f5472c9110334e5d51adcb77867361f6a"; 11 + }; 12 + 13 + nativeBuildInputs = [ setuptools-scm ]; 14 + 15 + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 16 + importlib-metadata 17 + ]; 18 + 19 + # no tests 20 + doCheck = false; 21 + 22 + pythonImportsCheck = [ "backports.entry_points_selectable" ]; 23 + 24 + meta = with lib; { 25 + description = "Compatibility shim providing selectable entry points for older implementations"; 26 + homepage = "https://github.com/jaraco/backports.entry_points_selectable"; 27 + license = licenses.mit; 28 + maintainers = with maintainers; [ SuperSandro2000 ]; 29 + }; 30 + }
+3 -4
pkgs/development/python-modules/bellows/default.nix
··· 46 46 ]; 47 47 48 48 disabledTests = [ 49 - # RuntimeError: coroutine 'test_remigrate_forcibly_downgraded_v4' was never awaited 50 - #"test_remigrate_forcibly_downgraded_v4" 51 - # RuntimeError: Event loop is closed 52 - "test_thread_already_stopped" 49 + # AssertionError: assert 65534 is None 50 + # https://github.com/zigpy/bellows/issues/436 51 + "test_startup_nwk_params" 53 52 ]; 54 53 55 54 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/beniget/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "beniget"; 9 - version = "0.4.0"; 9 + version = "0.4.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "72bbd47b1ae93690f5fb2ad3902ce1ae61dcd868ce6cfbf33e9bad71f9ed8749"; 13 + sha256 = "75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/block-io/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "block-io"; 5 - version = "1.1.15"; 5 + version = "2.0.4"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "97ea037a67af72037cb08cec7e0a9f7866ecdfaa1a8c8ebcc0f4b9359a1516d7"; 9 + sha256 = "817c9cd2ff76659caca4bb3d6758d5782a85f8c0ea13b08c4e14f0c2a8b7586d"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/bokeh/default.nix
··· 34 34 buildPythonPackage rec { 35 35 pname = "bokeh"; 36 36 # update together with panel which is not straightforward 37 - version = "2.3.2"; 37 + version = "2.3.3"; 38 38 39 39 src = fetchPypi { 40 40 inherit pname version; 41 - sha256 = "fcc0d0a3129ae457cdb0a4f503843a4d13d1f5d07af7748424ea8c7ddfc321f1"; 41 + sha256 = "a5fdcc181835561447fcc5a371300973fce4114692d5853addec284d1cdeb677"; 42 42 }; 43 43 44 44 patches = [
+2 -2
pkgs/development/python-modules/boto3/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "boto3"; 16 - version = "1.17.97"; # N.B: if you change this, change botocore and awscli to a matching version 16 + version = "1.17.106"; # N.B: if you change this, change botocore and awscli to a matching version 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "0ab5afc51461c30f27aebef944211d16f47697b98ff8d2e2f6e49e59584853bb"; 20 + sha256 = "sha256-wHQDeLkTylP1/A26kemadSxaMK57WKDF5U4+KmjfJsU="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
+2 -2
pkgs/development/python-modules/botocore/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "botocore"; 16 - version = "1.20.97"; # N.B: if you change this, change boto3 and awscli to a matching version 16 + version = "1.20.106"; # N.B: if you change this, change boto3 and awscli to a matching version 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "f7e119cf3e0f4a36100f0e983583afa91a84fb27c479a1716820aee4f2e190ab"; 20 + sha256 = "sha256-bVyYOAix0AQ39W0MCEEr2C2fgBL9t35VX5cneh/U1d8="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/braintree/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "braintree"; 9 - version = "4.10.0"; 9 + version = "4.12.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "f934a329c7a2b3f7058d5c733cc95da694f66afb5a789162ec701ba4d26a0d90"; 13 + sha256 = "946abd50fe2843eec586ac3cec285d27dfae0cc5a43a64b505e8a2800b8a74a6"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ requests ];
+13 -7
pkgs/development/python-modules/brotli/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, pytest }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook }: 2 5 3 6 buildPythonPackage rec { 4 7 pname = "brotli"; ··· 16 19 17 20 dontConfigure = true; 18 21 19 - checkInputs = [ pytest ]; 22 + checkInputs = [ 23 + pytestCheckHook 24 + ]; 20 25 21 - checkPhase = '' 22 - pytest python/tests 23 - ''; 26 + pytestFlagsArray = [ 27 + "python/tests" 28 + ]; 24 29 25 - meta = { 30 + meta = with lib; { 26 31 homepage = "https://github.com/google/brotli"; 27 32 description = "Generic-purpose lossless compression algorithm"; 28 - license = lib.licenses.mit; 33 + license = licenses.mit; 34 + maintainers = with maintainers; [ ]; 29 35 }; 30 36 }
+17 -3
pkgs/development/python-modules/canonicaljson/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , frozendict, simplejson, six, isPy27 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , frozendict 5 + , simplejson 6 + , six 7 + , isPy27 8 + , pytestCheckHook 3 9 }: 4 10 5 11 buildPythonPackage rec { ··· 13 19 }; 14 20 15 21 propagatedBuildInputs = [ 16 - frozendict simplejson six 22 + frozendict 23 + simplejson 24 + six 25 + ]; 26 + 27 + checkInputs = [ pytestCheckHook ]; 28 + 29 + disabledTests = [ 30 + "test_frozen_dict" 17 31 ]; 18 32 19 33 meta = with lib; {
+2 -2
pkgs/development/python-modules/casbin/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "casbin"; 11 - version = "0.20.0"; 11 + version = "1.7.0"; 12 12 13 13 disabled = isPy27; 14 14 ··· 16 16 owner = pname; 17 17 repo = "pycasbin"; 18 18 rev = "v${version}"; 19 - sha256 = "1j7kd4rvf4myg4x4sm4njlhzkxm2m3cva9wmp9vx0nnpfdlyb67f"; 19 + sha256 = "1qwns8ph8w5bb26hzkk1dadm2bjq74g65wm6g971llb5jdq9a8z9"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/cffi/default.nix
··· 2 2 3 3 if isPyPy then null else buildPythonPackage rec { 4 4 pname = "cffi"; 5 - version = "1.14.5"; 5 + version = "1.14.6"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "fd78e5fee591709f32ef6edb9a015b4aa1a5022598e36227500c8f4e02328d9c"; 9 + sha256 = "c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd"; 10 10 }; 11 11 12 12 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/python-modules/cfn-lint/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "cfn-lint"; 24 - version = "0.53.0"; 24 + version = "0.53.1"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "aws-cloudformation"; 28 28 repo = "cfn-python-lint"; 29 29 rev = "v${version}"; 30 - sha256 = "sha256-UHcbbBoByoxW7+AUxu5mQmcvC3irHPQvBv4CbBXPTNo="; 30 + sha256 = "1wj2pzrrmrdf3mkhnz1qx41rshvfpgwlrxrb80d63r098pnq6df8"; 31 31 }; 32 32 33 33 postPatch = ''
+2 -2
pkgs/development/python-modules/chart-studio/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "chart-studio"; 13 - version = "4.14.3"; 13 + version = "5.3.0"; 14 14 15 15 # chart-studio was split from plotly 16 16 src = fetchFromGitHub { 17 17 owner = "plotly"; 18 18 repo = "plotly.py"; 19 19 rev = "v${version}"; 20 - sha256 = "1yrrcn9032r3l8y2cc1wvpydg4rkqvgkpyv1s7znby5mrxa1rjma"; 20 + sha256 = "059rq278r5zb2sngby7jzh8kd9c48sd82b6b7s5bbrmzj42sds3n"; 21 21 }; 22 22 23 23 sourceRoot = "source/packages/python/chart-studio";
+2 -2
pkgs/development/python-modules/cliff/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "cliff"; 19 - version = "3.8.0"; 19 + version = "3.9.0"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "8dd215d0a84c9a3ab2fa2aa700849f4e7b786639f66caa0ad4108c85dca95a7c"; 23 + sha256 = "95363e9b43e2ec9599e33b5aea27a6953beda2d0673557916fa4f5796857daa3"; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+46 -33
pkgs/development/python-modules/cmd2/default.nix
··· 1 - { lib, stdenv, fetchPypi, buildPythonPackage, pythonOlder, isPy3k 2 - , pyperclip, six, pyparsing, vim, wcwidth, colorama, attrs 3 - , contextlib2 ? null, typing ? null, setuptools-scm 4 - , pytest, mock ? null, pytest-mock 5 - , which, glibcLocales 1 + { lib 2 + , stdenv 3 + , attrs 4 + , buildPythonPackage 5 + , colorama 6 + , fetchPypi 7 + , glibcLocales 8 + , importlib-metadata 9 + , pyperclip 10 + , pytest-mock 11 + , pytestCheckHook 12 + , pythonOlder 13 + , setuptools-scm 14 + , typing-extensions 15 + , vim 16 + , wcwidth 6 17 }: 18 + 7 19 buildPythonPackage rec { 8 20 pname = "cmd2"; 9 - version = "1.5.0"; 21 + version = "2.1.2"; 22 + 23 + disabled = pythonOlder "3.6"; 10 24 11 25 src = fetchPypi { 12 26 inherit pname version; 13 - sha256 = "701a8c9975c4abc45e5d13906ab149f959f812869106347323a3f89ac0e82a62"; 27 + sha256 = "25dbb2e9847aaa686a8a21e84e3d101db8b79f5cb992e044fc54210ab8c0ad41"; 14 28 }; 15 29 16 - LC_ALL="en_US.UTF-8"; 17 - 18 - postPatch = lib.optionalString stdenv.isDarwin '' 19 - # Fake the impure dependencies pbpaste and pbcopy 20 - mkdir bin 21 - echo '#!${stdenv.shell}' > bin/pbpaste 22 - echo '#!${stdenv.shell}' > bin/pbcopy 23 - chmod +x bin/{pbcopy,pbpaste} 24 - export PATH=$(realpath bin):$PATH 25 - ''; 26 - 27 - disabled = !isPy3k; 30 + LC_ALL = "en_US.UTF-8"; 28 31 29 32 buildInputs = [ 30 33 setuptools-scm 31 34 ]; 32 35 33 36 propagatedBuildInputs = [ 37 + attrs 34 38 colorama 35 39 pyperclip 36 - six 37 - pyparsing 38 40 wcwidth 39 - attrs 40 - ] 41 - ++ lib.optionals (pythonOlder "3.5") [contextlib2 typing] 42 - ; 41 + ] ++ lib.optionals (pythonOlder "3.8") [ 42 + typing-extensions 43 + importlib-metadata 44 + ]; 43 45 46 + checkInputs = [ 47 + pytestCheckHook 48 + glibcLocales 49 + pytest-mock 50 + vim 51 + ]; 52 + 53 + postPatch = '' 54 + sed -i "/--cov/d" setup.cfg 55 + '' + lib.optionalString stdenv.isDarwin '' 56 + # Fake the impure dependencies pbpaste and pbcopy 57 + mkdir bin 58 + echo '#!${stdenv.shell}' > bin/pbpaste 59 + echo '#!${stdenv.shell}' > bin/pbcopy 60 + chmod +x bin/{pbcopy,pbpaste} 61 + export PATH=$(realpath bin):$PATH 62 + ''; 44 63 45 64 doCheck = !stdenv.isDarwin; 46 - # pytest-cov 47 - # argcomplete will generate errors 48 - checkInputs= [ pytest mock which vim glibcLocales pytest-mock ] 49 - ++ lib.optional (pythonOlder "3.6") [ mock ]; 50 - checkPhase = '' 51 - # test_path_completion_user_expansion might be fixed in the next release 52 - py.test -k 'not test_path_completion_user_expansion' 53 - ''; 65 + 66 + pythonImportsCheck = [ "cmd2" ]; 54 67 55 68 meta = with lib; { 56 69 description = "Enhancements for standard library's cmd module";
+2 -2
pkgs/development/python-modules/colorlog/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "colorlog"; 9 - version = "5.0.1"; 9 + version = "6.4.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-8XwBOgaWKwL0RJ7gfP2+ayh98p78LJoVFbSjdvTliOo="; 13 + sha256 = "af99440154a01f27c09256760ea3477982bf782721feaa345904e806879df4d8"; 14 14 }; 15 15 16 16 checkInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/commoncode/default.nix
··· 14 14 }: 15 15 buildPythonPackage rec { 16 16 pname = "commoncode"; 17 - version = "21.6.11"; 17 + version = "21.8.27"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "d6c8c985746a541913d5bb534c770f2422e5b4ac7a4ef765abc05c287a40ff4b"; 21 + sha256 = "789ee1798cd74ab4516d2e547473d69717d3b2ed7ee180ab2746e0bdfd0d88a4"; 22 22 }; 23 23 24 24 dontConfigure = true;
+3 -3
pkgs/development/python-modules/configargparse/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "configargparse"; 10 - version = "1.4.1"; 10 + version = "1.5.2"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "bw2"; 14 14 repo = "ConfigArgParse"; 15 - rev = "v${version}"; 16 - sha256 = "sha256-hzhjrdrXxjksvbHlTnQVsT350g0yuG1F21fElv6bLSA="; 15 + rev = version; 16 + sha256 = "1hgd0gfxycfnlddwsr8sl6ybxzp8rqhin16vphbl8q32wp5hhjd2"; 17 17 }; 18 18 19 19 checkInputs = [
+2 -4
pkgs/development/python-modules/configparser/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm 2 - , toml 3 - }: 1 + { lib, stdenv, buildPythonPackage, fetchPypi, setuptools-scm }: 4 2 5 3 buildPythonPackage rec { 6 4 pname = "configparser"; ··· 14 12 # No tests available 15 13 doCheck = false; 16 14 17 - nativeBuildInputs = [ setuptools-scm toml ]; 15 + nativeBuildInputs = [ setuptools-scm ]; 18 16 19 17 preConfigure = '' 20 18 export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
+23
pkgs/development/python-modules/contextlib2/0.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , unittest2 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "contextlib2"; 9 + version = "0.6.0.post1"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e"; 14 + }; 15 + 16 + checkInputs = [ unittest2 ]; 17 + 18 + meta = { 19 + description = "Backports and enhancements for the contextlib module"; 20 + homepage = "https://contextlib2.readthedocs.org/"; 21 + license = lib.licenses.psfl; 22 + }; 23 + }
+2 -2
pkgs/development/python-modules/contextlib2/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "contextlib2"; 9 - version = "0.6.0.post1"; 9 + version = "21.6.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "01f490098c18b19d2bd5bb5dc445b2054d2fa97f09a4280ba2c5f3c394c8162e"; 13 + sha256 = "ab1e2bfe1d01d968e1b7e8d9023bc51ef3509bba217bb730cee3827e1ee82869"; 14 14 }; 15 15 16 16 checkInputs = [ unittest2 ];
+2 -2
pkgs/development/python-modules/cryptacular/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "cryptacular"; 6 - version = "1.5.5"; 6 + version = "1.6.2"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "fb4d48716e88e4d050255ff0f065f6d437caa358ceef16ba5840c95cece224f9"; 10 + sha256 = "7b529cb2b8a3c7e5be77921bf1ebc653d4d3a8f791375cc6f971b20db2404176"; 11 11 }; 12 12 13 13 buildInputs = [ coverage nose ];
+2 -2
pkgs/development/python-modules/cupy/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "cupy"; 10 - version = "8.6.0"; 10 + version = "9.4.0"; 11 11 disabled = !isPy3k; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "f3ed02ba18e38b4f3ed2c324fa08967e6714f59357ccb0b28badd9572e77500b"; 15 + sha256 = "4402bd33a051e82f6888dab088a8d657714ca6d1e945b513dcc513a95a435bd5"; 16 16 }; 17 17 18 18 preConfigure = ''
+2 -2
pkgs/development/python-modules/cx_freeze/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cx_Freeze"; 5 - version = "6.6"; 5 + version = "6.7"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "c4af8ad3f7e7d71e291c1dec5d0fb26bbe92df834b098ed35434c901fbd6762f"; 9 + sha256 = "050f1dd133a04810bd7f38ac7ae3b290054acb2ff4f6e73f7a286266d153495d"; 10 10 }; 11 11 12 12 disabled = pythonOlder "3.5";
+2 -2
pkgs/development/python-modules/cxxfilt/default.nix
··· 6 6 }: 7 7 buildPythonPackage rec { 8 8 pname = "cxxfilt"; 9 - version = "0.2.2"; 9 + version = "0.3.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "ef6810e76d16c95c11b96371e2d8eefd1d270ec03f9bcd07590e8dcc2c69e92b"; 13 + sha256 = "7df6464ba5e8efbf0d8974c0b2c78b32546676f06059a83515dbdfa559b34214"; 14 14 }; 15 15 16 16 postPatch = let
+2 -2
pkgs/development/python-modules/dask-jobqueue/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - version = "0.7.2"; 11 + version = "0.7.3"; 12 12 pname = "dask-jobqueue"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "1767f4146b2663d9d2eaef62b882a86e1df0bccdb8ae68ae3e5e546aa6796d35"; 16 + sha256 = "682d7cc0e6b319b6ab83a7a898680c12e9c77ddc77df380b40041290f55d4e79"; 17 17 }; 18 18 19 19 checkInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/dask-xgboost/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "0.1.11"; 10 + version = "0.2.0"; 11 11 pname = "dask-xgboost"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c"; 15 + sha256 = "6d9c491dc4099f74a0df66c4d439d296c0f1fba97009fe93e21b2350f295b4ca"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ xgboost dask distributed ];
+37 -17
pkgs/development/python-modules/dask/default.nix
··· 2 2 , stdenv 3 3 , bokeh 4 4 , buildPythonPackage 5 + , cloudpickle 6 + , distributed 5 7 , fetchFromGitHub 6 8 , fsspec 7 - , pytestCheckHook 8 - , pytest-rerunfailures 9 - , pythonOlder 10 - , cloudpickle 9 + , jinja2 11 10 , numpy 12 - , toolz 13 - , dill 11 + , packaging 14 12 , pandas 15 13 , partd 14 + , pytest-rerunfailures 16 15 , pytest-xdist 16 + , pytestCheckHook 17 + , pythonOlder 18 + , pyyaml 19 + , toolz 17 20 , withExtraComplete ? false 18 - , distributed 19 21 }: 20 22 21 23 buildPythonPackage rec { 22 24 pname = "dask"; 23 - version = "2021.06.2"; 24 - disabled = pythonOlder "3.5"; 25 + version = "2021.08.1"; 26 + format = "setuptools"; 27 + 28 + disabled = pythonOlder "3.7"; 25 29 26 30 src = fetchFromGitHub { 27 31 owner = "dask"; 28 32 repo = pname; 29 33 rev = version; 30 - sha256 = "sha256-qvfjdijzlqaJQrDztRAVr5PudTaVd3WOTBid2ElZQgg="; 34 + sha256 = "sha256-HnrHOp3Y/iLYaK3KVp6NJrK68BMqX8lTl/wLosiGc7k="; 31 35 }; 32 36 33 37 propagatedBuildInputs = [ 34 - bokeh 35 38 cloudpickle 36 - dill 37 39 fsspec 38 - numpy 39 - pandas 40 + packaging 40 41 partd 42 + pyyaml 41 43 toolz 42 - ] ++ lib.optionals withExtraComplete [ 44 + pandas 45 + jinja2 46 + bokeh 47 + numpy 48 + ] ++ lib.optionals (withExtraComplete) [ 49 + # infinite recursion between distributed and dask 43 50 distributed 44 51 ]; 45 52 ··· 63 70 ''; 64 71 65 72 pytestFlagsArray = [ 66 - "-n $NIX_BUILD_CORES" 73 + # parallelize 74 + "--numprocesses auto" 75 + # rerun failed tests up to three times 76 + "--reruns 3" 77 + # don't run tests that require network access 67 78 "-m 'not network'" 68 79 ]; 69 80 ··· 81 92 82 93 __darwinAllowLocalNetworking = true; 83 94 84 - pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ]; 95 + pythonImportsCheck = [ 96 + "dask" 97 + "dask.array" 98 + "dask.bag" 99 + "dask.bytes" 100 + "dask.dataframe" 101 + "dask.dataframe.io" 102 + "dask.dataframe.tseries" 103 + "dask.diagnostics" 104 + ]; 85 105 86 106 meta = with lib; { 87 107 description = "Minimal task scheduling abstraction";
+25
pkgs/development/python-modules/dateutils/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, python-dateutil, pytz }: 2 + 3 + buildPythonPackage rec { 4 + pname = "dateutils"; 5 + version = "0.6.12"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "sha256-A92QvLIVQb1OtLATY35PG1+USIHEbMbktnpgWeNw4/E="; 10 + }; 11 + 12 + propagatedBuildInputs = [ 13 + python-dateutil 14 + pytz 15 + ]; 16 + 17 + pythonImportsCheck = [ "dateutils" ]; 18 + 19 + meta = with lib; { 20 + description = "Utilities for working with datetime objects."; 21 + homepage = "https://github.com/jmcantrell/python-dateutils"; 22 + license = licenses.bsd0; 23 + maintainers = with maintainers; [ SuperSandro2000 ]; 24 + }; 25 + }
+1 -1
pkgs/development/python-modules/debugpy/default.nix
··· 62 62 "x86_64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch x86_64 -o attach_x86_64.dylib"; 63 63 "i686-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch i386 -o attach_x86.dylib"; 64 64 "aarch64-darwin" = "-std=c++11 -lc -D_REENTRANT -dynamiclib -arch arm64 -o attach_arm64.dylib"; 65 - }.${stdenv.hostPlatform.system}} 65 + }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")} 66 66 )''; 67 67 68 68 checkInputs = [
+21
pkgs/development/python-modules/decorator/4.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "decorator"; 8 + version = "4.4.2"; 9 + 10 + src = fetchPypi { 11 + inherit pname version; 12 + sha256 = "1rxzhk5zwiggk45hl53zydvy70lk654kg0nc1p54090p402jz9p3"; 13 + }; 14 + 15 + meta = with lib; { 16 + homepage = "https://pypi.python.org/pypi/decorator"; 17 + description = "Better living through Python with decorators"; 18 + license = lib.licenses.mit; 19 + maintainers = [ maintainers.costrouc ]; 20 + }; 21 + }
+2 -2
pkgs/development/python-modules/decorator/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "decorator"; 8 - version = "4.4.2"; 8 + version = "5.0.9"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "1rxzhk5zwiggk45hl53zydvy70lk654kg0nc1p54090p402jz9p3"; 12 + sha256 = "72ecfba4320a893c53f9706bebb2d55c270c1e51a28789361aa93e4a21319ed5"; 13 13 }; 14 14 15 15 meta = with lib; {
+2 -2
pkgs/development/python-modules/distributed/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "distributed"; 22 - version = "2021.6.2"; 22 + version = "2021.8.1"; 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 # get full repository need conftest.py to run tests 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "sha256-19ESqGqwSdzvo7If0brqQhKiwD0iwkvVWtONIaf10Ug="; 28 + sha256 = "c13ac10ecd9ee5f0ff67f5697149062d6e483f23a079918df1ab2e19b11fa77d"; 29 29 }; 30 30 31 31 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/distro/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "distro"; 5 - version = "1.5.0"; 5 + version = "1.6.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92"; 9 + sha256 = "83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424"; 10 10 }; 11 11 12 12 # tests are very targeted at individual linux distributions
+2 -2
pkgs/development/python-modules/django-cacheops/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "django-cacheops"; 12 - version = "5.1"; 12 + version = "6.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-1YUc178whzhKH87PqN3bj1UDDu39b98SciW3W8oPmd0="; 16 + sha256 = "78e161ebd96a32e28e19ec7da31f2afed9e62a79726b8b5f0ed12dd16c2e5841"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/django_environ/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "django-environ"; 10 - version = "0.4.5"; 10 + version = "0.5.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "6c9d87660142608f63ec7d5ce5564c49b603ea8ff25da595fd6098f6dc82afde"; 14 + sha256 = "a8726675c1ebefa4706b36398c4d3c5c790d335ffe55c4a10378f6bfd57ad8d0"; 15 15 }; 16 16 17 17 # The testsuite fails to modify the base environment
+2 -2
pkgs/development/python-modules/django_taggit/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "django-taggit"; 14 - version = "1.4.0"; 14 + version = "1.5.1"; 15 15 disabled = !isPy3k; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "b9ed6e94bad0bed3bf062a6be7ee3db117fda02c6419c680d614197364ea018b"; 19 + sha256 = "e5bb62891f458d55332e36a32e19c08d20142c43f74bc5656c803f8af25c084a"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ isort django ];
+2 -2
pkgs/development/python-modules/djangorestframework-simplejwt/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "djangorestframework_simplejwt"; 5 - version = "4.7.1"; 5 + version = "4.8.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "c0e9b617da337becb55e67935eb992fad84f861418e7ab5fb3e77a3fd18d4137"; 9 + sha256 = "153c973c5c154baf566be431de8527c2bd62557fde7373ebcb0f02b73b28e07a"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ django djangorestframework pyjwt ];
+2 -2
pkgs/development/python-modules/dpkt/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "dpkt"; 8 - version = "1.9.7.1"; 8 + version = "1.9.7.2"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "74899d557ec4e337db29cecc80548b23a1205384d30ee407397cfb9ab178e3d4"; 12 + sha256 = "80f977667ebbad2b5c4f7b7f45ee8bea6622fb71723f68a9a8fe6274520c853b"; 13 13 }; 14 14 15 15 # Project has no tests
+2 -2
pkgs/development/python-modules/elmax/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "elmax"; 15 - version = "0.1.2"; 15 + version = "0.1.3"; 16 16 format = "pyproject"; 17 17 disabled = pythonOlder "3.7"; 18 18 ··· 20 20 owner = "home-assistant-ecosystem"; 21 21 repo = "python-elmax"; 22 22 rev = version; 23 - sha256 = "sha256-Aq/OHxOmtUUmBNlFPu892C8AkTX+Ee0oca7D79InPXQ="; 23 + sha256 = "sha256-OiVPjWqQw1u0OL6/uYlT+FP2XDh7l3OZyVtQfycHICI="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ poetry-core ];
+5
pkgs/development/python-modules/executing/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , setuptools-scm 4 5 , asttokens 5 6 }: 6 7 ··· 14 15 rev = "v${version}"; 15 16 sha256 = "1hqx94h6l2wg9sljiaajfay2nr62sqa819w3bxrz8cdki1abdygv"; 16 17 }; 18 + 19 + nativeBuildInputs = [ 20 + setuptools-scm 21 + ]; 17 22 18 23 preBuild = '' 19 24 export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+2 -2
pkgs/development/python-modules/extractcode/default.nix
··· 11 11 }: 12 12 buildPythonPackage rec { 13 13 pname = "extractcode"; 14 - version = "21.6.2"; 14 + version = "21.7.23"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "e665501438fedeb6e75335d880c8913a8cd894fd8adcf9c243eb6d48fad2d01c"; 18 + sha256 = "58aa16d60cfcbd3695d7ea84a1e30d5ba9fa6f614b2ef4a6d0565b2ac5d4f757"; 19 19 }; 20 20 21 21 dontConfigure = true;
+3 -3
pkgs/development/python-modules/fakeredis/default.nix
··· 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "sha256-Ecz8l2nXGNN+RbOC5kproCWGtiKvoDcaa9hXZtciVfM="; 24 + sha256 = "11ccfc9769d718d37e45b382e64a6ba02586b622afa0371a6bd85766d72255f3"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [ ··· 41 41 ]; 42 42 43 43 disabledTestPaths = [ 44 - # Missing support for later pytest-asyncio, https://github.com/jamesls/fakeredis/issues/307 45 - "test/test_aioredis1.py" 44 + # AttributeError: 'AsyncGenerator' object has no attribute XXXX 45 + "test/test_aioredis2.py" 46 46 ]; 47 47 48 48 pythonImportsCheck = [ "fakeredis" ];
+12 -2
pkgs/development/python-modules/fastapi/default.nix
··· 55 55 # ignoring deprecation warnings to avoid test failure from 56 56 # tests/test_tutorial/test_testing/test_tutorial001.py 57 57 58 - pytestFlagsArray = [ "--ignore=tests/test_default_response_class.py" "-W ignore::DeprecationWarning"]; 59 - disabledTests = [ "test_get_custom_response" ]; 58 + pytestFlagsArray = [ 59 + "--ignore=tests/test_default_response_class.py" 60 + "-W ignore::DeprecationWarning" 61 + ]; 62 + 63 + disabledTests = [ 64 + "test_get_custom_response" 65 + 66 + # Failed: DID NOT RAISE <class 'starlette.websockets.WebSocketDisconnect'> 67 + "test_websocket_invalid_data" 68 + "test_websocket_no_credentials" 69 + ]; 60 70 61 71 meta = with lib; { 62 72 homepage = "https://github.com/tiangolo/fastapi";
+8 -5
pkgs/development/python-modules/fastdiff/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-benchmark, wasmer }: 1 + { stdenv, lib, buildPythonPackage, fetchPypi, wasmer, wasmer-compiler-cranelift, pytestCheckHook, pytest-benchmark }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "fastdiff"; 5 - version = "0.2.0"; 5 + version = "0.3.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1ai95vjchl4396zjl1b69xfqvn9kn1y7c40d9l0qxdss0pcx6fk2"; 9 + sha256 = "4dfa09c47832a8c040acda3f1f55fc0ab4d666f0e14e6951e6da78d59acd945a"; 10 10 }; 11 11 12 12 postPatch = '' 13 13 substituteInPlace setup.py \ 14 14 --replace 'pytest-runner' "" 15 + substituteInPlace setup.cfg \ 16 + --replace "collect_ignore = ['setup.py']" "" 15 17 ''; 16 18 17 - propagatedBuildInputs = [ wasmer ]; 19 + propagatedBuildInputs = [ wasmer wasmer-compiler-cranelift ]; 18 20 19 21 checkInputs = [ pytestCheckHook pytest-benchmark ]; 20 22 21 23 pythonImportsCheck = [ "fastdiff" ]; 22 - disabledTests = [ "test_native" ]; 23 24 24 25 meta = with lib; { 25 26 description = "A fast native implementation of diff algorithm with a pure Python fallback"; 26 27 homepage = "https://github.com/syrusakbary/fastdiff"; 27 28 license = licenses.mit; 28 29 maintainers = with maintainers; [ SuperSandro2000 ]; 30 + # resulting compiled object panics at import 31 + broken = stdenv.is32bit; 29 32 }; 30 33 }
+2 -2
pkgs/development/python-modules/fastimport/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "fastimport"; 10 - version = "0.9.13"; 10 + version = "0.9.14"; 11 11 12 12 disabled = pythonOlder "3.5"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "486135a39edb85808fdbbe2c8009197978800a4544fca56cc2074df32e1304f3"; 16 + sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca"; 17 17 }; 18 18 19 19 checkPhase = ''
+10 -5
pkgs/development/python-modules/fastparquet/default.nix
··· 5 5 , numba 6 6 , numpy 7 7 , pandas 8 - , pytest-runner 9 8 , cramjam 10 9 , fsspec 11 10 , thrift ··· 14 13 15 14 buildPythonPackage rec { 16 15 pname = "fastparquet"; 17 - version = "0.7.0"; 16 + version = "0.7.1"; 18 17 19 18 src = fetchFromGitHub { 20 19 owner = "dask"; 21 20 repo = pname; 22 21 rev = version; 23 - hash = "sha256-08hanzRnt6WuMriNNtOd+ZHycr2XBeIRav+5sgvT7Do="; 22 + hash = "sha256-xV0AXNZSy4LSrHf11OP/+KDbeDQu8yF1ugX+W4mie1E="; 24 23 }; 25 24 26 - nativeBuildInputs = [ pytest-runner ]; 25 + postPatch = '' 26 + substituteInPlace setup.py \ 27 + --replace "'pytest-runner'," "" \ 28 + --replace "oldest-supported-numpy" "numpy" 29 + ''; 30 + 27 31 propagatedBuildInputs = [ cramjam fsspec numba numpy pandas thrift ]; 28 32 checkInputs = [ pytestCheckHook ]; 29 33 30 34 # Workaround https://github.com/NixOS/nixpkgs/issues/123561 31 35 preCheck = '' 32 36 mv fastparquet/test . 33 - rm -rf fastparquet 37 + rm -r fastparquet 34 38 fastparquet_test="$out"/${python.sitePackages}/fastparquet/test 35 39 ln -s `pwd`/test "$fastparquet_test" 36 40 ''; 41 + 37 42 postCheck = '' 38 43 rm "$fastparquet_test" 39 44 '';
+2 -2
pkgs/development/python-modules/ffmpeg-progress-yield/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "ffmpeg-progress-yield"; 12 - version = "0.0.4"; 12 + version = "0.1.2"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "e944093e2c1b213da8fa4f0c276c1bad44e0b8ba8be7e4fd001f5132d16baef5"; 16 + sha256 = "92ae36ff5cf38428bd3695629b5065d161c658fb0de0faf2c20cd7a99dac3820"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ colorama tqdm ];
+8 -4
pkgs/development/python-modules/fiona/default.nix
··· 1 1 { stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder 2 2 , attrs, click, cligj, click-plugins, six, munch, enum34 3 3 , pytestCheckHook, boto3, mock, giflib, pytz 4 - , gdal 5 - , certifi 4 + , gdal, certifi 6 5 }: 7 6 8 7 buildPythonPackage rec { 9 - pname = "Fiona"; 8 + pname = "fiona"; 10 9 version = "1.8.20"; 11 10 12 11 src = fetchPypi { 13 - inherit pname version; 12 + pname = "Fiona"; 13 + inherit version; 14 14 sha256 = "a70502d2857b82f749c09cb0dea3726787747933a2a1599b5ab787d74e3c143b"; 15 15 }; 16 16 ··· 42 42 43 43 preCheck = '' 44 44 rm -r fiona # prevent importing local fiona 45 + # disable gdal deprecation warnings 46 + export GDAL_ENABLE_DEPRECATED_DRIVER_GTM=YES 45 47 ''; 46 48 47 49 disabledTests = [ 48 50 # Some tests access network, others test packaging 49 51 "http" "https" "wheel" 52 + # Assert not true 53 + "test_no_append_driver_cannot_append" 50 54 ]; 51 55 52 56 meta = with lib; {
+2 -2
pkgs/development/python-modules/flask-jwt-extended/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "Flask-JWT-Extended"; 5 - version = "4.2.3"; 5 + version = "4.3.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "22b8ffa7587d50aaf65f3009f1d55ef7287da8260eaf4655a5837e33479216c3"; 9 + sha256 = "6e2b40d548b9dfc6051740c4552c097ac38e514e500c16c682d9a533d17ca418"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ python-dateutil flask pyjwt werkzeug ];
+2 -2
pkgs/development/python-modules/flask-migrate/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "Flask-Migrate"; 5 - version = "3.0.1"; 5 + version = "3.1.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "00m76kgdkk0w5bfq8hbqszpyaqk0yxdvmz4s67lvd36pc7wfhhjd"; 9 + sha256 = "57d6060839e3a7f150eaab6fe4e726d9e3e7cffe2150fb223d73f92421c6d1d9"; 10 10 }; 11 11 12 12 checkInputs = [ flask_script ] ++ lib.optional isPy3k glibcLocales;
+17 -8
pkgs/development/python-modules/flit-core/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , callPackage 3 4 , flit 4 - , isPy3k 5 5 , toml 6 6 , pytestCheckHook 7 7 , testpath ··· 11 11 pname = "flit-core"; 12 12 version = "3.2.0"; 13 13 format = "pyproject"; 14 + 15 + outputs = [ 16 + "out" 17 + "testsout" 18 + ]; 14 19 15 20 inherit (flit) src patches; 16 21 ··· 22 27 toml 23 28 ]; 24 29 25 - checkInputs = [ 26 - pytestCheckHook 27 - testpath 28 - ]; 30 + postInstall = '' 31 + mkdir $testsout 32 + cp -R ../tests $testsout/tests 33 + ''; 34 + 35 + # check in passthru.tests.pytest to escape infinite recursion with setuptools-scm 36 + doCheck = false; 29 37 30 38 passthru.tests = { 31 39 inherit flit; 40 + pytest = callPackage ./tests.nix { }; 32 41 }; 33 42 34 - meta = { 43 + meta = with lib; { 35 44 description = "Distribution-building parts of Flit. See flit package for more information"; 36 45 homepage = "https://github.com/takluyver/flit"; 37 - license = lib.licenses.bsd3; 38 - maintainers = [ lib.maintainers.fridh ]; 46 + license = licenses.bsd3; 47 + maintainers = with maintainers; [ fridh SuperSandro2000 ]; 39 48 }; 40 49 }
+22
pkgs/development/python-modules/flit-core/tests.nix
··· 1 + { buildPythonPackage 2 + , flit 3 + , flit-core 4 + , pytestCheckHook 5 + , testpath 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "flit-core"; 10 + inherit (flit-core) version; 11 + 12 + src = flit-core.testsout; 13 + 14 + dontBuild = true; 15 + dontInstall = true; 16 + 17 + checkInputs = [ 18 + flit 19 + pytestCheckHook 20 + testpath 21 + ]; 22 + }
+17 -1
pkgs/development/python-modules/freetype-py/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, substituteAll, stdenv, setuptools-scm, freetype }: 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , fetchPypi 5 + , substituteAll 6 + , setuptools-scm 7 + , freetype 8 + , pytestCheckHook 9 + }: 2 10 3 11 buildPythonPackage rec { 4 12 pname = "freetype-py"; ··· 19 27 nativeBuildInputs = [ setuptools-scm ]; 20 28 21 29 propagatedBuildInputs = [ freetype ]; 30 + 31 + preCheck = '' 32 + cd tests 33 + ''; 34 + 35 + checkInputs = [ 36 + pytestCheckHook 37 + ]; 22 38 23 39 pythonImportsCheck = [ "freetype" ]; 24 40
+36 -5
pkgs/development/python-modules/frozendict/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPy3k 5 + , pytestCheckHook 6 + , setuptoolsBuildHook 7 + , python 8 + }: 2 9 3 10 buildPythonPackage rec { 4 11 pname = "frozendict"; 5 - version = "1.2"; 12 + version = "2.0.5"; # 2.0.6 breaks canonicaljson 13 + format = "setuptools"; 14 + 15 + disabled = !isPy3k; 6 16 7 17 src = fetchPypi { 8 18 inherit pname version; 9 - sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp"; 19 + sha256 = "sha256-wb7hwHDY2fZA4SjluHV2pEAAhgCfeGLRPAv4YA5iE9M="; 10 20 }; 11 21 12 - # frozendict does not come with tests 13 - doCheck = false; 22 + pythonImportsCheck = [ 23 + "frozendict" 24 + ]; 25 + 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + preCheck = '' 31 + rm -r frozendict 32 + export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH 33 + ''; 34 + 35 + disabledTests = [ 36 + # TypeError: unsupported operand type(s) for |=: 'frozendict.frozendict' and 'dict' 37 + "test_union" 38 + ]; 39 + 40 + disabledTestPaths = [ 41 + # unpackaged test dependency: coold 42 + "test/test_coold.py" 43 + "test/test_coold_subclass.py" 44 + ]; 14 45 15 46 meta = with lib; { 16 47 homepage = "https://github.com/slezica/python-frozendict";
+2 -2
pkgs/development/python-modules/gcovr/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "gcovr"; 10 - version = "4.2"; 10 + version = "5.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "0gyady7x3v3l9fm1zan0idaggqqcm31y7g5vxk7h05p5h7f39bjs"; 14 + sha256 = "1d80264cbaadff356b3dda71b8c62b3aa803e5b3eb6d526a24932cd6660a2576"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+32 -10
pkgs/development/python-modules/geoalchemy2/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , sqlalchemy 4 + , packaging 5 + , setuptools-scm 5 6 , shapely 6 - , setuptools-scm 7 - , pytest 7 + , sqlalchemy 8 + , psycopg2 9 + , pytestCheckHook 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "GeoAlchemy2"; 12 - version = "0.9.3"; 14 + version = "0.9.4"; 15 + format = "setuptools"; 13 16 14 17 src = fetchPypi { 15 18 inherit pname version; 16 - sha256 = "56f969cf4ad6629ebcde73e807f7dac0a9375c79991b4f93efab191f37737a00"; 19 + sha256 = "b0e56d4a945bdc0f8fa9edd50ecc912889ea68e0e3558a19160dcb0d5b1b65fc"; 17 20 }; 18 21 19 - nativeBuildInputs = [ setuptools-scm ]; 20 - propagatedBuildInputs = [ sqlalchemy shapely ]; 22 + nativeBuildInputs = [ 23 + setuptools-scm 24 + ]; 21 25 22 - # https://github.com/geoalchemy/geoalchemy2/blob/e05a676350b11f0e73609379dae5625c5de2e868/TEST.rst 23 - doCheck = false; 26 + propagatedBuildInputs = [ 27 + packaging 28 + shapely 29 + sqlalchemy 30 + ]; 31 + 32 + checkInputs = [ 33 + psycopg2 34 + pytestCheckHook 35 + ]; 36 + 37 + disabledTestPaths = [ 38 + # tests require live postgis database 39 + "tests/gallery/test_decipher_raster.py" 40 + "tests/gallery/test_length_at_insert.py" 41 + "tests/gallery/test_summarystatsagg.py" 42 + "tests/gallery/test_type_decorator.py" 43 + "tests/test_functional.py" 44 + ]; 24 45 25 46 meta = with lib; { 47 + description = "Toolkit for working with spatial databases"; 26 48 homepage = "http://geoalchemy.org/"; 27 49 license = licenses.mit; 28 - description = "Toolkit for working with spatial databases"; 50 + maintainers = with maintainers; [ ]; 29 51 }; 30 52 31 53 }
+6
pkgs/development/python-modules/gevent-websocket/default.nix
··· 17 17 18 18 propagatedBuildInputs = [ gevent gunicorn ]; 19 19 20 + # zero tests run 21 + doCheck = false; 22 + 23 + pythonImportsCheck = [ "geventwebsocket" ]; 24 + 20 25 meta = with lib; { 21 26 homepage = "https://www.gitlab.com/noppo/gevent-websocket"; 22 27 description = "Websocket handler for the gevent pywsgi server, a Python network library"; 23 28 license = licenses.asl20; 29 + maintainers = with maintainers; [ ]; 24 30 }; 25 31 26 32 }
+31 -14
pkgs/development/python-modules/geventhttpclient/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , pythonOlder 3 4 , fetchPypi 4 - , pytest 5 - , gevent 5 + , backports_ssl_match_hostname 6 + , brotli 6 7 , certifi 8 + , gevent 7 9 , six 8 - , backports_ssl_match_hostname 9 - , pythonOlder 10 + , dpkt 11 + , pytestCheckHook 10 12 }: 11 13 12 14 buildPythonPackage rec { 13 15 pname = "geventhttpclient"; 14 - version = "1.4.5"; 16 + version = "1.5.1"; 15 17 16 18 src = fetchPypi { 17 19 inherit pname version; 18 - sha256 = "3f0ab18d84ef26ba0c9df73ae2a41ba30a46072b447f2e36c740400de4a63d44"; 20 + sha256 = "4aead64253d2769a6528544f7812ce8d71ae13551d079f2d9a3533d72818f2e0"; 19 21 }; 20 22 21 - buildInputs = [ pytest ]; 22 - propagatedBuildInputs = [ gevent certifi six ] 23 - ++ lib.optionals (pythonOlder "3.7") [ backports_ssl_match_hostname ]; 23 + propagatedBuildInputs = [ 24 + brotli 25 + certifi 26 + gevent 27 + six 28 + ] ++ lib.optionals (pythonOlder "3.7") [ 29 + backports_ssl_match_hostname 30 + ]; 31 + 32 + checkInputs = [ 33 + dpkt 34 + pytestCheckHook 35 + ]; 24 36 25 - # Several tests fail that require network 26 - doCheck = false; 27 - checkPhase = '' 28 - py.test $out 29 - ''; 37 + disabledTests = [ 38 + # socket.gaierror: [Errno -2] Name or service not known 39 + "test_client_simple" 40 + "test_client_without_leading_slas" 41 + "test_request_with_headers" 42 + "test_response_context_manager" 43 + "test_client_ssl" 44 + "test_ssl_fail_invalid_certificate" 45 + "test_multi_queries_greenlet_safe" 46 + ]; 30 47 31 48 meta = with lib; { 32 49 homepage = "https://github.com/gwik/geventhttpclient";
+2 -2
pkgs/development/python-modules/google-api-python-client/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "google-api-python-client"; 7 - version = "2.15.0"; 7 + version = "2.18.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "sha256-g3VIkjKCP0TGARlqlgUF4D7FjJXdtkFcax0ddrRo+Lo="; 11 + sha256 = "a25661ec6cf4c159f41fe9c061c2bee31b2dddaf2ad787e23617048a25b53842"; 12 12 }; 13 13 14 14 # No tests included in archive
+2 -2
pkgs/development/python-modules/google-cloud-bigquery-datatransfer/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-bigquery-datatransfer"; 14 - version = "3.3.1"; 14 + version = "3.3.2"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-oCktt8wAYKewz6Ga4mIGVy0IWonXTqQvaO5MT4MkHMY="; 18 + sha256 = "fcb71ebe5c5b232d24fe7d666b65709e4fc8db43263c8182e5ed8e5a52abefec"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ google-api-core libcst proto-plus ];
+2 -2
pkgs/development/python-modules/google-cloud-testutils/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "google-cloud-testutils"; 5 - version = "1.0.0"; 5 + version = "1.1.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-2RaRhRvgnmr/trjAE+RBlVO5AZ54YEFcoRwcPCKCTKs="; 9 + sha256 = "3d79051b6ca170c2a4f159bf56ac3f66c1e5360486121e72c06fdaa3911154bf"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ click google-auth six ];
+2 -2
pkgs/development/python-modules/google-crc32c/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "google-crc32c"; 5 - version = "1.1.2"; 5 + version = "1.1.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "googleapis"; 9 9 repo = "python-crc32c"; 10 10 rev = "v${version}"; 11 - sha256 = "058g69yp7x41mv0d84yp31jv64fpm4r25b86rvvqgc6n74w6jj7k"; 11 + sha256 = "1m2hafyfagvyabizr4fhcp2s2s3x56k006fhvl1qzk994qjhyzqk"; 12 12 }; 13 13 14 14 buildInputs = [ crc32c ];
+2 -2
pkgs/development/python-modules/gradient/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "gradient"; 25 - version = "1.5.5"; 25 + version = "1.7.4"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - sha256 = "fee5016afe5e61a640bb9d7e234a10926c17c9e83c876b617438ff5f5ce039ad"; 29 + sha256 = "de1d33672f13d4de37a66ba9aebfd503a098d0ca26e5eb8b071e1c0dacd557ea"; 30 30 }; 31 31 32 32 postPatch = ''
+2 -2
pkgs/development/python-modules/graphql-core/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "graphql-core"; 11 - version = "3.1.5"; 11 + version = "3.1.6"; 12 12 disabled = pythonOlder "3.6"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "graphql-python"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "055gfvyax781f4zk4pl60y8yd90bnn4rkqh5i48pczaff0lwlfj1"; 18 + sha256 = "1ip0yrqmnqncgpwvba18x020gkwr7csiw4zdy6mrdnvwf5qyam4x"; 19 19 }; 20 20 21 21 checkInputs = [
+2 -2
pkgs/development/python-modules/green/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "green"; 11 - version = "3.2.6"; 11 + version = "3.3.0"; 12 12 13 13 disabled = !isPy3k; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "e51d4ff6e6885942d944304fedc7440a8f87917aa09526beeecb31a0dae655b8"; 17 + sha256 = "a4d86f2dfa4ccbc86f24bcb9c9ab8bf34219c876c24e9f0603aab4dfe73bb575"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/greenlet/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "greenlet"; 12 - version = "1.1.0"; 12 + version = "1.1.1"; 13 13 disabled = isPyPy; # builtin for pypy 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee"; 17 + sha256 = "c0f22774cd8294078bdf7392ac73cf00bfa1e5e0ed644bd064fdabc5f2a2f481"; 18 18 }; 19 19 20 20 checkPhase = ''
+2 -2
pkgs/development/python-modules/h5py/default.nix
··· 8 8 mpi = hdf5.mpi; 9 9 mpiSupport = hdf5.mpiSupport; 10 10 in buildPythonPackage rec { 11 - version = "3.2.1"; 11 + version = "3.4.0"; 12 12 pname = "h5py"; 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-iUdL6RG/zbNMvw2YuOxItXjCeon9sa5O51E/HvjZJJ4="; 17 + sha256 = "ee1c683d91ab010d5e85cb61e8f9e7ee0d8eab545bf3dd50a9618f1d0e8f615e"; 18 18 }; 19 19 20 20 # avoid strict pinning of numpy
+2
pkgs/development/python-modules/hdbscan/default.nix
··· 44 44 "test_hdbscan_boruvka_balltree_matches" 45 45 ]; 46 46 47 + pythonImportsCheck = [ "hdbscan" ]; 48 + 47 49 meta = with lib; { 48 50 description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API"; 49 51 homepage = "https://github.com/scikit-learn-contrib/hdbscan";
+2 -2
pkgs/development/python-modules/hstspreload/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "hstspreload"; 9 - version = "2021.8.1"; 9 + version = "2021.9.1"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "sethmlarson"; 14 14 repo = pname; 15 15 rev = version; 16 - sha256 = "0si22p461qydh874gkidiar89hrfx7lm7r7g6d1qi7lz8wlwcplv"; 16 + sha256 = "sha256-CZlXnRe4yA6VJF48t73m2PbBRFzg0XTgT7J1N83Ojc4="; 17 17 }; 18 18 19 19 # tests require network connection
+2 -2
pkgs/development/python-modules/httpretty/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "httpretty"; 22 - version = "1.1.3"; 22 + version = "1.1.4"; 23 23 24 24 # drop this for version > 0.9.7 25 25 # Flaky tests: https://github.com/gabrielfalcao/HTTPretty/pull/394 ··· 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "229ade39175ea4324e767f29dc24e5f846fbc72bf80e1a919b2547a6574ff601"; 30 + sha256 = "20de0e5dd5a18292d36d928cc3d6e52f8b2ac73daec40d41eb62dee154933b68"; 31 31 }; 32 32 33 33 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/httptools/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "httptools"; 9 - version = "0.2.0"; 9 + version = "0.3.0"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "94505026be56652d7a530ab03d89474dc6021019d6b8682281977163b3471ea0"; 14 + sha256 = "3f9b4856d46ba1f0c850f4e84b264a9a8b4460acb20e865ec00978ad9fbaa4cf"; 15 15 }; 16 16 17 17 # tests are not included in pypi tarball
+4 -2
pkgs/development/python-modules/httpx/default.nix
··· 4 4 , fetchFromGitHub 5 5 , brotlicffi 6 6 , certifi 7 + , charset-normalizer 7 8 , h2 8 9 , httpcore 9 10 , rfc3986 ··· 18 19 19 20 buildPythonPackage rec { 20 21 pname = "httpx"; 21 - version = "0.18.2"; 22 + version = "0.19.0"; 22 23 disabled = pythonOlder "3.6"; 23 24 24 25 src = fetchFromGitHub { 25 26 owner = "encode"; 26 27 repo = pname; 27 28 rev = version; 28 - sha256 = "0rr5b6z96yipvp4riqmmbkbcy0sdyzykcdwf5y9ryh27pxr8q8x4"; 29 + sha256 = "sha256-bUxxeUYqOHBmSL2gPQG5cIq6k5QY4Kyhj9ToA5yZXPA="; 29 30 }; 30 31 31 32 propagatedBuildInputs = [ 32 33 brotlicffi 33 34 certifi 35 + charset-normalizer 34 36 h2 35 37 httpcore 36 38 rfc3986
+2 -2
pkgs/development/python-modules/humanize/default.nix
··· 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 - version = "3.9.0"; 12 + version = "3.11.0"; 13 13 pname = "humanize"; 14 14 disabled = isPy27; # setup.py no longer compatible 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "892a5b7b87763c4c6997a58382c2b1f4614048a2e01c23ef1bb0456e6f9d4d5d"; 18 + sha256 = "4160cdc63fcd0daac27d2e1e218a31bb396fc3fe5712d153675d89432a03778f"; 19 19 }; 20 20 21 21 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/hypothesis/default.nix
··· 18 18 # If you need these, you can just add them to your environment. 19 19 20 20 pname = "hypothesis"; 21 - version = "6.14.0"; 21 + version = "6.17.3"; 22 22 23 23 # Use github tarballs that includes tests 24 24 src = fetchFromGitHub { 25 25 owner = "HypothesisWorks"; 26 26 repo = "hypothesis-python"; 27 27 rev = "hypothesis-python-${version}"; 28 - sha256 = "0yns81j3fnpdfaphk722xcnidqhgy0kmd7ik6aw7l795l0wivhxj"; 28 + sha256 = "1g96q3l97lq3xps36cv147dvj44nh1b0k67z817x7zfwyw844sgn"; 29 29 }; 30 30 31 31 postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
+2 -2
pkgs/development/python-modules/hypothesmith/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "hypothesmith"; 5 - version = "0.1.8"; 5 + version = "0.1.9"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-+f8EexXE7TEs49pX6idXD4bWtTzhKvnyXlnmV2oAQQo="; 9 + sha256 = "039fd6aa0102f89df9df7ad4cff70aa8068678c13c3be2713c92568917317a04"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ hypothesis lark-parser libcst ];
+15 -15
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , codecov 5 4 , pyjwt 6 - , pylint 7 5 , pytestCheckHook 8 - , pytest-cov 9 6 , python-dateutil 10 7 , requests 11 8 , responses ··· 14 11 15 12 buildPythonPackage rec { 16 13 pname = "ibm-cloud-sdk-core"; 17 - version = "3.10.0"; 14 + version = "3.11.3"; 18 15 19 16 src = fetchPypi { 20 17 inherit pname version; 21 - sha256 = "ab9520be99066ec41a24e31ac653c28953adc8fc349f0fa53a598e1802a79cd6"; 18 + sha256 = "c855d0111dd570f36497cdb8c11510ae8d14fb70698f20529e19f88485266233"; 22 19 }; 23 20 24 - checkInputs = [ 25 - codecov 26 - pylint 27 - pytestCheckHook 28 - pytest-cov 29 - responses 30 - tox 31 - ]; 32 - 33 21 propagatedBuildInputs = [ 34 22 pyjwt 35 23 python-dateutil 36 24 requests 37 25 ]; 38 26 39 - # Various tests try to access credential files which are not included with the source distribution 27 + checkInputs = [ 28 + pytestCheckHook 29 + responses 30 + tox 31 + ]; 32 + 40 33 disabledTests = [ 34 + # Various tests try to access credential files which are not included with the source distribution 41 35 "test_configure_service" 42 36 "test_cp4d_authenticator" 43 37 "test_cwd" ··· 49 43 "test_iam" 50 44 "test_read_external_sources_2" 51 45 "test_retry_config_external" 46 + # assertion error due to requests brotli support 47 + "test_http_client" 48 + ]; 49 + 50 + disabledTestPaths = [ 51 + "test/test_container_token_manager.py" 52 52 ]; 53 53 54 54 meta = with lib; {
+2 -2
pkgs/development/python-modules/ibm-watson/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ibm-watson"; 17 - version = "5.2.2"; 17 + version = "5.2.3"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "watson-developer-cloud"; 21 21 repo = "python-sdk"; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-bK6lcTKAVwAJDb5LqKRWR/4wcOKx7bRwWYC+WB5qJE4="; 23 + sha256 = "0i0zs38hqgh2510b3690nrq2pvx7wcdlv9iyjgsrfl7gid8qi3ng"; 24 24 }; 25 25 26 26 checkInputs = [
+2 -2
pkgs/development/python-modules/imageio-ffmpeg/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "imageio-ffmpeg"; 12 - version = "0.4.4"; 12 + version = "0.4.5"; 13 13 14 14 disabled = !isPy3k; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "73640a7a54f95e607addd637c766d56be31d975a64ddb97d14df012575ef1a5d"; 18 + sha256 = "f2ea4245a2adad25dedf98d343159579167e549ac8c4691cef5eff980e20c139"; 19 19 }; 20 20 21 21 patches = [
+2 -2
pkgs/development/python-modules/imap-tools/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "imap-tools"; 10 - version = "0.44.0"; 10 + version = "0.46.0"; 11 11 12 12 disabled = isPy27; 13 13 ··· 15 15 owner = "ikvk"; 16 16 repo = "imap_tools"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-C9396yRSowaLe3E1s+rw8bah77znjfoIhLwJpcqhN6Y="; 18 + sha256 = "08a4p4q96zz6qp3cy7hs5jn9h2gf68d8zchw4w0kk83sm1r8rpxw"; 19 19 }; 20 20 21 21 checkInputs = [
+2 -2
pkgs/development/python-modules/imdbpy/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "IMDbPY"; 5 - version = "2020.9.25"; 5 + version = "2021.4.18"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1p3j9j1jcgbw4626cvgpryhvczy9gzlg0laz6lflgq17m129gin2"; 9 + sha256 = "af57f03638ba3b8ab3d696bfef0eeaf6414385c85f09260aba0a16b32174853f"; 10 10 }; 11 11 12 12 patches = [ ./sql_error.patch ]; # Already fixed in master, but not yet in the current release. This can be removed upon the next version update
+2 -2
pkgs/development/python-modules/iminuit/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "iminuit"; 5 - version = "2.6.1"; 5 + version = "2.8.2"; 6 6 disabled = !isPy3k; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "5fb8786bcad53762648ddacb008d18b49704ba5c011ade240004bfc5a628b4f6"; 10 + sha256 = "ffba627a638fe233bbef03e91af6063c1e5d62405327219b03f0abf50196a95b"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ cmake ];
+2 -8
pkgs/development/python-modules/immutabledict/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "immutabledict"; 10 - version = "2.1.0"; 10 + version = "2.2.0"; 11 11 format = "pyproject"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "corenting"; 15 15 repo = "immutabledict"; 16 16 rev = "v${version}"; 17 - sha256 = "1n71154nfb6vr41iv00xcwkxmwnn1vwzbr3s23bjvlhvmnjb48a8"; 17 + sha256 = "sha256-Jf7ad3ImPfEvCBrUZ1NVXMCBqwLmd0hwpKfe9rVsehc="; 18 18 }; 19 - 20 - # https://github.com/corenting/immutabledict/issues/56 21 - postPatch = '' 22 - substituteInPlace pyproject.toml \ 23 - --replace "poetry.masonry.api" "poetry.core.masonry.api" 24 - ''; 25 19 26 20 nativeBuildInputs = [ 27 21 poetry-core
+1 -2
pkgs/development/python-modules/inflect/default.nix
··· 3 3 , fetchPypi 4 4 , isPy27 5 5 , setuptools-scm 6 - , toml 7 6 , pytestCheckHook 8 7 }: 9 8 ··· 17 16 sha256 = "41a23f6788962e9775e40e2ecfb1d6455d02de315022afeedd3c5dc070019d73"; 18 17 }; 19 18 20 - nativeBuildInputs = [ setuptools-scm toml ]; 19 + nativeBuildInputs = [ setuptools-scm ]; 21 20 22 21 checkInputs = [ pytestCheckHook ]; 23 22
+2 -2
pkgs/development/python-modules/inform/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "inform"; 10 - version = "1.24"; 10 + version = "1.25"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "KenKundert"; 14 14 repo = "inform"; 15 15 rev = "v${version}"; 16 - sha256 = "114cyff00j9r7qm2ld4w1a4kklr5gx570vk67p56gpr2553dkmly"; 16 + sha256 = "1r56wmn21c7ggy33548l6dfjswhadkp2iaalfb7xgsxmq7qfcnax"; 17 17 }; 18 18 19 19 postPatch = ''
+2 -2
pkgs/development/python-modules/intake/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "intake"; 26 - version = "0.6.2"; 26 + version = "0.6.3"; 27 27 disabled = pythonOlder "3.6"; 28 28 29 29 src = fetchPypi { 30 30 inherit pname version; 31 - sha256 = "b0cab1d185a703acb38eecb9cff3edd5cc7004fe18a36d5e42a8f7fffc9cca1c"; 31 + sha256 = "f64543353f30d9440b953984f78b7a0954e5756d70c64243609d307ba488014f"; 32 32 }; 33 33 34 34 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/invoke/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "invoke"; 9 - version = "1.5.0"; 9 + version = "1.6.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "f0c560075b5fb29ba14dad44a7185514e94970d1b9d57dcd3723bec5fed92650"; 13 + sha256 = "374d1e2ecf78981da94bfaf95366216aaec27c2d6a7b7d5818d92da55aa258d3"; 14 14 }; 15 15 16 16 patchPhase = ''
+17 -34
pkgs/development/python-modules/ipykernel/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 + , callPackage 4 5 , fetchPypi 5 - , flaky 6 + , debugpy 6 7 , ipython 7 8 , jupyter_client 9 + , tornado 8 10 , traitlets 9 - , tornado 10 11 , pythonOlder 11 - , pytestCheckHook 12 - , nose 13 12 }: 14 13 15 14 buildPythonPackage rec { 16 15 pname = "ipykernel"; 17 - version = "5.5.5"; 16 + version = "6.3.0"; 18 17 19 18 src = fetchPypi { 20 19 inherit pname version; 21 - sha256 = "e976751336b51082a89fc2099fb7f96ef20f535837c398df6eab1283c2070884"; 20 + sha256 = "5314690a638f893e2cc3bf3d25042920e9fbb873f7d8263033390264caeb95f4"; 22 21 }; 23 22 24 - propagatedBuildInputs = [ ipython jupyter_client traitlets tornado ]; 23 + propagatedBuildInputs = [ 24 + debugpy 25 + ipython 26 + jupyter_client 27 + tornado 28 + traitlets 29 + ]; 25 30 26 - checkInputs = [ pytestCheckHook nose flaky ]; 27 - dontUseSetuptoolsCheck = true; 28 - preCheck = '' 29 - export HOME=$(mktemp -d) 30 - ''; 31 - disabledTests = lib.optionals stdenv.isDarwin ([ 32 - # see https://github.com/NixOS/nixpkgs/issues/76197 33 - "test_subprocess_print" 34 - "test_subprocess_error" 35 - "test_ipython_start_kernel_no_userns" 31 + # check in passthru.tests.pytest to escape infinite recursion with ipyparallel 32 + doCheck = false; 36 33 37 - # https://github.com/ipython/ipykernel/issues/506 38 - "test_unc_paths" 39 - ] ++ lib.optionals (pythonOlder "3.8") [ 40 - # flaky test https://github.com/ipython/ipykernel/issues/485 41 - "test_shutdown" 42 - 43 - # test regression https://github.com/ipython/ipykernel/issues/486 44 - "test_sys_path_profile_dir" 45 - "test_save_history" 46 - "test_help_output" 47 - "test_write_kernel_spec" 48 - "test_ipython_start_kernel_userns" 49 - "ZMQDisplayPublisherTests" 50 - ]); 51 - 52 - # Some of the tests use localhost networking. 53 - __darwinAllowLocalNetworking = true; 34 + passthru.tests = { 35 + pytest = callPackage ./tests.nix { }; 36 + }; 54 37 55 38 meta = { 56 39 description = "IPython Kernel for Jupyter";
+57
pkgs/development/python-modules/ipykernel/tests.nix
··· 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , pythonOlder 5 + , flaky 6 + , ipykernel 7 + , ipyparallel 8 + , nose 9 + , pytestCheckHook 10 + 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "ipykernel-tests"; 15 + inherit (ipykernel) version; 16 + 17 + src = ipykernel.src; 18 + 19 + dontBuild = true; 20 + dontInstall = true; 21 + 22 + checkInputs = [ 23 + flaky 24 + ipykernel 25 + ipyparallel 26 + nose 27 + pytestCheckHook 28 + ]; 29 + 30 + preCheck = '' 31 + export HOME=$(mktemp -d) 32 + ''; 33 + 34 + disabledTests = lib.optionals stdenv.isDarwin ([ 35 + # see https://github.com/NixOS/nixpkgs/issues/76197 36 + "test_subprocess_print" 37 + "test_subprocess_error" 38 + "test_ipython_start_kernel_no_userns" 39 + 40 + # https://github.com/ipython/ipykernel/issues/506 41 + "test_unc_paths" 42 + ] ++ lib.optionals (pythonOlder "3.8") [ 43 + # flaky test https://github.com/ipython/ipykernel/issues/485 44 + "test_shutdown" 45 + 46 + # test regression https://github.com/ipython/ipykernel/issues/486 47 + "test_sys_path_profile_dir" 48 + "test_save_history" 49 + "test_help_output" 50 + "test_write_kernel_spec" 51 + "test_ipython_start_kernel_userns" 52 + "ZMQDisplayPublisherTests" 53 + ]); 54 + 55 + # Some of the tests use localhost networking. 56 + __darwinAllowLocalNetworking = true; 57 + }
+2 -2
pkgs/development/python-modules/ipython/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "ipython"; 26 - version = "7.24.1"; 26 + version = "7.27.0"; 27 27 disabled = pythonOlder "3.7"; 28 28 29 29 src = fetchPypi { 30 30 inherit pname version; 31 - sha256 = "9bc24a99f5d19721fb8a2d1408908e9c0520a17fff2233ffe82620847f17f1b6"; 31 + sha256 = "58b55ebfdfa260dad10d509702dc2857cb25ad82609506b070cf2d7b7df5af13"; 32 32 }; 33 33 34 34 prePatch = lib.optionalString stdenv.isDarwin ''
+1 -2
pkgs/development/python-modules/irc/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, isPy3k 2 2 , six, jaraco_logging, jaraco_text, jaraco_stream, pytz, jaraco_itertools 3 - , setuptools-scm, jaraco_collections, importlib-metadata, toml 3 + , setuptools-scm, jaraco_collections, importlib-metadata 4 4 }: 5 5 6 6 buildPythonPackage rec { ··· 28 28 pytz 29 29 jaraco_itertools 30 30 jaraco_collections 31 - toml 32 31 ]; 33 32 34 33 meta = with lib; {
+2 -2
pkgs/development/python-modules/islpy/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "islpy"; 14 - version = "2020.2.2"; 14 + version = "2021.1"; 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "7eb7dfa41d6a67d9ee4ea4bb9f08bdbcbee42b364502136b7882cfd80ff427e0"; 19 + sha256 = "b3f49de925149dbf2482e648016507cd66d0dce6668a1bc4de5e7a937e9c576d"; 20 20 }; 21 21 22 22 postConfigure = ''
+5 -4
pkgs/development/python-modules/isort/default.nix
··· 6 6 , pytestCheckHook 7 7 }: 8 8 9 - let 10 - in buildPythonPackage rec { 9 + buildPythonPackage rec { 11 10 pname = "isort"; 12 - version = "5.6.4"; 11 + version = "5.9.3"; 13 12 format = "pyproject"; 14 13 15 14 src = fetchFromGitHub { 16 15 owner = "PyCQA"; 17 16 repo = "isort"; 18 17 rev = version; 19 - sha256 = "1m7jpqssnbsn1ydrw1dn7nrcrggqcvj9v6mk5ampxmvk94xd2r2q"; 18 + sha256 = "sha256-JbRZ/3Xz35tGoCNnQesR08Sjoz3yimxZyxhhOXGvmXw="; 20 19 }; 21 20 22 21 nativeBuildInputs = [ ··· 46 45 ''; 47 46 48 47 pytestFlagsArray = [ 48 + "--ignore=tests/benchmark/" # requires pytest-benchmark 49 49 "--ignore=tests/integration/" # pulls in 10 other packages 50 50 "--ignore=tests/unit/profiles/test_black.py" # causes infinite recursion to include black 51 51 ]; ··· 63 63 # plugin not available 64 64 "test_isort_literals_issue_1358" 65 65 "test_isort_supports_formatting_plugins_issue_1353" 66 + "test_sort_configurable_sort_issue_1732" 66 67 "test_value_assignment_list" 67 68 # profiles not available 68 69 "test_isort_supports_shared_profiles_issue_970"
+2 -2
pkgs/development/python-modules/iterm2/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "iterm2"; 8 - version = "1.21"; 8 + version = "1.27"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "06be59e0314a2f0f32753eb2d44eb563e85253875bc8da64df5b4eeba7fc05bd"; 12 + sha256 = "dcbd89d0502e72a9a41b055f5cf10b5a991f60fb12df29918d9c2183d1389abd"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [ protobuf websockets ];
+2 -2
pkgs/development/python-modules/jaraco_classes/default.nix
··· 1 1 { lib, buildPythonPackage, fetchFromGitHub, isPy27 2 - , setuptools-scm, toml 2 + , setuptools-scm 3 3 , more-itertools 4 4 , pytestCheckHook 5 5 }: ··· 20 20 21 21 SETUPTOOLS_SCM_PRETEND_VERSION = version; 22 22 23 - nativeBuildInputs = [ setuptools-scm toml ]; 23 + nativeBuildInputs = [ setuptools-scm ]; 24 24 25 25 propagatedBuildInputs = [ more-itertools ]; 26 26
+2 -2
pkgs/development/python-modules/jaraco_collections/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "jaraco.collections"; 7 - version = "3.3.0"; 7 + version = "3.4.0"; 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "3662267424b55f10bf15b6f5dee6a6e48a2865c0ec50cc7a16040c81c55a98dc"; 10 + sha256 = "344d14769d716e7496af879ac71b3c6ebdd46abc64bd9ec21d15248365aa3ac9"; 11 11 }; 12 12 13 13 pythonNamespaces = [ "jaraco" ];
+2 -2
pkgs/development/python-modules/jaraco_functools/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi 2 - , setuptools-scm, toml 2 + , setuptools-scm 3 3 , more-itertools, backports_functools_lru_cache }: 4 4 5 5 buildPythonPackage rec { ··· 11 11 sha256 = "bfcf7da71e2a0e980189b0744b59dba6c1dcf66dcd7a30f8a4413e478046b314"; 12 12 }; 13 13 14 - nativeBuildInputs = [ setuptools-scm toml ]; 14 + nativeBuildInputs = [ setuptools-scm ]; 15 15 16 16 propagatedBuildInputs = [ more-itertools backports_functools_lru_cache ]; 17 17
+2 -2
pkgs/development/python-modules/jaraco_text/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "jaraco.text"; 9 - version = "3.5.0"; 9 + version = "3.5.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "f07f1076814a17a98eb915948b9a0dc71b1891c833588066ec1feb04ea4389b1"; 13 + sha256 = "ede4e9103443b62b3d1d193257dfb85aab7c69a6cef78a0887d64bb307a03bc3"; 14 14 }; 15 15 16 16 pythonNamespaces = [ "jaraco" ];
+4 -2
pkgs/development/python-modules/jeepney/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pythonOlder 5 + , async-timeout 5 6 , dbus 6 7 , pytest 7 8 , pytest-trio ··· 12 13 13 14 buildPythonPackage rec { 14 15 pname = "jeepney"; 15 - version = "0.7.0"; 16 + version = "0.7.1"; 16 17 17 18 disabled = pythonOlder "3.6"; 18 19 19 20 src = fetchPypi { 20 21 inherit pname version; 21 - sha256 = "1237cd64c8f7ac3aa4b3f332c4d0fb4a8216f39eaa662ec904302d4d77de5a54"; 22 + sha256 = "fa9e232dfa0c498bd0b8a3a73b8d8a31978304dcef0515adc859d4e096f96f4f"; 22 23 }; 23 24 24 25 checkInputs = [ 26 + async-timeout 25 27 dbus 26 28 pytest 27 29 pytest-trio
+39 -17
pkgs/development/python-modules/jira/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k 2 - , pytest, pytest-runner, pbr, glibcLocales , pytest-cov 3 - , requests, requests_oauthlib, requests-toolbelt, defusedxml 4 - , ipython 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , defusedxml 5 + , flaky 6 + , keyring 7 + , requests-mock 8 + , requests_oauthlib 9 + , requests-toolbelt 10 + , setuptools-scm 11 + , setuptools-scm-git-archive 12 + , pytestCheckHook 5 13 }: 6 14 7 15 buildPythonPackage rec { 8 16 pname = "jira"; 9 - version = "2.0.0"; 17 + version = "3.0.1"; 10 18 11 - PBR_VERSION = version; 12 - 13 - src = fetchPypi { 14 - inherit pname version; 15 - sha256 = "e2a94adff98e45b29ded030adc76103eab34fa7d4d57303f211f572bedba0e93"; 19 + src = fetchFromGitHub { 20 + owner = "pycontribs"; 21 + repo = pname; 22 + rev = version; 23 + sha256 = "sha256-hAUAzkHPXFDlKEom+dkzr8GQ+sqK2Ci1/k+QuSNvifE="; 16 24 }; 17 25 18 - buildInputs = [ glibcLocales pytest pytest-cov pytest-runner pbr ]; 19 - propagatedBuildInputs = [ requests requests_oauthlib requests-toolbelt defusedxml pbr ipython ]; 26 + postPatch = '' 27 + substituteInPlace setup.cfg \ 28 + --replace "--cov-report=xml --cov jira" "" 29 + ''; 20 30 21 - # impure tests because of connectivity attempts to jira servers 22 - doCheck = false; 31 + nativeBuildInputs = [ setuptools-scm setuptools-scm-git-archive ]; 23 32 24 - patches = [ ./sphinx-fix.patch ]; 33 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 34 26 - LC_ALL = "en_US.utf8"; 35 + propagatedBuildInputs = [ 36 + defusedxml 37 + keyring 38 + requests_oauthlib 39 + requests-toolbelt 40 + ]; 27 41 28 - disabled = !isPy3k; 42 + checkInputs = [ 43 + flaky 44 + pytestCheckHook 45 + requests-mock 46 + ]; 47 + 48 + # impure tests because of connectivity attempts to jira servers 49 + doCheck = false; 29 50 30 51 meta = with lib; { 31 52 description = "This library eases the use of the JIRA REST API from Python."; 53 + homepage = "https://github.com/pycontribs/jira"; 32 54 license = licenses.bsd2; 33 55 maintainers = with maintainers; [ globin ]; 34 56 };
-11
pkgs/development/python-modules/jira/sphinx-fix.patch
··· 1 - diff --git a/setup.py b/setup.py 2 - index c49a24d..31aeec2 100644 3 - --- a/setup.py 4 - +++ b/setup.py 5 - @@ -11,5 +11,5 @@ except ImportError: 6 - 7 - 8 - setuptools.setup( 9 - - setup_requires=['pbr>=3.0.0', 'setuptools>=17.1', 'pytest-runner', 'sphinx>=1.6.5'], 10 - + setup_requires=['pbr>=3.0.0', 'setuptools>=17.1', 'pytest-runner'], 11 - pbr=True)
+2 -2
pkgs/development/python-modules/jupyter-repo2docker/default.nix
··· 12 12 }: 13 13 14 14 buildPythonPackage rec { 15 - version = "2021.3.0"; 15 + version = "2021.8.0"; 16 16 pname = "jupyter-repo2docker"; 17 17 disabled = pythonOlder "3.4"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "42e0cf67181bdd03b54dabde695befec0586ed68a4ec1240104e209997d776c4"; 21 + sha256 = "9d1b3c3ec7944ea6b0a234d6fa77293a2d1ed1c080eba8466aba94f811b3465d"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+11 -7
pkgs/development/python-modules/jupyter_client/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , traitlets 4 + , entrypoints 5 5 , jupyter_core 6 + , nest-asyncio 7 + , python-dateutil 6 8 , pyzmq 7 - , python-dateutil 9 + , tornado 10 + , traitlets 8 11 , isPyPy 9 12 , py 10 - , tornado 11 13 }: 12 14 13 15 buildPythonPackage rec { 14 16 pname = "jupyter_client"; 15 - version = "6.1.12"; 17 + version = "7.0.2"; 16 18 17 19 src = fetchPypi { 18 20 inherit pname version; 19 - sha256 = "c4bca1d0846186ca8be97f4d2fa6d2bae889cce4892a167ffa1ba6bd1f73e782"; 21 + sha256 = "0c6cabd07e003a2e9692394bf1ae794188ad17d2e250ed747232d7a473aa772c"; 20 22 }; 21 23 22 24 propagatedBuildInputs = [ 23 - traitlets 25 + entrypoints 24 26 jupyter_core 25 - pyzmq 27 + nest-asyncio 26 28 python-dateutil 29 + pyzmq 27 30 tornado 31 + traitlets 28 32 ] ++ lib.optional isPyPy py; 29 33 30 34 # Circular dependency with ipykernel
+2 -2
pkgs/development/python-modules/jupyter_server/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "jupyter_server"; 28 - version = "1.8.0"; 28 + version = "1.10.2"; 29 29 disabled = pythonOlder "3.6"; 30 30 31 31 src = fetchPypi { 32 32 inherit pname version; 33 - sha256 = "8f0c75e0a577536125ad62a442ebb7cf02746f1a69d907e8a273c6225d281237"; 33 + sha256 = "d3a3b68ebc6d7bfee1097f1712cf7709ee39c92379da2cc08724515bb85e72bf"; 34 34 }; 35 35 36 36 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jupyterlab-git/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jupyterlab_git"; 13 - version = "0.30.1"; 13 + version = "0.32.2"; 14 14 disabled = pythonOlder "3.5"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "f44a33cf59b424e0b5ff984b18eae33e45dab1ef9dc1901b1dd23f9adff15df2"; 18 + sha256 = "4c5743a05150ed7736e028aac15787a66735f160e9ae198dacc5a4bd1a727ce2"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ notebook nbdime git ];
+2 -2
pkgs/development/python-modules/jupyterlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jupyterlab"; 13 - version = "3.1.6"; 13 + version = "3.1.9"; 14 14 disabled = pythonOlder "3.5"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "6d2ada6a333861f33a1b555d3cb7b07aa9d1ab80f07997b3d0c43878a98c1174"; 18 + sha256 = "007e42f833e59fd36872d459e45be243d899edbd0e4a98d21388632e4e0d8af7"; 19 19 }; 20 20 21 21 nativeBuildInputs = [ jupyter-packaging ];
+2 -2
pkgs/development/python-modules/jupyterlab_server/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "jupyterlab_server"; 19 - version = "2.7.0"; 19 + version = "2.7.2"; 20 20 disabled = pythonOlder "3.6"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "31457ef564febc42043bc539356c804f6f9144f602e2852150bf0820ed6d7e18"; 24 + sha256 = "c6c9ae5796ed60c65bccd84503cbd44b9e35b046b8265f24db3cc4d61631fc0d"; 25 25 }; 26 26 27 27 postPatch = ''
+8 -8
pkgs/development/python-modules/k5test/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , substituteAll 5 - , six 6 5 , krb5Full 7 6 , findutils 8 7 , which 8 + , pythonOlder 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 12 pname = "k5test"; 13 - version = "0.9.2"; 13 + version = "0.10.0"; 14 + 15 + disabled = pythonOlder "3.6"; 14 16 15 17 src = fetchPypi { 16 18 inherit pname version; 17 - sha256 = "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8"; 19 + sha256 = "fc5e7e5e286b2f331c1396c33f2a1cd8cf34e78d8d482168a50ffd8576a1455c"; 18 20 }; 19 21 20 22 patches = [ ··· 27 29 }) 28 30 ]; 29 31 30 - propagatedBuildInputs = [ 31 - six 32 - ]; 33 - 34 32 # No tests 35 33 doCheck = false; 36 34 35 + pythonImportsCheck = [ "k5test" ]; 36 + 37 37 meta = with lib; { 38 38 description = "Library for setting up self-contained Kerberos 5 environment"; 39 39 homepage = "https://github.com/pythongssapi/k5test"; 40 40 license = licenses.mit; 41 - maintainers = [ ]; 41 + maintainers = with maintainers; [ ]; 42 42 }; 43 43 }
+60 -28
pkgs/development/python-modules/k5test/fix-paths.patch
··· 45 45 if options_raw: 46 46 return options_raw.split('\n') 47 47 diff --git a/k5test/realm.py b/k5test/realm.py 48 - index f57946b..ad78579 100644 48 + index 161e5ad..9f50049 100644 49 49 --- a/k5test/realm.py 50 50 +++ b/k5test/realm.py 51 - @@ -181,19 +181,13 @@ class K5Realm(object): 52 - return path 51 + @@ -90,7 +90,7 @@ class K5Realm(metaclass=abc.ABCMeta): 53 52 54 - def _init_paths(self, **paths): 55 - - self.kdb5_util = self._discover_path('kdb5_util', 56 - - '/usr/sbin/kdb5_util', paths) 57 - - self.krb5kdc = self._discover_path('krb5kdc', 58 - - '/usr/sbin/krb5kdc', paths) 59 - - self.kadmin_local = self._discover_path('kadmin_local', 60 - - '/usr/sbin/kadmin.local', 61 - - paths) 62 - - self.kprop = self._discover_path('kprop', '/usr/sbin/kprop', paths) 63 - - self.kadmind = self._discover_path('kadmind', 64 - - '/usr/sbin/kadmind', paths) 65 - - 66 - - self._kinit = self._discover_path('kinit', '/usr/bin/kinit', paths) 67 - - self._klist = self._discover_path('klist', '/usr/bin/klist', paths) 68 - + self.kdb5_util = '@krb5Full@/bin/kdb5_util' 69 - + self.krb5kdc = '@krb5Full@/bin/krb5kdc' 70 - + self.kadmin_local = '@krb5Full@/bin/kadmin.local' 71 - + self.kprop = '@krb5Full@/bin/kprop' 72 - + self.kadmind = '@krb5Full@/bin/kadmind' 73 - + self._kinit = '@krb5Full@/bin/kinit' 74 - + self._klist = '@krb5Full@/bin/klist' 53 + if provider_cls == K5Realm: 54 + krb5_config = _discover_path('krb5-config', 55 + - '/usr/bin/krb5-config', kwargs) 56 + + '@krb5Full@/bin/krb5-config', kwargs) 75 57 76 - def _create_conf(self, profile, filename): 77 - with open(filename, 'w') as conf_file: 58 + try: 59 + krb5_version = subprocess.check_output( 60 + @@ -101,7 +101,7 @@ class K5Realm(metaclass=abc.ABCMeta): 61 + # macOS output doesn't contain Heimdal 62 + if 'heimdal' in krb5_version.lower() or ( 63 + sys.platform == 'darwin' and 64 + - krb5_config == '/usr/bin/krb5-config'): 65 + + krb5_config == '@krb5Full@/bin/krb5-config'): 66 + provider_cls = HeimdalRealm 67 + else: 68 + provider_cls = MITRealm 69 + @@ -434,14 +434,14 @@ class MITRealm(K5Realm): 70 + @property 71 + def _default_paths(self): 72 + return [ 73 + - ('kdb5_util', 'kdb5_util', '/usr/sbin/kdb5_util'), 74 + - ('krb5kdc', 'krb5kdc', '/usr/sbin/kdb5kdc'), 75 + - ('kadmin', 'kadmin', '/usr/bin/admin'), 76 + - ('kadmin_local', 'kadmin.local', '/usr/sbin/kadmin.local'), 77 + - ('kadmind', 'kadmind', '/usr/sbin/kadmind'), 78 + - ('kprop', 'kprop', '/usr/sbin/kprop'), 79 + - ('_kinit', 'kinit', '/usr/bin/kinit'), 80 + - ('_klist', 'klist', '/usr/bin/klist'), 81 + + ('kdb5_util', 'kdb5_util', '@krb5Full@/bin/kdb5_util'), 82 + + ('krb5kdc', 'krb5kdc', '@krb5Full@/bin/kdb5kdc'), 83 + + ('kadmin', 'kadmin', '@krb5Full@/bin/admin'), 84 + + ('kadmin_local', 'kadmin.local', '@krb5Full@/bin/kadmin.local'), 85 + + ('kadmind', 'kadmind', '@krb5Full@/bin/kadmind'), 86 + + ('kprop', 'kprop', '@krb5Full@/bin/kprop'), 87 + + ('_kinit', 'kinit', '@krb5Full@/bin/kinit'), 88 + + ('_klist', 'klist', '@krb5Full@/bin/klist'), 89 + ] 90 + 91 + @property 92 + @@ -585,12 +585,12 @@ class HeimdalRealm(K5Realm): 93 + 94 + return [ 95 + ('krb5kdc', 'kdc', os.path.join(base, 'kdc')), 96 + - ('kadmin', 'kadmin', '/usr/bin/kadmin'), 97 + - ('kadmin_local', 'kadmin', '/usr/bin/kadmin'), 98 + + ('kadmin', 'kadmin', '@krb5Full@/bin/kadmin'), 99 + + ('kadmin_local', 'kadmin', '@krb5Full@/bin/kadmin'), 100 + ('kadmind', 'kadmind', os.path.join(base, 'kadmind')), 101 + - ('_kinit', 'kinit', '/usr/bin/kinit'), 102 + - ('_klist', 'klist', '/usr/bin/klist'), 103 + - ('_ktutil', 'ktutil', '/usr/bin/ktutil'), 104 + + ('_kinit', 'kinit', '@krb5Full@/bin/kinit'), 105 + + ('_klist', 'klist', '@krb5Full@/bin/klist'), 106 + + ('_ktutil', 'ktutil', '@krb5Full@/bin/ktutil'), 107 + ] 108 + 109 + @property 78 110 diff --git a/k5test/unit.py b/k5test/unit.py 79 - index 4ee7f98..543d662 100644 111 + index 3c64b9e..59da1ab 100644 80 112 --- a/k5test/unit.py 81 113 +++ b/k5test/unit.py 82 114 @@ -38,7 +38,7 @@ _KRB_VERSION = None 83 - def krb_minversion_test(target_version, problem): 115 + def krb_minversion_test(target_version, problem, provider=None): 84 116 global _KRB_VERSION 85 117 if _KRB_VERSION is None: 86 118 - _KRB_VERSION = _utils.get_output("krb5-config --version")
+5 -2
pkgs/development/python-modules/keyring/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "keyring"; 16 - version = "23.0.1"; 16 + version = "23.1.0"; 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "045703609dd3fccfcdb27da201684278823b72af515aedec1a8515719a038cb8"; 21 + sha256 = "b7e0156667f5dcc73c1f63a518005cd18a4eb23fe77321194fefcc03748b21a4"; 22 22 }; 23 23 24 24 nativeBuildInputs = [ ··· 48 48 disabledTests = lib.optionals (stdenv.isDarwin) [ 49 49 "test_multiprocess_get" 50 50 "test_multiprocess_get_after_native_get" 51 + ] ++ [ 52 + # E ValueError: too many values to unpack (expected 1) 53 + "test_entry_point" 51 54 ]; 52 55 53 56 disabledTestPaths = [
+4 -4
pkgs/development/python-modules/keyrings-alt/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27, six 2 - , pytest, backports_unittest-mock, keyring, setuptools-scm, toml 2 + , pytest, backports_unittest-mock, keyring, setuptools-scm 3 3 }: 4 4 5 5 buildPythonPackage rec { 6 6 pname = "keyrings.alt"; 7 - version = "4.0.2"; 7 + version = "4.1.0"; 8 8 disabled = isPy27; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "cc475635099d6edd7e475c5a479e5b4da5e811a3af04495a1e9ada488d16fe25"; 12 + sha256 = "52ccb61d6f16c10f32f30d38cceef7811ed48e086d73e3bae86f0854352c4ab2"; 13 13 }; 14 14 15 15 postPatch = '' ··· 17 17 --replace "--flake8" "" 18 18 ''; 19 19 20 - nativeBuildInputs = [ setuptools-scm toml ]; 20 + nativeBuildInputs = [ setuptools-scm ]; 21 21 propagatedBuildInputs = [ six ]; 22 22 23 23 checkInputs = [ pytest keyring ] ++ lib.optional (pythonOlder "3.3") backports_unittest-mock;
+2 -2
pkgs/development/python-modules/kiwisolver/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "kiwisolver"; 11 - version = "1.3.1"; 11 + version = "1.3.2"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "950a199911a8d94683a6b10321f9345d5a3a8433ec58b217ace979e18f16e248"; 15 + sha256 = "fc4453705b81d03568d5b808ad8f09c77c47534f6ac2e72e733f9ca4714aa75c"; 16 16 }; 17 17 18 18 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
+2 -2
pkgs/development/python-modules/kubernetes/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "kubernetes"; 7 - version = "12.0.1"; 7 + version = "18.20.0"; 8 8 9 9 prePatch = '' 10 10 sed -e 's/sphinx>=1.2.1,!=1.3b1,<1.4 # BSD/sphinx/' -i test-requirements.txt ··· 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "ec52ea01d52e2ec3da255992f7e859f3a76f2bdb51cf65ba8cd71dfc309d8daa"; 27 + sha256 = "0c72d00e7883375bd39ae99758425f5e6cb86388417cf7cc84305c211b2192cf"; 28 28 }; 29 29 30 30 checkInputs = [ isort coverage pytest mock sphinx autopep8 pep8 codecov recommonmark nose ];
+2 -2
pkgs/development/python-modules/labelbox/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "labelbox"; 22 - version = "2.6.0"; 22 + version = "3.2.0"; 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "Labelbox"; 27 27 repo = "labelbox-python"; 28 28 rev = "V${version}"; 29 - sha256 = "1lkvc926i3c7isqhaja6k013qgla44cdhvkx76gpdyywq53i9mcb"; 29 + sha256 = "0vp1lk7hipa4ixa1zcy99r9b5xb1gv54h4i0izx6fv4zf9m0gmw1"; 30 30 }; 31 31 32 32 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ldap3/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "ldap3"; 5 - version = "2.9"; 5 + version = "2.9.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "18c3ee656a6775b9b0d60f7c6c5b094d878d1d90fc03d56731039f0a4b546a91"; 9 + sha256 = "f3e7fc4718e3f09dda568b57100095e0ce58633bcabbed8667ce3f8fbaa4229f"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ pyasn1 ];
+2 -2
pkgs/development/python-modules/lexid/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "lexid"; 5 - version = "2020.1005"; 5 + version = "2021.1006"; 6 6 disabled = pythonOlder "3.6"; 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "52333a2b9ebd14aa0dfeb33de72bd159c2dc31adb9c59cddfc486e2b69bfdcd1"; 9 + sha256 = "509a3a4cc926d3dbf22b203b18a4c66c25e6473fb7c0e0d30374533ac28bafe5"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ click ];
+27 -13
pkgs/development/python-modules/libarchive-c/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , buildPythonPackage 3 - , fetchPypi 4 - , pytest 4 + , pythonAtLeast 5 + , fetchFromGitHub 6 + , libarchive 5 7 , glibcLocales 6 - , libarchive 7 8 , mock 9 + , pytestCheckHook 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "libarchive-c"; 12 - version = "2.9"; 14 + version = "3.1"; 15 + format = "setuptools"; 13 16 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60"; 17 + src = fetchFromGitHub { 18 + owner = "Changaco"; 19 + repo = "python-${pname}"; 20 + rev = version; 21 + sha256 = "1z4lqy9zlzymshzrcldsc9ipys2l7grqg4yff6ndl6dgbfb0g4jb"; 17 22 }; 18 - 19 - checkInputs = [ mock pytest glibcLocales ]; 20 23 21 24 LC_ALL="en_US.UTF-8"; 22 25 ··· 25 28 "find_library('archive')" "'${libarchive.lib}/lib/libarchive${stdenv.hostPlatform.extensions.sharedLibrary}'" 26 29 ''; 27 30 28 - checkPhase = '' 29 - py.test tests -k 'not test_check_archiveentry_with_unicode_entries_and_name_zip and not test_check_archiveentry_using_python_testtar' 30 - ''; 31 + pythonImportsCheck = [ 32 + "libarchive" 33 + ]; 34 + 35 + checkInputs = [ 36 + glibcLocales 37 + mock 38 + pytestCheckHook 39 + ]; 40 + 41 + disabledTests = lib.optionals (pythonAtLeast "3.9") [ 42 + # causes python3.9 to segfault 43 + "test_custom_writer_and_stream_reader" 44 + ]; 31 45 32 46 meta = with lib; { 33 47 homepage = "https://github.com/Changaco/python-libarchive-c";
+2 -2
pkgs/development/python-modules/libcst/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "libcst"; 18 - version = "0.3.19"; 18 + version = "0.3.20"; 19 19 disabled = pythonOlder "3.6"; 20 20 21 21 # Some files for tests missing from PyPi ··· 24 24 owner = "instagram"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "012g1hyaj015k2sf38a7jnpzjic0f8j97ar84d0f00w2ifzwx4ma"; 27 + sha256 = "063bl21gyyd25i2v0j6kz29cxxdfhng2nins4i2qblmac90f2nqy"; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+5 -3
pkgs/development/python-modules/llvmlite/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "llvmlite"; 15 - version = "0.36.0"; 15 + version = "0.37.0"; 16 16 17 17 disabled = isPyPy || !isPy3k; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "765128fdf5f149ed0b889ffbe2b05eb1717f8e20a5c87fa2b4018fbcce0fcfc9"; 21 + sha256 = "6392b870cd018ec0c645d6bbb918d6aa0eeca8c62674baaee30862d6b6865b15"; 22 22 }; 23 23 24 24 nativeBuildInputs = [ llvm ]; 25 - propagatedBuildInputs = [ ] ++ lib.optional (pythonOlder "3.4") enum34; 25 + propagatedBuildInputs = lib.optional (pythonOlder "3.4") enum34; 26 26 27 27 # Disable static linking 28 28 # https://github.com/numba/llvmlite/issues/93 ··· 31 31 32 32 substituteInPlace llvmlite/tests/test_binding.py --replace "test_linux" "nope" 33 33 ''; 34 + 34 35 # Set directory containing llvm-config binary 35 36 preConfigure = '' 36 37 export LLVM_CONFIG=${llvm.dev}/bin/llvm-config 37 38 ''; 39 + 38 40 checkPhase = '' 39 41 ${python.executable} runtests.py 40 42 '';
+2 -2
pkgs/development/python-modules/marisa-trie/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "marisa-trie"; 12 - version = "0.7.5"; 12 + version = "0.7.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf"; 16 + sha256 = "bbeafb7d92839dc221365340e79d012cb50ee48a1f3f30dd916eb35a8b93db00"; 17 17 }; 18 18 19 19 postPatch = ''
+2 -12
pkgs/development/python-modules/markdown-it-py/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , pytestCheckHook 6 5 , pythonOlder 7 6 , attrs ··· 14 13 15 14 buildPythonPackage rec { 16 15 pname = "markdown-it-py"; 17 - version = "1.0.0"; 16 + version = "1.1.0"; 18 17 format = "pyproject"; 19 18 20 19 disabled = pythonOlder "3.6"; ··· 23 22 owner = "executablebooks"; 24 23 repo = pname; 25 24 rev = "v${version}"; 26 - hash = "sha256-GA7P2I8N+i2ISsVgx58zyhrfKMcZ7pL4X9T/trbsr1Y="; 25 + sha256 = "0h7rn3rcqfwmnqs97qczwkw9w5g4df8bgn6sw7k149svfqgrkf56"; 27 26 }; 28 - 29 - patches = [ 30 - (fetchpatch { 31 - # :arrow_up: UPGRADE: attrs -> v21 (#165) 32 - # https://github.com/executablebooks/markdown-it-py/pull/165 33 - url = "https://github.com/executablebooks/markdown-it-py/commit/78381ffe1a651741594dc93e693b761422512fa2.patch"; 34 - sha256 = "1kxhblpi4sycrs3rv50achr8g0wlgq33abg2acra26l736hlsya1"; 35 - }) 36 - ]; 37 27 38 28 propagatedBuildInputs = [ attrs linkify-it-py ] 39 29 ++ lib.optional (pythonOlder "3.8") typing-extensions;
+2 -2
pkgs/development/python-modules/marshmallow-oneofschema/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "marshmallow-oneofschema"; 5 - version = "2.1.0"; 5 + version = "3.0.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0s0yr7nv06sfgxglghl2vq74g3m49j60k1hi2qzfsv4bj8hvs35k"; 9 + sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ marshmallow setuptools ];
+2 -2
pkgs/development/python-modules/mattermostdriver/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "mattermostdriver"; 11 - version = "7.3.0"; 11 + version = "7.3.1"; 12 12 13 13 disabled = pythonOlder "3.5"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "17jqcpa1xd9n7bf4d5l7wmscls34kymv27gi17pyyfjxbwk5gsga"; 17 + sha256 = "bf629c4b8f825bd7196208aa93995ac5077bd60939ba67cca314a7f13c1dbcea"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ websockets requests ];
+2 -2
pkgs/development/python-modules/mautrix/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "mautrix"; 7 - version = "0.10.5"; 7 + version = "0.10.6"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "b7d52d72a9739963b6d39d5e58ef367c00490a90cf7795f23c8b2e2c140c8882"; 11 + sha256 = "2738370469f8ce27efc37aa6e17319a4149246c9a0da822c8d81d948f0c7e1a7"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/minidump/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "minidump"; 8 - version = "0.0.18"; 8 + version = "0.0.19"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "sha256-uf4KZc9C1gWRgHu4ttk1fpL2pG8oUb79uvCIlHItB/8="; 12 + sha256 = "67b3327cb96e319633653a353c6281703772335dc84797d6fdce7daf0b3be077"; 13 13 }; 14 14 15 15 # Upstream doesn't have tests
+2 -2
pkgs/development/python-modules/mitmproxy/default.nix
··· 45 45 46 46 buildPythonPackage rec { 47 47 pname = "mitmproxy"; 48 - version = "6.0.2"; 48 + version = "7.0.2"; 49 49 disabled = pythonOlder "3.8"; 50 50 51 51 src = fetchFromGitHub { 52 52 owner = pname; 53 53 repo = pname; 54 54 rev = "v${version}"; 55 - sha256 = "sha256-FyIZKFQtf6qvwo4+NzPa/KOmBCcdGJ3jCqxz26+S2e4="; 55 + sha256 = "0y5zsay9b6xgibs6m4gckw63jip35vsdfajsh1nw2zcb2xs1a7qs"; 56 56 }; 57 57 58 58 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mkl-service/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "mkl-service"; 5 - version = "2.4.0"; 5 + version = "2.4.0.post1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "IntelPython"; 9 9 repo = "mkl-service"; 10 10 rev = "v${version}"; 11 - sha256 = "1x8j0ij582dyhay0gaqq45a2jz1m4fr8xw0v65ngviajj3cxmcpb"; 11 + sha256 = "0ysjn8z1hkscb4cycbrvcb93r04w5793yylsy40h5dvjd04ns5jc"; 12 12 }; 13 13 14 14 MKLROOT = mkl;
+2 -2
pkgs/development/python-modules/mlflow/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "mlflow"; 28 - version = "1.18.0"; 28 + version = "1.20.1"; 29 29 disabled = isPy27; 30 30 31 31 src = fetchPypi { 32 32 inherit pname version; 33 - sha256 = "8942089589d08c05c8a7fc66828c02a9233be462c421881b50bc2a0b183dfdbe"; 33 + sha256 = "71764443c4942f181fee2d5bf44dd74a0507bcc5b62a1f1e08079d1f40a15fc0"; 34 34 }; 35 35 36 36 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
+2 -2
pkgs/development/python-modules/mne-python/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "mne-python"; 19 - version = "0.23.0"; 19 + version = "0.23.3"; 20 20 21 21 disabled = isPy27; 22 22 ··· 25 25 owner = "mne-tools"; 26 26 repo = pname; 27 27 rev = "v${version}"; 28 - sha256 = "02fcnfsrc6sccv6x2rnx86g0zw0ivk5s8gx230g6pxfg3lap6knv"; 28 + sha256 = "1pil4vy4grg49i5xcrqmi43vf40lk5p4sbj5bl0fjixkklavwmhj"; 29 29 }; 30 30 31 31 propagatedBuildInputs = [ numpy scipy ];
+2 -2
pkgs/development/python-modules/mocket/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "mocket"; 22 - version = "3.9.42"; 22 + version = "3.9.44"; 23 23 disabled = !isPy3k; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "1vvlbnbypd4z1pjlvhwhd89fn0mis5acfx4v25f1mfl04k63ffah"; 27 + sha256 = "sha256-oeDYzhSzUXxtYhcLjXAmsi1v9vY5qCE/U9YOYxdQxrg="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/monotonic/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "monotonic"; 8 - version = "1.5"; 8 + version = "1.6"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0"; 12 + sha256 = "3a55207bcfed53ddd5c5bae174524062935efed17792e9de2ad0205ce9ad63f7"; 13 13 }; 14 14 15 15 __propagatedImpureHostDeps = lib.optional stdenv.isDarwin "/usr/lib/libc.dylib";
+9 -8
pkgs/development/python-modules/monty/default.nix
··· 5 5 , msgpack 6 6 , pytestCheckHook 7 7 , numpy 8 + , pandas 8 9 , pydantic 9 10 , pymongo 10 11 , ruamel_yaml ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "monty"; 16 - version = "2021.6.10"; 17 + version = "2021.8.17"; 17 18 disabled = pythonOlder "3.5"; # uses type annotations 18 19 19 - # No tests in Pypi 20 20 src = fetchFromGitHub { 21 21 owner = "materialsvirtuallab"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "01fhl4pl5gj4ahph4lxcm0fmglh0bjw6jz9ckmgzviasg4l1j6h4"; 24 + sha256 = "0lg6d0qk6iv476rcn45p5f50kips5g9s709cxddwnk5yrz57c4d0"; 25 25 }; 26 26 27 + postPatch = '' 28 + substituteInPlace tests/test_os.py \ 29 + --replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#' 30 + ''; 31 + 27 32 propagatedBuildInputs = [ 28 33 ruamel_yaml 29 34 tqdm ··· 33 38 checkInputs = [ 34 39 pytestCheckHook 35 40 numpy 41 + pandas 36 42 pydantic 37 43 pymongo 38 44 ]; 39 - 40 - preCheck = '' 41 - substituteInPlace tests/test_os.py \ 42 - --replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#' 43 - ''; 44 45 45 46 meta = with lib; { 46 47 description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
+30 -18
pkgs/development/python-modules/moviepy/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , pythonAtLeast 4 + , pythonOlder 5 5 , numpy 6 6 , decorator 7 7 , imageio ··· 9 9 , proglog 10 10 , requests 11 11 , tqdm 12 - # Advanced image processing (triples size of output) 12 + # Advanced image processing (triples size of output) 13 13 , advancedProcessing ? false 14 - , opencv3 ? null 15 - , scikitimage ? null 16 - , scikit-learn ? null 17 - , scipy ? null 18 - , matplotlib ? null 19 - , youtube-dl ? null 14 + , opencv3 15 + , scikitimage 16 + , scikit-learn 17 + , scipy 18 + , matplotlib 19 + , youtube-dl 20 20 }: 21 21 22 - assert advancedProcessing -> ( 23 - opencv3 != null && scikitimage != null && scikit-learn != null 24 - && scipy != null && matplotlib != null && youtube-dl != null); 25 - 26 22 buildPythonPackage rec { 27 23 pname = "moviepy"; 28 24 version = "1.0.3"; 29 25 30 - disabled = !(pythonAtLeast "3.4"); 26 + disabled = pythonOlder "3.5"; 31 27 32 28 src = fetchPypi { 33 29 inherit pname version; 34 30 sha256 = "2884e35d1788077db3ff89e763c5ba7bfddbd7ae9108c9bc809e7ba58fa433f5"; 35 31 }; 36 32 33 + postPatch = '' 34 + substituteInPlace setup.py \ 35 + --replace "decorator>=4.0.2,<5.0" "decorator>=4.0.2,<6.0" 36 + ''; 37 + 37 38 # No tests, require network connection 38 39 doCheck = false; 39 40 40 41 propagatedBuildInputs = [ 41 - numpy decorator imageio imageio-ffmpeg tqdm requests proglog 42 - ] ++ (lib.optionals advancedProcessing [ 43 - opencv3 scikitimage scikit-learn scipy matplotlib youtube-dl 44 - ]); 42 + numpy 43 + decorator 44 + imageio 45 + imageio-ffmpeg 46 + tqdm 47 + requests 48 + proglog 49 + ] ++ lib.optionals advancedProcessing [ 50 + opencv3 51 + scikitimage 52 + scikit-learn 53 + scipy 54 + matplotlib 55 + youtube-dl 56 + ]; 45 57 46 58 meta = with lib; { 47 59 description = "Video editing with Python"; 48 60 homepage = "https://zulko.github.io/moviepy/"; 49 61 license = licenses.mit; 62 + maintainers = with maintainers; [ ]; 50 63 }; 51 - 52 64 }
+2 -2
pkgs/development/python-modules/mypy-boto3-s3/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "mypy-boto3-s3"; 11 - version = "1.17.97"; 11 + version = "1.18.29"; 12 12 disabled = pythonOlder "3.6"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "cc12897498213e6aa1530d9f75dadb3916fcd3ce376639560c2fede2c93c51b9"; 16 + sha256 = "efee8defd50c441f1daec39fe415a81ded16b828678b4606ee8f9dd677bfe53e"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mypy-protobuf/default.nix
··· 2 2 3 3 buildPythonApplication rec { 4 4 pname = "mypy-protobuf"; 5 - version = "2.4"; 5 + version = "2.9"; 6 6 7 7 disabled = pythonOlder "3.6"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "77e10c476cdd3ee14535c2357e64deac6b1a69f33eb500d795b064acda48c66f"; 11 + sha256 = "278172935d7121c2f8c7c0a05518dd565a2b76d9e9c4a0a3fcd08a21fa685d43"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ protobuf ];
+2 -2
pkgs/development/python-modules/nbclient/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "nbclient"; 9 - version = "0.5.3"; 9 + version = "0.5.4"; 10 10 disabled = pythonOlder "3.6"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "db17271330c68c8c88d46d72349e24c147bb6f34ec82d8481a8f025c4d26589c"; 14 + sha256 = "6c8ad36a28edad4562580847f9f1636fe5316a51a323ed85a24a4ad37d4aefce"; 15 15 }; 16 16 17 17 inherit doCheck;
+2 -2
pkgs/development/python-modules/nbconvert/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "nbconvert"; 26 - version = "6.0.7"; 26 + version = "6.1.0"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002"; 30 + sha256 = "d22a8ff202644d31db254d24d52c3a96c82156623fcd7c7f987bba2612303ec9"; 31 31 }; 32 32 33 33 # Add $out/share/jupyter to the list of paths that are used to search for
+2 -2
pkgs/development/python-modules/nbdime/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "nbdime"; 27 - version = "2.1.0"; 27 + version = "3.1.0"; 28 28 disabled = !isPy3k; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "4e3efdcfda31c3074cb565cd8e76e2e5421b1c4560c3a00c56f8679dd15590e5"; 32 + sha256 = "12dc4390b355b26d07ac8d11d50efbcb54bae0ad5842b817131babd2f4567963"; 33 33 }; 34 34 35 35 checkInputs = [
+15 -4
pkgs/development/python-modules/numba/default.nix
··· 12 12 }: 13 13 14 14 buildPythonPackage rec { 15 - version = "0.53.1"; 15 + version = "0.54.0"; 16 16 pname = "numba"; 17 17 disabled = pythonOlder "3.6" || pythonAtLeast "3.10"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "9cd4e5216acdc66c4e9dab2dfd22ddb5bef151185c070d4a3cd8e78638aff5b0"; 21 + sha256 = "bad6bd98ab2e41c34aa9c80b8d9737e07d92a53df4f74d3ada1458b0b516ccff"; 22 22 }; 23 23 24 + postPatch = '' 25 + substituteInPlace setup.py \ 26 + --replace "1.21" "1.22" 27 + 28 + substituteInPlace numba/__init__.py \ 29 + --replace "(1, 20)" "(1, 21)" 30 + ''; 31 + 24 32 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; 25 33 26 34 propagatedBuildInputs = [ numpy llvmlite setuptools ]; 27 - pythonImportsCheck = [ "numba" ]; 35 + 28 36 # Copy test script into $out and run the test suite. 29 37 checkPhase = '' 30 38 ${python.interpreter} -m numba.runtests 31 39 ''; 40 + 32 41 # ImportError: cannot import name '_typeconv' 33 42 doCheck = false; 34 43 44 + pythonImportsCheck = [ "numba" ]; 45 + 35 46 meta = with lib; { 36 - homepage = "http://numba.pydata.org/"; 47 + homepage = "https://numba.pydata.org/"; 37 48 license = licenses.bsd2; 38 49 description = "Compiling Python code using LLVM"; 39 50 maintainers = with maintainers; [ fridh ];
+2 -2
pkgs/development/python-modules/numpy/default.nix
··· 40 40 }; 41 41 in buildPythonPackage rec { 42 42 pname = "numpy"; 43 - version = "1.21.1"; 43 + version = "1.21.2"; 44 44 format = "pyproject.toml"; 45 45 disabled = pythonOlder "3.7"; 46 46 47 47 src = fetchPypi { 48 48 inherit pname version; 49 49 extension = "zip"; 50 - sha256 = "1za22ggjxzm7drs2vd15s81ad9rlshk4p7pv7mxcbz4acdiszx6z"; 50 + sha256 = "423216d8afc5923b15df86037c6053bf030d15cc9e3224206ef868c2d63dd6dc"; 51 51 }; 52 52 53 53 patches = lib.optionals python.hasDistutilsCxxPatch [
+2 -2
pkgs/development/python-modules/nunavut/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "nunavut"; 10 - version = "1.2.2"; 10 + version = "1.4.2"; 11 11 disabled = pythonOlder "3.5"; # only python>=3.5 is supported 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "78ab56951172ecd92f9b66dbf9b0ea986dcc6899d462eeef74563ddf33a5a9a5"; 15 + sha256 = "7238780e42a8d6b7fd3296273c76d35dbebb4520d6778472d556b68b77e2aade"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/openshift/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "openshift"; 14 - version = "0.12.0"; 14 + version = "0.12.1"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-aggRnD4goiZJPp4cngp8AIrJC/V46378cwUSfq8Xml4="; 18 + sha256 = "a38957684b17ad0e140a87226249bf26de7267db0c83a6d512b48be258052e1a"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/optuna/default.nix
··· 30 30 31 31 buildPythonPackage rec { 32 32 pname = "optuna"; 33 - version = "2.8.0"; 33 + version = "2.9.1"; 34 34 disabled = isPy27; 35 35 36 36 src = fetchFromGitHub { 37 37 owner = "optuna"; 38 38 repo = pname; 39 39 rev = "v${version}"; 40 - sha256 = "1w5vyl36mbk78a5028qa7dlzhavrs1dkx3q8m50ij37pa5cnyksz"; 40 + sha256 = "1fx80qjrkmnvn2mg9fx26qn3sjlwnwqlmkaf6sqhdw79pn6khlpi"; 41 41 }; 42 42 43 43 checkInputs = [
+2 -2
pkgs/development/python-modules/pandas/default.nix
··· 33 33 34 34 buildPythonPackage rec { 35 35 pname = "pandas"; 36 - version = "1.2.4"; 36 + version = "1.3.2"; 37 37 38 38 src = fetchPypi { 39 39 inherit pname version; 40 - sha256 = "649ecab692fade3cbfcf967ff936496b0cfba0af00a55dfaacd82bdda5cb2279"; 40 + sha256 = "cbcb84d63867af3411fa063af3de64902665bb5b3d40b25b2059e40603594e87"; 41 41 }; 42 42 43 43 nativeBuildInputs = [ cython ];
+7 -4
pkgs/development/python-modules/panel/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , bleach 4 5 , bokeh 5 6 , param 6 7 , pyviz-comms ··· 12 13 }: 13 14 14 15 let 15 - node = callPackage ./node {}; 16 - in buildPythonPackage rec { 16 + node = callPackage ./node { }; 17 + in 18 + buildPythonPackage rec { 17 19 pname = "panel"; 18 - version = "0.11.3"; 20 + version = "0.12.1"; 19 21 20 22 # Don't forget to also update the node packages 21 23 # 1. retrieve the package.json file ··· 23 25 # 3. node2nix 24 26 src = fetchPypi { 25 27 inherit pname version; 26 - sha256 = "sha256-HpHYHysPE6MRxR0kek5C7sunHMfBsUGdZfxamz2jcLc="; 28 + sha256 = "e4898d60abdb82f8a429df7f59dbf8bcaf7e19b3e633555512ceb4ce06678458"; 27 29 }; 28 30 29 31 # Since 0.10.0 panel attempts to fetch from the web. ··· 42 44 ''; 43 45 44 46 propagatedBuildInputs = [ 47 + bleach 45 48 bokeh 46 49 param 47 50 pyviz-comms
+8 -2
pkgs/development/python-modules/panel/node/node-env.nix
··· 391 391 , dontStrip ? true 392 392 , unpackPhase ? "true" 393 393 , buildPhase ? "true" 394 + , meta ? {} 394 395 , ... }@args: 395 396 396 397 let 397 - extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" ]; 398 + extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" "meta" ]; 398 399 in 399 400 stdenv.mkDerivation ({ 400 - name = "node_${name}-${version}"; 401 + name = "${name}-${version}"; 401 402 buildInputs = [ tarWrapper python nodejs ] 402 403 ++ lib.optional (stdenv.isLinux) utillinux 403 404 ++ lib.optional (stdenv.isDarwin) libtool ··· 446 447 # Run post install hook, if provided 447 448 runHook postInstall 448 449 ''; 450 + 451 + meta = { 452 + # default to Node.js' platforms 453 + platforms = nodejs.meta.platforms; 454 + } // meta; 449 455 } // extraArgs); 450 456 451 457 # Builds a node environment (a node_modules folder and a set of binaries)
+81 -91
pkgs/development/python-modules/panel/node/node-packages.nix
··· 4 4 5 5 let 6 6 sources = { 7 - "@bokeh/bokehjs-2.3.1" = { 7 + "@babel/runtime-7.15.3" = { 8 + name = "_at_babel_slash_runtime"; 9 + packageName = "@babel/runtime"; 10 + version = "7.15.3"; 11 + src = fetchurl { 12 + url = "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.3.tgz"; 13 + sha512 = "OvwMLqNXkCXSz1kSm58sEsNuhqOx/fKpnUnKnFB5v8uDda5bLNEHNgKPvhDN6IU0LDcnHQ90LlJ0Q6jnyBSIBA=="; 14 + }; 15 + }; 16 + "@bokeh/bokehjs-2.3.3" = { 8 17 name = "_at_bokeh_slash_bokehjs"; 9 18 packageName = "@bokeh/bokehjs"; 10 - version = "2.3.1"; 19 + version = "2.3.3"; 11 20 src = fetchurl { 12 - url = "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-2.3.1.tgz"; 13 - sha512 = "DlNZaqAJFUw38IuSk2TUOcfyiK8Ya3kDRpYt/RgVUftIDW2CWLbBo47kbug9+ykEF49rcnlxcCXhNXzpg4V7gw=="; 21 + url = "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-2.3.3.tgz"; 22 + sha512 = "Zev3p5xnS47YsZo5hcGGNUdISH3mkVLKSc6LMVqEIRlnc7Ay79TD9bnApeYh90k0JU1pcMh0gEqHgwVOGPTZ/w=="; 14 23 }; 15 24 }; 16 25 "@bokeh/numbro-1.6.2" = { ··· 31 40 sha512 = "W9tm8Qdw5BrylbZbaVWaQMgLfW/klesnj6J3FnyWpo18hCCOFApccUD8iOnRv7bF6PHlgWk84mW3JT5RSzYKjA=="; 32 41 }; 33 42 }; 34 - "@luma.gl/constants-8.4.4" = { 43 + "@luma.gl/constants-8.5.5" = { 35 44 name = "_at_luma.gl_slash_constants"; 36 45 packageName = "@luma.gl/constants"; 37 - version = "8.4.4"; 46 + version = "8.5.5"; 38 47 src = fetchurl { 39 - url = "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.4.4.tgz"; 40 - sha512 = "4e58QW6UKXkxiIvWSLoAnTc4cT8nvb0PhLzu1h8KiCuaDT5Vq8csOymcNOy/jhpfcIhHlmT1KwowF5m/DcOlKg=="; 48 + url = "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.5.tgz"; 49 + sha512 = "3pDC7jFaXliDP7Gvr6pPkorLFBXDnuakNeN87aEYcIM+p3XrkF0rPnDQJEzwScWS9RIopXT858xmL3vG7IYsDw=="; 41 50 }; 42 51 }; 43 52 "@types/debounce-1.2.0" = { ··· 58 67 sha512 = "0L8Mq1+oaIW0oVzGUDbSW+HnTjCNb4CmoIQE5BkoHt/A7x20z0MJ1PnwfH3atty/vbWLGgvJwVu2Mz3SKFiEFw=="; 59 68 }; 60 69 }; 61 - "@types/jquery-3.5.5" = { 70 + "@types/jquery-3.5.6" = { 62 71 name = "_at_types_slash_jquery"; 63 72 packageName = "@types/jquery"; 64 - version = "3.5.5"; 73 + version = "3.5.6"; 65 74 src = fetchurl { 66 - url = "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.5.tgz"; 67 - sha512 = "6RXU9Xzpc6vxNrS6FPPapN1SxSHgQ336WC6Jj/N8q30OiaBZ00l1GBgeP7usjVZPivSkGUfL1z/WW6TX989M+w=="; 75 + url = "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.6.tgz"; 76 + sha512 = "SmgCQRzGPId4MZQKDj9Hqc6kSXFNWZFHpELkyK8AQhf8Zr6HKfCzFv9ZC1Fv3FyQttJZOlap3qYb12h61iZAIg=="; 68 77 }; 69 78 }; 70 - "@types/sizzle-2.3.2" = { 79 + "@types/sizzle-2.3.3" = { 71 80 name = "_at_types_slash_sizzle"; 72 81 packageName = "@types/sizzle"; 73 - version = "2.3.2"; 82 + version = "2.3.3"; 74 83 src = fetchurl { 75 - url = "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.2.tgz"; 76 - sha512 = "7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg=="; 84 + url = "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz"; 85 + sha512 = "JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ=="; 77 86 }; 78 87 }; 79 - "@types/slickgrid-2.1.30" = { 88 + "@types/slickgrid-2.1.31" = { 80 89 name = "_at_types_slash_slickgrid"; 81 90 packageName = "@types/slickgrid"; 82 - version = "2.1.30"; 91 + version = "2.1.31"; 83 92 src = fetchurl { 84 - url = "https://registry.npmjs.org/@types/slickgrid/-/slickgrid-2.1.30.tgz"; 85 - sha512 = "9nTqNWD3BtEVK0CP+G+mBtvSrKTfQy3Dg5/al+GdTSVMHFm37UxsHJ1eURwPg7rYu6vc7xU95fGTCKMZbxsD5w=="; 93 + url = "https://registry.npmjs.org/@types/slickgrid/-/slickgrid-2.1.31.tgz"; 94 + sha512 = "t/LodOkh8yP+o2jKcHsC0hAjDh1kl4RSFXKWmR9+U5FwXE7VpipqiAkE1W3NnGNA3ni5xnKQJt/CNXurJWTQ6w=="; 86 95 }; 87 96 }; 88 97 "choices.js-9.0.1" = { ··· 202 211 sha1 = "df8c69eef1647923c7157b9ce83840610b02cc39"; 203 212 }; 204 213 }; 205 - "ext-1.4.0" = { 214 + "ext-1.5.0" = { 206 215 name = "ext"; 207 216 packageName = "ext"; 208 - version = "1.4.0"; 217 + version = "1.5.0"; 209 218 src = fetchurl { 210 - url = "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz"; 211 - sha512 = "Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A=="; 219 + url = "https://registry.npmjs.org/ext/-/ext-1.5.0.tgz"; 220 + sha512 = "+ONcYoWj/SoQwUofMr94aGu05Ou4FepKi7N7b+O8T4jVfyIsZQV1/xeS8jpaBzF0csAk0KLXoHCxU7cKYZjo1Q=="; 212 221 }; 213 222 }; 214 223 "fast-deep-equal-2.0.1" = { ··· 283 292 sha1 = "04ef77862cff2bb79d30f7692095930222bf60f1"; 284 293 }; 285 294 }; 286 - "htm-3.0.4" = { 295 + "htm-3.1.0" = { 287 296 name = "htm"; 288 297 packageName = "htm"; 289 - version = "3.0.4"; 298 + version = "3.1.0"; 290 299 src = fetchurl { 291 - url = "https://registry.npmjs.org/htm/-/htm-3.0.4.tgz"; 292 - sha512 = "VRdvxX3tmrXuT/Ovt59NMp/ORMFi4bceFMDjos1PV4E0mV+5votuID8R60egR9A4U8nLt238R/snlJGz3UYiTQ=="; 300 + url = "https://registry.npmjs.org/htm/-/htm-3.1.0.tgz"; 301 + sha512 = "L0s3Sid5r6YwrEvkig14SK3Emmc+kIjlfLhEGn2Vy3bk21JyDEes4MoDsbJk6luaPp8bugErnxPz86ZuAw6e5Q=="; 293 302 }; 294 303 }; 295 304 "jquery-3.6.0" = { ··· 310 319 sha1 = "bcb4045c8dd0539c134bc1488cdd3e768a7a9e51"; 311 320 }; 312 321 }; 313 - "js-tokens-4.0.0" = { 314 - name = "js-tokens"; 315 - packageName = "js-tokens"; 316 - version = "4.0.0"; 317 - src = fetchurl { 318 - url = "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"; 319 - sha512 = "RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="; 320 - }; 321 - }; 322 322 "json-formatter-js-2.3.4" = { 323 323 name = "json-formatter-js"; 324 324 packageName = "json-formatter-js"; ··· 326 326 src = fetchurl { 327 327 url = "https://registry.npmjs.org/json-formatter-js/-/json-formatter-js-2.3.4.tgz"; 328 328 sha512 = "gmAzYRtPRmYzeAT4T7+t3NhTF89JOAIioCVDddl9YDb3ls3kWcskirafw/MZGJaRhEU6fRimGJHl7CC7gaAI2Q=="; 329 - }; 330 - }; 331 - "loose-envify-1.4.0" = { 332 - name = "loose-envify"; 333 - packageName = "loose-envify"; 334 - version = "1.4.0"; 335 - src = fetchurl { 336 - url = "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"; 337 - sha512 = "lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="; 338 329 }; 339 330 }; 340 331 "mgrs-1.0.0" = { ··· 364 355 sha512 = "4RtQ1+LHJKesDCNJrXkQcwXAWCrC2aggdLYMstS/G5fEWL+fXZbUA9pwVNHFghMGuFGRATlDLNInRaPeRKzpFQ=="; 365 356 }; 366 357 }; 367 - "preact-10.5.13" = { 358 + "preact-10.5.14" = { 368 359 name = "preact"; 369 360 packageName = "preact"; 370 - version = "10.5.13"; 361 + version = "10.5.14"; 371 362 src = fetchurl { 372 - url = "https://registry.npmjs.org/preact/-/preact-10.5.13.tgz"; 373 - sha512 = "q/vlKIGNwzTLu+jCcvywgGrt+H/1P/oIRSD6mV4ln3hmlC+Aa34C7yfPI4+5bzW8pONyVXYS7SvXosy2dKKtWQ=="; 363 + url = "https://registry.npmjs.org/preact/-/preact-10.5.14.tgz"; 364 + sha512 = "KojoltCrshZ099ksUZ2OQKfbH66uquFoxHSbnwKbTJHeQNvx42EmC7wQVWNuDt6vC5s3nudRHFtKbpY4ijKlaQ=="; 374 365 }; 375 366 }; 376 - "proj4-2.7.2" = { 367 + "proj4-2.7.5" = { 377 368 name = "proj4"; 378 369 packageName = "proj4"; 379 - version = "2.7.2"; 370 + version = "2.7.5"; 380 371 src = fetchurl { 381 - url = "https://registry.npmjs.org/proj4/-/proj4-2.7.2.tgz"; 382 - sha512 = "x/EboBmIq48a9FED0Z9zWCXkd8VIpXHLsyEXljGtsnzeztC41bFjPjJ0S//wBbNLDnDYRe0e6c3FSSiqMCebDA=="; 372 + url = "https://registry.npmjs.org/proj4/-/proj4-2.7.5.tgz"; 373 + sha512 = "5ecXUXbHAfvdhfBQpU7EhUfPCQGUCPmVup/4gnZA3bJY3JcK/xxzm4QQDz1xiXokN6ux65VDczlCtBtKrTSpAQ=="; 383 374 }; 384 375 }; 385 - "redux-4.0.5" = { 376 + "redux-4.1.1" = { 386 377 name = "redux"; 387 378 packageName = "redux"; 388 - version = "4.0.5"; 379 + version = "4.1.1"; 380 + src = fetchurl { 381 + url = "https://registry.npmjs.org/redux/-/redux-4.1.1.tgz"; 382 + sha512 = "hZQZdDEM25UY2P493kPYuKqviVwZ58lEmGQNeQ+gXa+U0gYPUBf7NKYazbe3m+bs/DzM/ahN12DbF+NG8i0CWw=="; 383 + }; 384 + }; 385 + "regenerator-runtime-0.13.9" = { 386 + name = "regenerator-runtime"; 387 + packageName = "regenerator-runtime"; 388 + version = "0.13.9"; 389 389 src = fetchurl { 390 - url = "https://registry.npmjs.org/redux/-/redux-4.0.5.tgz"; 391 - sha512 = "VSz1uMAH24DM6MF72vcojpYPtrTUu3ByVWfPL1nPfVRb5mZVTve5GnNCUV53QM/BZ66xfWrm0CTWoM+Xlz8V1w=="; 390 + url = "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz"; 391 + sha512 = "p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="; 392 392 }; 393 393 }; 394 394 "sprintf-js-1.1.2" = { ··· 400 400 sha512 = "VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug=="; 401 401 }; 402 402 }; 403 - "symbol-observable-1.2.0" = { 404 - name = "symbol-observable"; 405 - packageName = "symbol-observable"; 406 - version = "1.2.0"; 407 - src = fetchurl { 408 - url = "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz"; 409 - sha512 = "e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="; 410 - }; 411 - }; 412 403 "timezone-1.0.23" = { 413 404 name = "timezone"; 414 405 packageName = "timezone"; ··· 427 418 sha512 = "Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="; 428 419 }; 429 420 }; 430 - "tslib-2.2.0" = { 421 + "tslib-2.3.1" = { 431 422 name = "tslib"; 432 423 packageName = "tslib"; 433 - version = "2.2.0"; 424 + version = "2.3.1"; 434 425 src = fetchurl { 435 - url = "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz"; 436 - sha512 = "gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="; 426 + url = "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz"; 427 + sha512 = "77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="; 437 428 }; 438 429 }; 439 430 "type-1.2.0" = { ··· 463 454 sha1 = "3013e0ea181756306f1609e959cafbc722adb3e9"; 464 455 }; 465 456 }; 466 - "wkt-parser-1.2.4" = { 457 + "wkt-parser-1.3.1" = { 467 458 name = "wkt-parser"; 468 459 packageName = "wkt-parser"; 469 - version = "1.2.4"; 460 + version = "1.3.1"; 470 461 src = fetchurl { 471 - url = "https://registry.npmjs.org/wkt-parser/-/wkt-parser-1.2.4.tgz"; 472 - sha512 = "ZzKnc7ml/91fOPh5bANBL4vUlWPIYYv11waCtWTkl2TRN+LEmBg60Q1MA8gqV4hEp4MGfSj9JiHz91zw/gTDXg=="; 462 + url = "https://registry.npmjs.org/wkt-parser/-/wkt-parser-1.3.1.tgz"; 463 + sha512 = "XK5qV+Y5gsygQfHx2/cS5a7Zxsgleaw8iX5UPC5eOXPc0TgJAu1JB9lr0iYYX3zAnN3p0aNiaN5c+1Bdblxwrg=="; 473 464 }; 474 465 }; 475 466 }; 476 467 args = { 477 468 name = "_at_holoviz_slash_panel"; 478 469 packageName = "@holoviz/panel"; 479 - version = "0.11.3"; 470 + version = "0.12.1"; 480 471 src = ./.; 481 472 dependencies = [ 482 - sources."@bokeh/bokehjs-2.3.1" 473 + sources."@babel/runtime-7.15.3" 474 + sources."@bokeh/bokehjs-2.3.3" 483 475 sources."@bokeh/numbro-1.6.2" 484 476 (sources."@bokeh/slickgrid-2.4.2702" // { 485 477 dependencies = [ 486 478 sources."tslib-1.14.1" 487 479 ]; 488 480 }) 489 - sources."@luma.gl/constants-8.4.4" 481 + sources."@luma.gl/constants-8.5.5" 490 482 sources."@types/debounce-1.2.0" 491 483 sources."@types/gl-matrix-2.4.5" 492 - sources."@types/jquery-3.5.5" 493 - sources."@types/sizzle-2.3.2" 494 - sources."@types/slickgrid-2.1.30" 484 + sources."@types/jquery-3.5.6" 485 + sources."@types/sizzle-2.3.3" 486 + sources."@types/slickgrid-2.1.31" 495 487 sources."choices.js-9.0.1" 496 488 sources."d-1.0.1" 497 489 sources."debounce-1.2.1" ··· 508 500 sources."es6-symbol-3.1.3" 509 501 sources."es6-weak-map-2.0.3" 510 502 sources."event-emitter-0.3.5" 511 - (sources."ext-1.4.0" // { 503 + (sources."ext-1.5.0" // { 512 504 dependencies = [ 513 505 sources."type-2.5.0" 514 506 ]; ··· 521 513 sources."fuse.js-3.6.1" 522 514 sources."gl-matrix-3.3.0" 523 515 sources."hammerjs-2.0.8" 524 - sources."htm-3.0.4" 516 + sources."htm-3.1.0" 525 517 sources."jquery-3.6.0" 526 518 sources."jquery-ui-1.12.1" 527 - sources."js-tokens-4.0.0" 528 519 sources."json-formatter-js-2.3.4" 529 - sources."loose-envify-1.4.0" 530 520 sources."mgrs-1.0.0" 531 521 sources."next-tick-1.0.0" 532 522 sources."nouislider-14.7.0" 533 - sources."preact-10.5.13" 534 - sources."proj4-2.7.2" 535 - sources."redux-4.0.5" 523 + sources."preact-10.5.14" 524 + sources."proj4-2.7.5" 525 + sources."redux-4.1.1" 526 + sources."regenerator-runtime-0.13.9" 536 527 sources."sprintf-js-1.1.2" 537 - sources."symbol-observable-1.2.0" 538 528 sources."timezone-1.0.23" 539 - sources."tslib-2.2.0" 529 + sources."tslib-2.3.1" 540 530 sources."type-1.2.0" 541 531 sources."underscore.template-0.1.7" 542 - sources."wkt-parser-1.2.4" 532 + sources."wkt-parser-1.3.1" 543 533 ]; 544 534 buildInputs = globalBuildInputs; 545 535 meta = {
+2 -2
pkgs/development/python-modules/panel/node/package.json
··· 1 1 { 2 2 "name": "@holoviz/panel", 3 - "version": "0.11.1", 3 + "version": "0.12.1", 4 4 "description": "A high level dashboarding library for python visualization libraries.", 5 5 "license": "BSD-3-Clause", 6 6 "repository": { ··· 8 8 "url": "https://github.com/holoviz/panel.git" 9 9 }, 10 10 "dependencies": { 11 - "@bokeh/bokehjs": "^2.3.0", 11 + "@bokeh/bokehjs": "^2.3.3", 12 12 "@luma.gl/constants": "^8.0.3", 13 13 "@types/debounce": "^1.2.0", 14 14 "@types/gl-matrix": "^2.4.5",
+8 -12
pkgs/development/python-modules/paramiko/default.nix
··· 6 6 , invoke 7 7 , pynacl 8 8 , pyasn1 9 - , pytest 9 + , pytestCheckHook 10 10 , pytest-relaxed 11 11 , mock 12 12 }: ··· 20 20 sha256 = "7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035"; 21 21 }; 22 22 23 - checkInputs = [ invoke pytest mock pytest-relaxed ]; 24 23 propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ]; 25 24 26 - __darwinAllowLocalNetworking = true; 25 + checkInputs = [ invoke pytestCheckHook pytest-relaxed mock ]; 27 26 28 - # 2 sftp tests fail (skip for now) 29 - # test_config relies on artifacts to be to downloaded 30 - # RSA tests don't have valid keys 31 - checkPhase = '' 32 - pytest tests \ 33 - --ignore=tests/test_sftp.py \ 34 - --ignore=tests/test_config.py 35 - ''; 27 + disabledTestPaths = [ 28 + "tests/test_sftp.py" 29 + "tests/test_config.py" 30 + ]; 31 + 32 + __darwinAllowLocalNetworking = true; 36 33 37 34 meta = with pkgs.lib; { 38 35 homepage = "https://github.com/paramiko/paramiko/"; 39 36 description = "Native Python SSHv2 protocol library"; 40 37 license = licenses.lgpl21Plus; 41 - 42 38 longDescription = '' 43 39 This is a library for making SSH2 connections (client or server). 44 40 Emphasis is on using SSH2 as an alternative to SSL for making secure
+2 -2
pkgs/development/python-modules/pathlib2/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pathlib2"; 13 - version = "2.3.5"; 13 + version = "2.3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868"; 17 + sha256 = "7d8bcb5555003cdf4a8d2872c538faa3a0f5d20630cb360e518ca3b981795e5f"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") scandir;
+2 -2
pkgs/development/python-modules/pathspec/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "pathspec"; 8 - version = "0.8.1"; 8 + version = "0.9.0"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd"; 12 + sha256 = "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"; 13 13 }; 14 14 15 15 meta = {
+2 -2
pkgs/development/python-modules/pathy/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pathy"; 15 - version = "0.5.2"; 15 + version = "0.6.0"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "sha256-nb8my/5rkc7thuHnXZHe1Hg8j+sLBlYyJcLHWrrKZ5M="; 19 + sha256 = "f83f1eddf77dd86e824143eef8d9adbe0785c3cdd5ec0ed6c0edea3227385048"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ smart-open typer google-cloud-storage ];
+2 -2
pkgs/development/python-modules/pdoc3/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pdoc3"; 11 - version = "0.9.2"; 11 + version = "0.10.0"; 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "9df5d931f25f353c69c46819a3bd03ef96dd286f2a70bb1b93a23a781f91faa1"; 16 + sha256 = "5f22e7bcb969006738e1aa4219c75a32f34c2d62d46dc9d2fb2d3e0b0287e4b7"; 17 17 }; 18 18 19 19 nativeBuildInputs = [ setuptools-git setuptools-scm ];
+2 -2
pkgs/development/python-modules/phik/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "phik"; 19 - version = "0.10.0"; 19 + version = "0.12.0"; 20 20 format = "wheel"; 21 21 disabled = !isPy3k; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version format; 25 25 python = "py3"; 26 - sha256 = "b745313c5ff9d6a3092eefa97f83fa4dbed178c9ce69161b655e95497cb2f38b"; 26 + sha256 = "57db39d1c74c84a24d0270b63d1c629a5cb975462919895b96a8522ae0678408"; 27 27 }; 28 28 29 29 checkInputs = [
+2 -2
pkgs/development/python-modules/pkgconfig/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pkgconfig"; 5 - version = "1.5.4"; 5 + version = "1.5.5"; 6 6 7 7 inherit (pkg-config) 8 8 setupHooks ··· 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "c34503829fd226822fd93c902b1cf275516908a023a24be0a02ba687f3a00399"; 17 + sha256 = "deb4163ef11f75b520d822d9505c1f462761b4309b1bb713d08689759ea8b899"; 18 18 }; 19 19 20 20
+2 -2
pkgs/development/python-modules/pkginfo/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pkginfo"; 5 - version = "1.7.0"; 5 + version = "1.7.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "029a70cb45c6171c329dfc890cde0879f8c52d6f3922794796e06f577bb03db4"; 9 + sha256 = "e7432f81d08adec7297633191bbf0bd47faf13cd8724c3a13250e51d542635bd"; 10 10 }; 11 11 12 12 doCheck = false; # I don't know why, but with doCheck = true it fails.
+2 -2
pkgs/development/python-modules/plaid-python/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, requests, pytest }: 2 2 3 3 buildPythonPackage rec { 4 - version = "7.4.0"; 4 + version = "8.1.0"; 5 5 pname = "plaid-python"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "ab70467116adc110b56eb5a1fdeed726307cc216e04dda46a782aa1a1468ce0e"; 9 + sha256 = "b1f7b5b58ba3c171bb795352119d54797c8c50877bc376d26cd756de2453e9fd"; 10 10 }; 11 11 12 12 checkInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/platformdirs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "platformdirs"; 14 - version = "2.2.0"; 14 + version = "2.3.0"; 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = pname; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "15f08czqfmxy1y947rlrsjs20jgsy2vc1wqhv4b08b3ijxj0jpqh"; 21 + sha256 = "sha256-g2DPNN7VxK3EjOXOpSWA4a+PghZ7v2jmjw9+VQyCTBI="; 22 22 }; 23 23 24 24 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+7 -10
pkgs/development/python-modules/plotly/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , decorator 5 - , nbformat 6 4 , pytz 7 5 , requests 8 - , retrying 9 6 , six 7 + , tenacity 10 8 }: 11 9 12 10 buildPythonPackage rec { 13 11 pname = "plotly"; 14 - version = "4.14.3"; 12 + version = "5.3.0"; 15 13 16 14 src = fetchPypi { 17 15 inherit pname version; 18 - sha256 = "14cxlfl79i9bh3awsf4xgwr14ywm7lnrz2a81s7gp0if77nsx2kx"; 16 + sha256 = "b6dc306c56e7d5fa7d017718894099b27290b427abf4acad8e5b77fdc3bd32ec"; 19 17 }; 20 18 21 19 propagatedBuildInputs = [ 22 - decorator 23 - nbformat 24 20 pytz 25 21 requests 26 - retrying 27 22 six 23 + tenacity 28 24 ]; 29 25 30 26 # No tests in archive 31 27 doCheck = false; 32 28 33 - meta = { 29 + meta = with lib; { 34 30 description = "Python plotting library for collaborative, interactive, publication-quality graphs"; 35 31 homepage = "https://plot.ly/python/"; 36 - license = with lib.licenses; [ mit ]; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ ]; 37 34 }; 38 35 }
+34
pkgs/development/python-modules/pluggy/0.nix
··· 1 + { buildPythonPackage 2 + , lib 3 + , fetchPypi 4 + , setuptools-scm 5 + , importlib-metadata 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pluggy"; 10 + version = "0.13.1"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"; 15 + }; 16 + 17 + checkPhase = '' 18 + py.test 19 + ''; 20 + 21 + # To prevent infinite recursion with pytest 22 + doCheck = false; 23 + 24 + nativeBuildInputs = [ setuptools-scm ]; 25 + 26 + propagatedBuildInputs = [ importlib-metadata ]; 27 + 28 + meta = { 29 + description = "Plugin and hook calling mechanisms for Python"; 30 + homepage = "https://github.com/pytest-dev/pluggy"; 31 + license = lib.licenses.mit; 32 + maintainers = with lib.maintainers; [ ]; 33 + }; 34 + }
+2 -2
pkgs/development/python-modules/pluggy/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pluggy"; 10 - version = "0.13.1"; 10 + version = "1.0.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"; 14 + sha256 = "4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"; 15 15 }; 16 16 17 17 checkPhase = ''
+2 -3
pkgs/development/python-modules/poetry-core/default.nix
··· 1 1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, isPy27 2 2 , importlib-metadata 3 3 , intreehooks 4 - , isort 5 4 , pathlib2 6 5 , pep517 7 6 , pytest-mock ··· 13 12 14 13 buildPythonPackage rec { 15 14 pname = "poetry-core"; 16 - version = "1.0.3"; 15 + version = "1.0.4"; 17 16 format = "pyproject"; 18 17 19 18 src = fetchFromGitHub { 20 19 owner = "python-poetry"; 21 20 repo = pname; 22 21 rev = version; 23 - sha256 = "07x0zagf9cfr7g3132jjd5byywkbnzpfbxjfjzpzpj70fqw70qrc"; 22 + sha256 = "0jgd4d7m5y8ly8n0l9lcq7cjab2y3hifk90f343ksmjzssfd5lg3"; 24 23 }; 25 24 26 25 postPatch = lib.optionalString (pythonOlder "3.8") ''
+2 -2
pkgs/development/python-modules/poetry/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "poetry"; 27 - version = "1.1.7"; 27 + version = "1.1.8"; 28 28 format = "pyproject"; 29 29 disabled = isPy27; 30 30 ··· 32 32 owner = "python-poetry"; 33 33 repo = pname; 34 34 rev = version; 35 - sha256 = "03cbzjw0sb8rs85iq191ndk9523d6qpymh2nhw5bvcxfvsf9042d"; 35 + sha256 = "0qcgjb78nj69sppd8146519q9422xxg1bi34gyxy51sjkvd5lxhz"; 36 36 }; 37 37 38 38 postPatch = ''
+11 -19
pkgs/development/python-modules/prance/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 4 , chardet 5 - , pyyaml 6 5 , requests 6 + , ruamel_yaml 7 7 , six 8 8 , semver 9 9 , pytestCheckHook 10 - , pytest-cov 11 - , pytest-runner 12 10 , openapi-spec-validator 13 11 }: 14 12 15 13 buildPythonPackage rec { 16 14 pname = "prance"; 17 - version = "0.21.2"; 15 + version = "0.21.8.0"; 18 16 19 - src = fetchPypi { 20 - inherit pname version; 21 - sha256 = "43ebe3a5b38f0c65c428427004c4d8ce8d7155ddad50610276c89c192680f138"; 17 + src = fetchFromGitHub { 18 + owner = "RonnyPfannschmidt"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + fetchSubmodules = true; 22 + sha256 = "sha256-kGANMHfWwhW3ZBw2ZVCJZR/bV2EPhcydMKhDeDTVwcQ="; 22 23 }; 23 24 24 - buildInputs = [ 25 - pytest-runner 26 - ]; 27 - 28 25 propagatedBuildInputs = [ 29 26 chardet 30 - pyyaml 31 27 requests 28 + ruamel_yaml 32 29 six 33 30 semver 34 31 ]; 35 32 36 33 checkInputs = [ 37 34 pytestCheckHook 38 - pytest-cov 39 35 openapi-spec-validator 40 36 ]; 41 37 42 38 postPatch = '' 43 - substituteInPlace setup.py \ 44 - --replace "tests_require = dev_require," "tests_require = None," \ 45 - --replace "chardet~=4.0" "" \ 46 - --replace "semver~=2.13" "" 47 39 substituteInPlace setup.cfg \ 48 - --replace "--cov-fail-under=90" "" 40 + --replace "--cov=prance --cov-report=term-missing --cov-fail-under=90" "" 49 41 ''; 50 42 51 43 # Disable tests that require network
+2 -2
pkgs/development/python-modules/prettytable/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "prettytable"; 13 - version = "2.1.0"; 13 + version = "2.2.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "5882ed9092b391bb8f6e91f59bcdbd748924ff556bb7c634089d5519be87baa0"; 17 + sha256 = "bd81678c108e6c73d4f1e47cd4283de301faaa6ff6220bcd1d4022038c56b416"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/priority/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "priority"; 5 - version = "1.3.0"; 5 + version = "2.0.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb"; 9 + sha256 = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"; 10 10 }; 11 11 12 12 patches = [
+2 -2
pkgs/development/python-modules/psd-tools/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "psd-tools"; 9 - version = "1.9.17"; 9 + version = "1.9.18"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "d01e11581442dfcc1bd73ac3278bdf1f98e9df8f083a11e5989632ff97322b65"; 13 + sha256 = "d7e510790512f0bb8150c508531c8681c3d9d0ea63b3ba9b11bbf0952cbd69a8"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pudb/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pudb"; 11 - version = "2020.1"; 11 + version = "2021.1"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "2ef23d3371439f13fffbe7f8b9fc180a19d4183dc9cab204d878d7c7766464bf"; 15 + sha256 = "309ee82b45a0ffca0bc4c7f521fd3e357589c764f339bdf9dcabb7ad40692d6e"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ pygments urwid ];
+2 -2
pkgs/development/python-modules/py3status/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "py3status"; 27 - version = "3.38"; 27 + version = "3.39"; 28 28 29 29 src = fetchPypi { 30 30 inherit pname version; 31 - sha256 = "5660163a91590f320685263a738ab910c7a86346d9c85a68639a19ab83433ce6"; 31 + sha256 = "d2a11dde0cc82d0eb5e938fe624f223d852ed848c57299ff562827bc4557375f"; 32 32 }; 33 33 34 34 doCheck = false;
+2 -2
pkgs/development/python-modules/pyTelegramBotAPI/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pyTelegramBotAPI"; 5 - version = "3.8.3"; 5 + version = "4.0.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "afdd887fff42a963f13d09a1f4f5fd24aef08f4b8a594f2ac11e0a29022f1518"; 9 + sha256 = "6accc4af505ee5b312689eaee1a9bc93cb6ea31a2d905a877c6b47f0888c3dcc"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ requests ];
+2 -2
pkgs/development/python-modules/pybids/default.nix
··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - version = "0.13.1"; 17 + version = "0.13.2"; 18 18 pname = "pybids"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-ySDhVX4drotnFiXXDK+9woQ3uigistudpMJYenYl47o="; 22 + sha256 = "9692013af3b86b096b5423b88179c6c9b604baff5a6b6f89ba5f40429feb7a3e"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pybind11/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pybind11"; 15 - version = "2.7.0"; 15 + version = "2.7.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "pybind"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "sha256-iEXoNTsfsDq79bKV7A4aOCHr11rT/cqnyLghEtGsaks="; 21 + sha256 = "13nq16pxz4vck7jn936ymhm0y0q82hd7kkw0ip7k85cx7wywzbql"; 22 22 }; 23 23 24 24 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/python-modules/pydeconz/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pydeconz"; 13 - version = "82"; 13 + version = "83"; 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "Kane610"; 18 18 repo = "deconz"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-DdZ6bf+2rMjgjm5aRxcSRI/hN0zfP7uV8PaM40c9IJo="; 20 + sha256 = "0azpdgmfby8plsp22hy1ip9vzbnmvf9brmah7hcwkpypg31rb61y"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyfaidx/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pyfaidx"; 9 - version = "0.6.1"; 9 + version = "0.6.2"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "fae5d2264f62f40e6f37090422a764197de610df36afb5ae827b167d34b8621a"; 13 + sha256 = "d1258f8d053cba0c90fe329254e8ec59eb28b535b48d9d06e8c7f1d74b8e4531"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/pyfakefs/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "4.5.0"; 10 + version = "4.5.1"; 11 11 pname = "pyfakefs"; 12 12 disabled = pythonOlder "3.5"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "58b017b3437bbe97803a23755876c6d6aeb5aea37e52cec15e5d86b59c4c7295"; 16 + sha256 = "002a065dcbf59c2caa039e4fc4ba01d1d636aa63ee9c794d4c9fc01f0e2d6dc0"; 17 17 }; 18 18 19 19 postPatch = ''
+26 -8
pkgs/development/python-modules/pykka/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pytestCheckHook, pytest-mock }: 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , poetry-core 6 + , pytestCheckHook 7 + , pytest-mock 8 + }: 2 9 3 10 buildPythonPackage rec { 4 - pname = "Pykka"; 5 - version = "2.0.3"; 11 + pname = "pykka"; 12 + version = "3.0.1"; 13 + format = "pyproject"; 14 + disabled = pythonOlder "3.6.1"; 6 15 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "4b9d2363365b3455a0204bf163f09bd351d24b938c618c79d975a9510e128e95"; 16 + src = fetchFromGitHub { 17 + owner = "jodal"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "1h3brgm8y4a9s991y0drkp0vvmxix9f2b49f9w6ibhkhr37gc0lh"; 10 21 }; 11 22 12 - checkInputs = [ pytestCheckHook pytest-mock ]; 23 + nativeBuildInputs = [ 24 + poetry-core 25 + ]; 26 + 27 + checkInputs = [ 28 + pytestCheckHook 29 + pytest-mock 30 + ]; 13 31 14 32 meta = with lib; { 15 33 homepage = "https://www.pykka.org/"; 16 34 description = "A Python implementation of the actor model"; 17 35 changelog = "https://github.com/jodal/pykka/blob/v${version}/docs/changes.rst"; 18 - maintainers = [ maintainers.marsam ]; 36 + maintainers = with maintainers; [ marsam ]; 19 37 license = licenses.asl20; 20 38 }; 21 39 }
+15 -5
pkgs/development/python-modules/pylint/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , buildPythonPackage 4 - , fetchPypi 4 + , fetchFromGitHub 5 5 , pythonOlder 6 6 , installShellFiles 7 7 , astroid 8 8 , isort 9 9 , mccabe 10 + , platformdirs 10 11 , toml 11 12 , pytest-benchmark 12 13 , pytest-xdist ··· 15 16 16 17 buildPythonPackage rec { 17 18 pname = "pylint"; 18 - version = "2.7.4"; 19 + version = "2.10.2"; 19 20 20 21 disabled = pythonOlder "3.6"; 21 22 22 - src = fetchPypi { 23 - inherit pname version; 24 - sha256 = "bd38914c7731cdc518634a8d3c5585951302b6e2b6de60fbb3f7a0220e21eeee"; 23 + src = fetchFromGitHub { 24 + owner = "PyCQA"; 25 + repo = pname; 26 + rev = "v${version}"; 27 + sha256 = "sha256-hkrkgUdC5LO1oSPFL6gvIk0zFpMw45gCmnoRbdPZuRs="; 25 28 }; 26 29 27 30 nativeBuildInputs = [ ··· 32 35 astroid 33 36 isort 34 37 mccabe 38 + platformdirs 35 39 toml 36 40 ]; 37 41 ··· 56 60 57 61 pytestFlagsArray = [ 58 62 "-n auto" 63 + ]; 64 + 65 + disabledTestPaths = [ 66 + # tests miss multiple input files 67 + # FileNotFoundError: [Errno 2] No such file or directory 68 + "tests/pyreverse/test_writer.py" 59 69 ]; 60 70 61 71 disabledTests = lib.optionals stdenv.isDarwin [
+2 -2
pkgs/development/python-modules/pylitterbot/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pylitterbot"; 14 - version = "2021.8.0"; 14 + version = "2021.8.1"; 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "natekspencer"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-Z7/j5ZZd8cOJhY/GfKUcDSJZvmU/TR/KDK60j1eYsik="; 21 + sha256 = "sha256-ULaybf2uV8lY9J9EHlszbnLWZJ0QO7y6BQxvdQX+nMU="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pymatgen/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "pymatgen"; 24 - version = "2022.0.11"; 24 + version = "2022.0.12"; 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "901d00105142c9added48275188e289e91b3098251ec107aef90acaef3ea6d0d"; 28 + sha256 = "bad712c883a12d774a8a58c35abc5d582c5e5eafdbb5351dc06ebe98c28bd135"; 29 29 }; 30 30 31 31 nativeBuildInputs = [ glibcLocales ];
+2 -2
pkgs/development/python-modules/pymc3/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "pymc3"; 23 - version = "3.11.2"; 23 + version = "3.11.4"; 24 24 disabled = pythonOlder "3.5"; 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "d3b93c8923ae8c8107c5adfd22f7c37fa0849a00a9723e0e0a0ca6afb582d6c3"; 28 + sha256 = "3b88d1e6c85f7fb8a9b99d6f136ac860672170370ec4146338fdd160c3b3fd3f"; 29 29 }; 30 30 31 31 # No need for coverage stats in Nix builds
+12 -15
pkgs/development/python-modules/pynndescent/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , nose 4 + , joblib 5 + , llvmlite 6 + , numba 5 7 , scikit-learn 6 8 , scipy 7 - , numba 8 - , llvmlite 9 - , joblib 9 + , pytestCheckHook 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pynndescent"; 14 - version = "0.5.2"; 14 + version = "0.5.4"; 15 + format = "setuptools"; 15 16 16 17 src = fetchPypi { 17 18 inherit pname version; 18 - sha256 = "0w87c2v0li2rdbx6qfc2lb6y6bxpdy3jwfgzfs1kcr4d1chj5zfr"; 19 + sha256 = "221124cbad8e3cf3ed421a4089d80ac5a29d3215e76cb49effc1df887533d2a8"; 19 20 }; 20 21 21 22 propagatedBuildInputs = [ 23 + joblib 24 + llvmlite 25 + numba 22 26 scikit-learn 23 27 scipy 24 - numba 25 - llvmlite 26 - joblib 27 28 ]; 28 29 29 30 checkInputs = [ 30 - nose 31 + pytestCheckHook 31 32 ]; 32 33 33 - checkPhase = '' 34 - nosetests 35 - ''; 36 - 37 34 meta = with lib; { 38 35 description = "Nearest Neighbor Descent"; 39 36 homepage = "https://github.com/lmcinnes/pynndescent"; 40 37 license = licenses.bsd2; 41 - maintainers = [ maintainers.mic92 ]; 38 + maintainers = with maintainers; [ mic92 ]; 42 39 }; 43 40 }
+26 -11
pkgs/development/python-modules/pyocr/default.nix
··· 1 - { lib, fetchFromGitLab, buildPythonPackage, pillow, setuptools-scm, 2 - setuptools-scm-git-archive , tesseract, cuneiform, isPy3k, substituteAll, 3 - pytest, tox }: 1 + { lib 2 + , fetchFromGitLab 3 + , buildPythonPackage 4 + , pillow 5 + , setuptools-scm 6 + , setuptools-scm-git-archive 7 + , tesseract 8 + , cuneiform 9 + , isPy3k 10 + , substituteAll 11 + , pytestCheckHook 12 + , tox 13 + }: 4 14 5 15 buildPythonPackage rec { 6 16 pname = "pyocr"; ··· 17 27 sha256 = "09ab86bmizpv94w3mdvdqkjyyvk1vafw3jqhkiw5xx7p180xn3il"; 18 28 }; 19 29 20 - patches = [ (substituteAll { 21 - src = ./paths.patch; 22 - inherit cuneiform tesseract; 23 - }) 30 + patches = [ 31 + (substituteAll { 32 + src = ./paths.patch; 33 + inherit cuneiform tesseract; 34 + }) 24 35 ]; 25 36 37 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 38 + 26 39 buildInputs = [ setuptools-scm setuptools-scm-git-archive ]; 40 + 27 41 propagatedBuildInputs = [ pillow ]; 28 - checkInputs = [ pytest tox ]; 29 - checkPhase = "pytest"; 42 + 43 + checkInputs = [ pytestCheckHook ]; 30 44 31 - meta = { 45 + meta = with lib; { 32 46 inherit (src.meta) homepage; 33 47 description = "A Python wrapper for Tesseract and Cuneiform"; 34 - license = lib.licenses.gpl3Plus; 48 + license = licenses.gpl3Plus; 49 + maintainers = with maintainers; [ ]; 35 50 }; 36 51 }
+4 -3
pkgs/development/python-modules/pyosmium/default.nix
··· 1 1 { lib, buildPythonPackage, fetchFromGitHub, cmake, python 2 2 , libosmium, protozero, boost, expat, bzip2, zlib, pybind11 3 - , nose, shapely, pythonOlder, isPyPy, lz4 }: 3 + , nose, shapely, pythonOlder, isPyPy, lz4, requests }: 4 4 5 5 buildPythonPackage rec { 6 6 pname = "pyosmium"; 7 - version = "3.1.3"; 7 + version = "3.2.0"; 8 8 9 9 disabled = pythonOlder "3.4" || isPyPy; 10 10 ··· 12 12 owner = "osmcode"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "11ma8nr7k2ixwwb55fiqvrj5qbmpgkyfk0canz4l0m8b7rcw3qsc"; 15 + sha256 = "0s9h1blz4vrgcvdiikbpi2d4cy69kg2s8ki4dzampm1s0pa92if5"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ]; 19 19 buildInputs = [ libosmium protozero boost expat bzip2 zlib pybind11 lz4 ]; 20 + propagatedBuildInputs = [ requests ]; 20 21 21 22 preBuild = "cd .."; 22 23
+16 -4
pkgs/development/python-modules/pyphen/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytestCheckHook 5 + }: 2 6 3 7 buildPythonPackage rec { 4 - pname = "Pyphen"; 5 - version = "0.10.0"; 8 + pname = "pyphen"; 9 + version = "0.11.0"; 6 10 7 11 src = fetchPypi { 8 12 inherit pname version; 9 - sha256 = "719b21dfb4b04fbc11cc0f6112418535fe35474021120cccfffc43a25fe63128"; 13 + sha256 = "e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8"; 10 14 }; 15 + 16 + preCheck = '' 17 + sed -i '/addopts/d' pyproject.toml 18 + ''; 19 + 20 + checkInputs = [ 21 + pytestCheckHook 22 + ]; 11 23 12 24 meta = with lib; { 13 25 description = "Pure Python module to hyphenate text";
+2 -2
pkgs/development/python-modules/pyramid/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "pyramid"; 21 - version = "1.10.8"; 21 + version = "2.0"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "b7cd66595bef92f81764b976ddde2b2fa8e4f5f325e02f65f6ec7f3708b29cf6"; 25 + sha256 = "45431b387587ed0fac6213b54d6e9f0936f0cc85238a8f5af7852fc9484c5c77"; 26 26 }; 27 27 28 28 checkInputs = [ webtest zope_component ];
+2 -2
pkgs/development/python-modules/pyrsistent/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pyrsistent"; 12 - version = "0.17.3"; 12 + version = "0.18.0"; 13 13 14 14 disabled = isPy27; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "2e636185d9eb976a18a8a8e96efce62f2905fea90041958d8cc2a189756ebf3e"; 18 + sha256 = "773c781216f8c2900b42a7b638d5b517bb134ae1acbebe4d1e8f1f41ea60eb4b"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ six ];
+23 -5
pkgs/development/python-modules/pysatochip/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pyscard, ecdsa, pyaes 2 - , pythonOlder }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , certifi 5 + , cryptography 6 + , ecdsa 7 + , pyaes 8 + , pyopenssl 9 + , pyscard 10 + , pythonOlder 11 + }: 3 12 4 13 buildPythonPackage rec { 5 14 pname = "pysatochip"; 6 - version = "0.11.4"; 15 + version = "0.12.3"; 7 16 disabled = pythonOlder "3.6"; 8 17 9 18 src = fetchPypi { 10 19 inherit pname version; 11 - sha256 = "sha256-Jj/zZIS9aXmZ2xdi29Eun7iRIrIk9oBlrtN9+6opIMo="; 20 + sha256 = "24db358a65c0402c299c0c62efcfbbfc98e494181cd30d3996949ac667d5b4d4"; 12 21 }; 13 22 14 - propagatedBuildInputs = [ pyscard ecdsa pyaes ]; 23 + postPatch = '' 24 + substituteInPlace requirements.txt \ 25 + --replace "cryptography==3.3.2" "cryptography" \ 26 + --replace "ecdsa==0.15" "ecdsa" \ 27 + --replace "pyopenssl==20.0.0" "pyopenssl" 28 + ''; 29 + 30 + propagatedBuildInputs = [ cryptography ecdsa pyaes pyopenssl pyscard ]; 31 + 32 + checkInputs = [ certifi ]; 15 33 16 34 pythonImportsCheck = [ "pysatochip" ]; 17 35
+2 -2
pkgs/development/python-modules/pysdl2/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "PySDL2"; 5 - version = "0.9.7"; 5 + version = "0.9.8"; 6 6 # The tests use OpenGL using find_library, which would have to be 7 7 # patched; also they seem to actually open X windows and test stuff 8 8 # like "screensaver disabling", which would have to be cleverly ··· 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "e4fcc8aa1108e4917cb56794575ee08c2a3d9c2c52620474e3ecc8538dadf209"; 14 + sha256 = "4dfa3168e4e4e9301a2cd5904bdcea15e2bf62a1c9abb5d3f92d9122ea22c26e"; 15 15 }; 16 16 17 17 # Deliberately not in propagated build inputs; users can decide
+18 -8
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy27 5 - , six 4 + , pythonOlder 5 + , packaging 6 6 , pytest 7 7 , pytestCheckHook 8 - , numpy 9 8 , setuptools-scm 10 9 }: 11 10 12 11 buildPythonPackage rec { 13 12 pname = "pytest-doctestplus"; 14 - version = "0.9.0"; 15 - disabled = isPy27; # abandoned upstream 13 + version = "0.10.1"; 14 + disabled = pythonOlder "3.7"; 16 15 17 16 src = fetchPypi { 18 17 inherit pname version; 19 - sha256 = "6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a"; 18 + sha256 = "7e9e0912c206c53cd6ee996265aa99d5c99c9334e37d025ce6114bc0416ffc14"; 20 19 }; 21 20 22 21 nativeBuildInputs = [ 23 22 setuptools-scm 24 23 ]; 24 + 25 25 buildInputs = [ 26 26 pytest 27 27 ]; 28 28 29 29 propagatedBuildInputs = [ 30 - six 31 - numpy 30 + packaging 32 31 ]; 33 32 34 33 checkInputs = [ 35 34 pytestCheckHook 35 + ]; 36 + 37 + disabledTests = [ 38 + # ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] 39 + # __main__.py: error: unrecognized arguments: --remote-data 40 + "test_remote_data_url" 41 + "test_remote_data_float_cmp" 42 + "test_remote_data_ignore_whitespace" 43 + "test_remote_data_ellipsis" 44 + "test_remote_data_requires" 45 + "test_remote_data_ignore_warnings" 36 46 ]; 37 47 38 48 meta = with lib; {
+2 -2
pkgs/development/python-modules/pytest-httpx/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pytest-httpx"; 12 - version = "0.12.1"; 12 + version = "0.13.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Colin-b"; 16 16 repo = "pytest_httpx"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-eyR0h0fW5a+L6QslTnM0TPvQCto06aMcKCE+b8LqHcQ="; 18 + sha256 = "0lh7df3ysxmjzvx6242xb6qiwpfxrnj70kjmw5sndvzmy5dfpxfc"; 19 19 }; 20 20 21 21 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/pytest-isort/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pytest-isort"; 5 - version = "1.3.0"; 5 + version = "2.0.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "46a12331a701e2f21d48548b2828c8b0a7956dbf1cd5347163f537deb24332dd"; 9 + sha256 = "821a8c5c9c4f3a3c52cfa9c541fbe89ac9e28728125125af53724c4c3f129117"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ isort ];
+11 -9
pkgs/development/python-modules/pytest-relaxed/default.nix
··· 4 4 , pytest 5 5 , six 6 6 , decorator 7 + , pytestCheckHook 7 8 }: 8 9 9 10 buildPythonPackage rec { ··· 15 16 sha256 = "e39a7e5b14e14dfff0de0ad720dfffa740c128d599ab14cfac13f4deb34164a6"; 16 17 }; 17 18 19 + # newer decorator versions are incompatible and cause the test suite to fail 20 + # but only a few utility functions are used from this package which means it has no actual impact on test execution in paramiko and Fabric 21 + postPatch = '' 22 + substituteInPlace setup.py \ 23 + --replace "decorator>=4,<5" "decorator>=4" \ 24 + --replace "pytest>=3,<5" "pytest>=3" 25 + ''; 26 + 18 27 buildInputs = [ pytest ]; 19 - checkInputs = [ pytest ]; 20 28 21 29 propagatedBuildInputs = [ six decorator ]; 22 30 23 - patchPhase = '' 24 - sed -i "s/pytest>=3,<5/pytest/g" setup.py 25 - ''; 31 + checkInputs = [ pytestCheckHook ]; 26 32 27 - # skip tests due to dir requirements 33 + # lots of assertion errors mainly around decorator 28 34 doCheck = false; 29 - 30 - checkPhase = '' 31 - pytest tests 32 - ''; 33 35 34 36 meta = with lib; { 35 37 homepage = "https://pytest-relaxed.readthedocs.io/";
+2 -2
pkgs/development/python-modules/pytest-xprocess/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pytest-xprocess"; 9 - version = "0.17.1"; 9 + version = "0.18.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "59c739edee7f3f2258e7c77989241698e356c552f5efb28bb46b478616888bf6"; 13 + sha256 = "fd9f30ed1584b5833bc34494748adf0fb9de3ca7bacc4e88ad71989c21cba266"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ setuptools-scm ];
+5
pkgs/development/python-modules/pytest/4.nix
··· 11 11 sha256 = "50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353"; 12 12 }; 13 13 14 + postPatch = '' 15 + substituteInPlace setup.py \ 16 + --replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0" 17 + ''; 18 + 14 19 checkInputs = [ hypothesis mock ]; 15 20 buildInputs = [ setuptools-scm ]; 16 21 propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites wcwidth packaging ]
+5
pkgs/development/python-modules/pytest/5.nix
··· 30 30 sha256 = "1n67lk8iwlsmfdm8663k8l7isllg1xd3n9p1yla7885szhdk6ybr"; 31 31 }; 32 32 33 + postPatch = '' 34 + substituteInPlace setup.py \ 35 + --replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0" 36 + ''; 37 + 33 38 checkInputs = [ hypothesis pygments ]; 34 39 nativeBuildInputs = [ setuptools-scm ]; 35 40 propagatedBuildInputs = [
+7 -2
pkgs/development/python-modules/pytest/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "pytest"; 22 - version = "6.2.4"; 22 + version = "6.2.5"; 23 23 disabled = !isPy3k; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b"; 27 + sha256 = "131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"; 28 28 }; 29 + 30 + postPatch = '' 31 + substituteInPlace setup.cfg \ 32 + --replace "pluggy>=0.12,<1.0.0a1" "pluggy>=0.23,<2.0" 33 + ''; 29 34 30 35 nativeBuildInputs = [ setuptools-scm ]; 31 36
+32 -7
pkgs/development/python-modules/python-daemon/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 2 4 , docutils 3 5 , lockfile 4 6 , mock 5 7 , pytest_4 6 8 , testscenarios 9 + , testtools 7 10 , twine 8 11 }: 9 12 ··· 16 19 sha256 = "bda993f1623b1197699716d68d983bb580043cf2b8a66a01274d9b8297b0aeaf"; 17 20 }; 18 21 19 - nativeBuildInputs = [ twine ]; 20 - propagatedBuildInputs = [ docutils lockfile ]; 22 + nativeBuildInputs = [ 23 + twine 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + docutils 28 + lockfile 29 + ]; 30 + 31 + checkInputs = [ 32 + pytest_4 33 + mock 34 + testscenarios 35 + testtools 36 + ]; 21 37 22 - checkInputs = [ pytest_4 mock testscenarios ]; 38 + # tests disabled due to incompatibilities with testtools>=2.5.0 23 39 checkPhase = '' 24 - pytest -k 'not detaches_process_context \ 25 - and not standard_stream_file_descriptors' 40 + runHook preCheck 41 + pytest -k ' \ 42 + not detaches_process_context and \ 43 + not standard_stream_file_descriptors and \ 44 + not test_module_has_attribute and \ 45 + not test_module_attribute_has_duck_type' 46 + runHook postCheck 26 47 ''; 27 48 28 49 pythonImportsCheck = [ ··· 35 56 meta = with lib; { 36 57 description = "Library to implement a well-behaved Unix daemon process"; 37 58 homepage = "https://pagure.io/python-daemon/"; 38 - license = [ licenses.gpl3Plus licenses.asl20 ]; 59 + license = with licenses; [ 60 + gpl3Plus 61 + asl20 62 + ]; 63 + maintainers = with maintainers; [ ]; 39 64 }; 40 65 }
+2 -2
pkgs/development/python-modules/python-dotenv/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "python-dotenv"; 14 - version = "0.17.1"; 14 + version = "0.19.0"; 15 15 disabled = pythonOlder "3.5"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "b1ae5e9643d5ed987fc57cc2583021e38db531946518130777734f9589b3141f"; 19 + sha256 = "f521bc2ac9a8e03c736f62911605c5d83970021e3fa95b37d769e2bbbe9b6172"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ click ];
+2 -2
pkgs/development/python-modules/python-ethtool/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "python-ethtool"; 11 - version = "0.14"; 11 + version = "0.15"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "fedora-python"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-Sp7ssfLZ/1FEKrvX257pKcaureZ5mdpJ7jCEh/ft1l0="; 17 + sha256 = "0arkcfq64a4fl88vjjsx4gd3mhcpa7mpq6sblpkgs4k4m9mccz6i"; 18 18 }; 19 19 20 20 postPatch = ''
+2 -2
pkgs/development/python-modules/python-gitlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "python-gitlab"; 13 - version = "2.10.0"; 13 + version = "2.10.1"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-N2s+mCOBzsc0RxxQKz2ixueFio300DyZNJnmp1k5UOY="; 18 + sha256 = "7afa7d7c062fa62c173190452265a30feefb844428efc58ea5244f3b9fc0d40f"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+18 -15
pkgs/development/python-modules/python-lsp-server/default.nix
··· 45 45 sha256 = "sha256-TyXKlXeXMyq+bQq9ngDm0SuW+rAhDlOVlC3mDI1THwk="; 46 46 }; 47 47 48 + postPatch = '' 49 + substituteInPlace setup.cfg \ 50 + --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ 51 + --replace "--cov pylsp --cov test" "" 52 + ''; 53 + 48 54 propagatedBuildInputs = [ 49 55 jedi 50 56 pluggy ··· 52 58 setuptools 53 59 ujson 54 60 ] ++ lib.optional withAutopep8 autopep8 55 - ++ lib.optional withFlake8 flake8 56 - ++ lib.optional withMccabe mccabe 57 - ++ lib.optional withPycodestyle pycodestyle 58 - ++ lib.optional withPydocstyle pydocstyle 59 - ++ lib.optional withPyflakes pyflakes 60 - ++ lib.optional withPylint pylint 61 - ++ lib.optional withRope rope 62 - ++ lib.optional withYapf yapf; 61 + ++ lib.optional withFlake8 flake8 62 + ++ lib.optional withMccabe mccabe 63 + ++ lib.optional withPycodestyle pycodestyle 64 + ++ lib.optional withPydocstyle pydocstyle 65 + ++ lib.optional withPyflakes pyflakes 66 + ++ lib.optional withPylint pylint 67 + ++ lib.optional withRope rope 68 + ++ lib.optional withYapf yapf; 63 69 64 70 checkInputs = [ 65 71 flaky ··· 70 76 pytestCheckHook 71 77 ]; 72 78 73 - disabledTests = lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config"; 79 + disabledTests = [ 80 + # pytlint output changed 81 + "test_lint_free_pylint" 82 + ] ++ lib.optional (!withPycodestyle) "test_workspace_loads_pycodestyle_config"; 74 83 75 84 disabledTestPaths = lib.optional (!withAutopep8) "test/plugins/test_autopep8_format.py" 76 85 ++ lib.optional (!withRope) "test/plugins/test_completion.py" ··· 82 91 ++ lib.optional (!withPylint) "test/plugins/test_pylint_lint.py" 83 92 ++ lib.optional (!withRope) "test/plugins/test_rope_rename.py" 84 93 ++ lib.optional (!withYapf) "test/plugins/test_yapf_format.py"; 85 - 86 - postPatch = '' 87 - substituteInPlace setup.cfg \ 88 - --replace "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ 89 - --replace "--cov pylsp --cov test" "" 90 - ''; 91 94 92 95 preCheck = '' 93 96 export HOME=$(mktemp -d);
+2 -2
pkgs/development/python-modules/python-rapidjson/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - version = "1.0"; 11 + version = "1.4"; 12 12 pname = "python-rapidjson"; 13 13 disabled = pythonOlder "3.4"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "a61fa61e41b0b85ba9e78444242fddcb3be724de1df79314e6b4766b66e4e11c"; 17 + sha256 = "018c20d3983cccfdc9cfed64407d4ba861ef3d64fe324a486f7130431afdefa7"; 18 18 }; 19 19 20 20 LC_ALL="en_US.utf-8";
+2 -2
pkgs/development/python-modules/pytube/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pytube"; 10 - version = "10.9.3"; 10 + version = "11.0.1"; 11 11 12 12 disabled = pythonOlder "3.6"; 13 13 ··· 15 15 owner = "pytube"; 16 16 repo = "pytube"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-x4u68O9dNhDZ+1Q+S4ou6zPqoR2/Yn5lcKgR2kyM/uo="; 18 + sha256 = "04s4hganb6x0dlfyyg9gjah5z0vxd7bxzqwgvd28hqnf0iwc2byb"; 19 19 }; 20 20 21 21 checkInputs = [
+2 -2
pkgs/development/python-modules/pyusb/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pyusb"; 5 - version = "1.1.1"; 5 + version = "1.2.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38"; 9 + sha256 = "a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9"; 10 10 }; 11 11 12 12 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pyvips/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pyvips"; 6 - version = "2.1.14"; 6 + version = "2.1.15"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "244e79c625be65237677c79424d4476de6c406805910015d4adbd0186c64a6a2"; 10 + sha256 = "8bca4077dbdc1434dcbc6759407367b6561e3505aa9555b1bc0b45989dcf50b2"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ pytest-runner pkgconfig pkg-config ];
+2 -2
pkgs/development/python-modules/pyzmq/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pyzmq"; 12 - version = "22.1.0"; 12 + version = "22.2.1"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "7040d6dd85ea65703904d023d7f57fab793d7ffee9ba9e14f3b897f34ff2415d"; 16 + sha256 = "6d18c76676771fd891ca8e0e68da0bbfb88e30129835c0ade748016adb3b6242"; 17 17 }; 18 18 19 19 checkInputs = [
+2 -2
pkgs/development/python-modules/qtpy/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "QtPy"; 5 - version = "1.9.0"; 5 + version = "1.10.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "13cw8l7zrhbdi03k1wl1pg9xdl4ahdfa7yz8gd0f23sxnm22rdrd"; 9 + sha256 = "3d20f010caa3b2c04835d6a2f66f8873b041bdaf7a76085c2a0d7890cdd65ea9"; 10 10 }; 11 11 12 12 # no concrete propagatedBuildInputs as multiple backends are supposed
+20 -8
pkgs/development/python-modules/quantities/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , numpy 5 - , python 5 + , pytestCheckHook 6 6 }: 7 7 8 8 buildPythonPackage rec { ··· 14 14 sha256 = "67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0"; 15 15 }; 16 16 17 - propagatedBuildInputs = [ numpy ]; 17 + propagatedBuildInputs = [ 18 + numpy 19 + ]; 18 20 19 - checkPhase = '' 20 - ${python.interpreter} setup.py test -V 1 21 - ''; 21 + checkInputs = [ 22 + pytestCheckHook 23 + ]; 22 24 23 - meta = { 24 - description = "Quantities is designed to handle arithmetic and"; 25 + disabledTests = [ 26 + # Tests don't work with current numpy 27 + # https://github.com/python-quantities/python-quantities/pull/195 28 + "test_arctan2" 29 + "test_fix" 30 + ]; 31 + 32 + pythonImportsCheck = [ "quantities" ]; 33 + 34 + meta = with lib; { 35 + description = "Quantities is designed to handle arithmetic and conversions of physical quantities"; 25 36 homepage = "https://python-quantities.readthedocs.io/"; 26 - license = lib.licenses.bsd2; 37 + license = licenses.bsd2; 38 + maintainers = with maintainers; [ ]; 27 39 }; 28 40 }
+2 -2
pkgs/development/python-modules/queuelib/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "queuelib"; 9 - version = "1.6.1"; 9 + version = "1.6.2"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "631d067c9be57e395c382d680d3653ca1452cd29e8da25c5e8d94b5c0c528c31"; 13 + sha256 = "4b207267f2642a8699a1f806045c56eb7ad1a85a10c0e249884580d139c2fcd2"; 14 14 }; 15 15 16 16 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/r2pipe/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "r2pipe"; 12 - version = "1.5.3"; 12 + version = "1.6.0"; 13 13 14 14 postPatch = let 15 15 r2lib = "${lib.getOutput "lib" radare2}/lib"; ··· 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "8f3708195c8a6e91c5753940fd348cd821df1389d23b889b01b3e88acf407485"; 30 + sha256 = "f7d1f629130fac597dc444df57168cf011a18abb1be2f690c8993fc5fb4c78a0"; 31 31 }; 32 32 33 33 # Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't
+2
pkgs/development/python-modules/rdflib-jsonld/default.nix
··· 17 17 license = licenses.bsdOriginal; 18 18 description = "rdflib extension adding JSON-LD parser and serializer"; 19 19 maintainers = [ maintainers.koslambrou ]; 20 + # incomptiable with rdflib 6.0.0, half of the test suite fails with import and atrribute errors 21 + broken = true; 20 22 }; 21 23 }
+2 -2
pkgs/development/python-modules/rdflib/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "rdflib"; 13 - version = "5.0.0"; 13 + version = "6.0.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "0mdi7xh4zcr3ngqwlgqdqf0i5bxghwfddyxdng1zwpiqkpa9s53q"; 17 + sha256 = "7ce4d757eb26f4dd43205ec340d8c097f29e5adfe45d6ea20238c731dc679879"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [isodate html5lib SPARQLWrapper ];
+2 -2
pkgs/development/python-modules/regex/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "regex"; 10 - version = "2021.4.4"; 10 + version = "2021.8.28"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-Uro9P5uULEnX5LwQW7KFUcRAZfE5plBiq3kSvvEMmvs="; 14 + sha256 = "f585cbbeecb35f35609edccb95efd95a3e35824cd7752b586503f7e6087303f1"; 15 15 }; 16 16 17 17 # Sources for different Python releases are located in same folder
+2 -2
pkgs/development/python-modules/reportlab/default.nix
··· 11 11 ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; }); 12 12 in buildPythonPackage rec { 13 13 pname = "reportlab"; 14 - version = "3.5.67"; 14 + version = "3.6.1"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "0cf2206c73fbca752c8bd39e12bb9ad7f2d01e6fcb2b25b9eaf94ea042fe86c9"; 18 + sha256 = "68f9324000cfc5570b5a59a92306691b5d655078a399f20bc72c2581fe903261"; 19 19 }; 20 20 21 21 checkInputs = [ glibcLocales ];
+9
pkgs/development/python-modules/requests/default.nix
··· 1 1 { lib 2 + , brotli 3 + , brotlicffi 2 4 , buildPythonPackage 3 5 , certifi 4 6 , chardet ··· 9 11 , pytestCheckHook 10 12 , urllib3 11 13 , isPy27 14 + , isPy3k 15 + , trustme 12 16 }: 13 17 14 18 buildPythonPackage rec { ··· 32 36 chardet 33 37 idna 34 38 urllib3 39 + ] ++ lib.optionals (isPy3k) [ 40 + brotlicffi 41 + charset-normalizer 42 + ] ++ lib.optionals (isPy27) [ 43 + brotli 35 44 ]; 36 45 37 46 checkInputs = [
+2 -2
pkgs/development/python-modules/rich/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "rich"; 16 - version = "10.7.0"; 16 + version = "10.9.0"; 17 17 format = "pyproject"; 18 18 disabled = pythonOlder "3.6"; 19 19 ··· 21 21 owner = "willmcgugan"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "1drh08cmcn8dqi0mpfwscz3ljsv2s60kyhxy6iiw5si7rf717j4p"; 24 + sha256 = "0lf2s7n9b31aavwl5xjl3x1pjc756s8pbk0whh5kag80z5v6qc32"; 25 25 }; 26 26 27 27 nativeBuildInputs = [ poetry-core ];
+2 -2
pkgs/development/python-modules/robotframework-sshlibrary/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "3.6.0"; 10 + version = "3.7.0"; 11 11 pname = "robotframework-sshlibrary"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "169c343f4db71e1969169fa6f383ca7fff549aa8f83bdd3d9cbd03cea928b688"; 15 + sha256 = "55bd5a11bb1fe60a5a83446e6a3e1e81b13fc671e3b660aa55912a263c1f63aa"; 16 16 }; 17 17 18 18 # unit tests are impure
+2 -2
pkgs/development/python-modules/ruamel_yaml/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "ruamel.yaml"; 13 - version = "0.17.9"; 13 + version = "0.17.16"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "374373b4743aee9f6d9f40bea600fe020a7ac7ae36b838b4a6a93f72b584a14c"; 17 + sha256 = "1a771fc92d3823682b7f0893ad56cb5a5c87c48e62b5399d6f42c8759a583b33"; 18 18 }; 19 19 20 20 # Tests use relative paths
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "sagemaker"; 19 - version = "2.54.0"; 19 + version = "2.57.0"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "sha256-uLsBHqzpcuTugRXBihdbib64l396m+os39OhP+tLLCM="; 23 + sha256 = "b03b340fe54f91b0533d3ce19d5b7fdf403da21b5befab70a9915466e48f6e75"; 24 24 }; 25 25 26 26 pythonImportsCheck = [
+7 -6
pkgs/development/python-modules/sanic-testing/default.nix
··· 19 19 sha256 = "1pf619cd3dckn3d8gh18vbn7dflvb0mzpf6frx4y950x2j3rdplk"; 20 20 }; 21 21 22 + postPatch = '' 23 + # https://github.com/sanic-org/sanic-testing/issues/19 24 + substituteInPlace setup.py \ 25 + --replace '"websockets==8.1",' '"websockets>=9.1",' \ 26 + --replace "httpx==0.18.*" "httpx" 27 + ''; 28 + 22 29 propagatedBuildInputs = [ 23 30 httpx 24 31 sanic ··· 29 36 pytest-asyncio 30 37 pytestCheckHook 31 38 ]; 32 - 33 - postPatch = '' 34 - # https://github.com/sanic-org/sanic-testing/issues/19 35 - substituteInPlace setup.py \ 36 - --replace '"websockets==8.1",' '"websockets>=9.1",' 37 - ''; 38 39 39 40 # `sanic` is explicitly set to null when building `sanic` itself 40 41 # to prevent infinite recursion. In that case we skip running
+2 -2
pkgs/development/python-modules/scancode-toolkit/default.nix
··· 37 37 }: 38 38 buildPythonPackage rec { 39 39 pname = "scancode-toolkit"; 40 - version = "21.6.7"; 40 + version = "21.8.4"; 41 41 disabled = !isPy3k; 42 42 43 43 src = fetchPypi { 44 44 inherit pname version; 45 - sha256 = "056923ce556cd6d402e5cc98567cb0331a1b6349d03ec565f8ce1c9c37f3a783"; 45 + sha256 = "c18340067244274c67e166f701c60e747e1d0bccb17efc99f277a4bc0a5a13c6"; 46 46 }; 47 47 48 48 dontConfigure = true;
+2 -2
pkgs/development/python-modules/schema-salad/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "schema-salad"; 15 - version = "8.1.20210716111910"; 15 + version = "8.1.20210721123742"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "3f851b385d044c58d359285ba471298b6199478a4978f892a83b15cbfb282f25"; 19 + sha256 = "1549555b9b5656cfc690716f04fb76b9fa002feb278638c446522f030632b450"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/scikit-image/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "scikit-image"; 21 - version = "0.18.1"; 21 + version = "0.18.3"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "fbb618ca911867bce45574c1639618cdfb5d94e207432b19bc19563d80d2f171"; 25 + sha256 = "ecae99f93f4c5e9b1bf34959f4dc596c41f2f6b2fc407d9d9ddf85aebd3137ca"; 26 26 }; 27 27 28 28 nativeBuildInputs = [ cython ];
+9 -5
pkgs/development/python-modules/scipy/default.nix
··· 3 3 , fetchPypi 4 4 , python 5 5 , buildPythonPackage 6 + , cython 6 7 , gfortran 8 + , pythran 7 9 , nose 8 10 , pytest 9 11 , pytest-xdist ··· 13 15 14 16 buildPythonPackage rec { 15 17 pname = "scipy"; 16 - version = "1.6.3"; 18 + version = "1.7.1"; 17 19 18 20 src = fetchPypi { 19 21 inherit pname version; 20 - sha256 = "a75b014d3294fce26852a9d04ea27b5671d86736beb34acdfc05859246260707"; 22 + sha256 = "6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764"; 21 23 }; 22 24 23 - checkInputs = [ nose pytest pytest-xdist ]; 24 - nativeBuildInputs = [ gfortran ]; 25 + nativeBuildInputs = [ cython gfortran pythran ]; 26 + 25 27 buildInputs = [ numpy.blas pybind11 ]; 28 + 26 29 propagatedBuildInputs = [ numpy ]; 30 + 31 + checkInputs = [ nose pytest pytest-xdist ]; 27 32 28 33 # Remove tests because of broken wrapper 29 34 prePatch = '' ··· 40 45 preBuild = '' 41 46 ln -s ${numpy.cfg} site.cfg 42 47 ''; 43 - 44 48 45 49 # disable stackprotector on aarch64-darwin for now 46 50 #
+33 -19
pkgs/development/python-modules/screeninfo/default.nix
··· 1 - { lib, buildPythonApplication, fetchPypi, isPy27, isPy36, dataclasses, libX11, libXinerama, libXrandr }: 1 + { lib 2 + , buildPythonApplication 3 + , dataclasses 4 + , fetchPypi 5 + , libX11 6 + , libXinerama 7 + , libXrandr 8 + , pytestCheckHook 9 + , pythonOlder 10 + }: 2 11 3 12 buildPythonApplication rec { 4 13 pname = "screeninfo"; 5 - version = "0.6.7"; 6 - disabled = isPy27; # dataclasses isn't available for python2 14 + version = "0.7"; 15 + 16 + disabled = pythonOlder "3.6"; 7 17 8 18 src = fetchPypi { 9 19 inherit pname version; 10 - sha256 = "1c4bac1ca329da3f68cbc4d2fbc92256aa9bb8ff8583ee3e14f91f0a7baa69cb"; 20 + sha256 = "12a97c3527e3544ac5dbd7c1204283e2653d655cbd15844c990a83b1b13ef500"; 11 21 }; 12 22 13 - # dataclasses is a compatibility shim for python 3.6 ONLY 14 - patchPhase = if isPy36 then "" else '' 15 - substituteInPlace setup.py \ 16 - --replace "\"dataclasses\"," "" 17 - '' + '' 18 - substituteInPlace screeninfo/enumerators/xinerama.py \ 19 - --replace "load_library(\"X11\")" "ctypes.cdll.LoadLibrary(\"${libX11}/lib/libX11.so\")" \ 20 - --replace "load_library(\"Xinerama\")" "ctypes.cdll.LoadLibrary(\"${libXinerama}/lib/libXinerama.so\")" 21 - substituteInPlace screeninfo/enumerators/xrandr.py \ 22 - --replace "load_library(\"X11\")" "ctypes.cdll.LoadLibrary(\"${libX11}/lib/libX11.so\")" \ 23 - --replace "load_library(\"Xrandr\")" "ctypes.cdll.LoadLibrary(\"${libXrandr}/lib/libXrandr.so\")" 24 - ''; 23 + propagatedBuildInputs = lib.optionals (pythonOlder "3.7") [ 24 + dataclasses 25 + ]; 25 26 26 - propagatedBuildInputs = lib.optional isPy36 dataclasses; 27 + buildInputs = [ 28 + libX11 29 + libXinerama 30 + libXrandr 31 + ]; 27 32 28 - buildInputs = [ libX11 libXinerama libXrandr]; 33 + checkInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 37 + disabledTestPaths = [ 38 + # We don't have a screen 39 + "screeninfo/test_screeninfo.py" 40 + ]; 41 + 42 + pythonImportsCheck = [ "screeninfo" ]; 29 43 30 44 meta = with lib; { 31 45 description = "Fetch location and size of physical screens"; 32 46 homepage = "https://github.com/rr-/screeninfo"; 33 47 license = licenses.mit; 34 - maintainers = [ maintainers.nickhu ]; 48 + maintainers = with maintainers; [ nickhu ]; 35 49 }; 36 50 }
+15 -5
pkgs/development/python-modules/setuptools-scm/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, toml }: 1 + { lib, buildPythonPackage, fetchPypi, toml, tomli }: 2 2 3 3 buildPythonPackage rec { 4 - pname = "setuptools_scm"; 4 + pname = "setuptools-scm"; 5 + # don't update to 6.1.0 or 6.2.0, releases were pulled because of regression 6 + # https://github.com/pypa/setuptools_scm/issues/615 5 7 version = "6.0.1"; 6 8 7 9 src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "d1925a69cb07e9b29416a275b9fadb009a23c148ace905b2fb220649a6c18e92"; 10 + pname = "setuptools_scm"; 11 + inherit version; 12 + sha256 = "sha256-0ZJaacsH6bKUFqJ1ufrbAJojwUis6QWy+yIGSabBjpI="; 10 13 }; 11 14 12 - propagatedBuildInputs = [ toml ]; 15 + postPatch = '' 16 + substituteInPlace setup.cfg \ 17 + --replace "tomli~=1.0.0" "tomli>=1.0.0" 18 + ''; 19 + 20 + # TODO: figure out why both toml and tomli are needed when only tomli is listed in setuptools-scm 21 + # if not both are listed some packages like zipp silently fallback to a 0.0.0 version number and break version pins in other packages 22 + propagatedBuildInputs = [ toml tomli ]; 13 23 14 24 # Requires pytest, circular dependency 15 25 doCheck = false;
+2 -2
pkgs/development/python-modules/simple-salesforce/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "simple-salesforce"; 15 - version = "1.11.2"; 15 + version = "1.11.3"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = pname; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "1xysym0b1qnxck4hbj5d0l5wapwfahmkr280f6iskz2hi5j2j1yb"; 21 + sha256 = "16bd40n0xy0vmsgi2499vc6mx57ksyjrm6v88bwxp49p9qrm4a23"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/simplejson/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "simplejson"; 10 - version = "3.17.3"; 10 + version = "3.17.5"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = pname; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-Ev1vKyxexPvTT+esf9ngUcHu70Brl27P3qbS5fK2HxU="; 16 + sha256 = "1vljsd5bk12gasadkxcddwhmp38fj64x1aqi4frk3frq9lp8h3a1"; 17 17 }; 18 18 19 19 checkInputs = [
+2 -2
pkgs/development/python-modules/singledispatch/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "singledispatch"; 11 - version = "3.6.2"; 11 + version = "3.7.0"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "d5bb9405a4b8de48e36709238e8b91b4f6f300f81a5132ba2531a9a738eca391"; 15 + sha256 = "c1a4d5c1da310c3fd8fccfb8d4e1cb7df076148fd5d858a819e37fffe44f3092"; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/slack-sdk/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "slack-sdk"; 23 - version = "3.10.0"; 23 + version = "3.10.1"; 24 24 disabled = pythonOlder "3.6"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "slackapi"; 28 28 repo = "python-slack-sdk"; 29 29 rev = "v${version}"; 30 - sha256 = "sha256-FOpUO9bXrEOgYGmRmAhHnovzBafu6D2ZSLcgw0+0uzs="; 30 + sha256 = "1m9jbn5wn892f22lxkxgahlbnwflak50hfjrydblp4agsag94nsg"; 31 31 }; 32 32 33 33 propagatedBuildInputs = [
+6
pkgs/development/python-modules/slowapi/default.nix
··· 43 43 starlette 44 44 ]; 45 45 46 + disabledTests = [ 47 + # E AssertionError: Regex pattern 'parameter `request` must be an instance of starlette.requests.Request' does not match 'This portal is not running'. 48 + "test_endpoint_request_param_invalid" 49 + "test_endpoint_response_param_invalid" 50 + ]; 51 + 46 52 patches = [ 47 53 # Switch to poetry-core, https://github.com/laurentS/slowapi/pull/54 48 54 (fetchpatch {
+4 -2
pkgs/development/python-modules/smart-meter-texas/default.nix
··· 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 5 , aiohttp 6 + , asn1 6 7 , python-dateutil 7 8 , tenacity 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "smart-meter-texas"; 12 - version = "0.4.4"; 13 + version = "0.4.7"; 13 14 14 15 disabled = pythonOlder "3.6"; 15 16 ··· 17 18 owner = "grahamwetzler"; 18 19 repo = "smart-meter-texas"; 19 20 rev = "v${version}"; 20 - sha256 = "sha256-jewibcsqWnl0OQ2oEEOSOcyyDCIGZiG4EZQfuFUbxK4="; 21 + sha256 = "1hfvv3kpkc7i9mn58bjgvwjj0mi2syr8fv4r8bwbhq5sailma27j"; 21 22 }; 22 23 23 24 postPatch = '' ··· 27 28 28 29 propagatedBuildInputs = [ 29 30 aiohttp 31 + asn1 30 32 python-dateutil 31 33 tenacity 32 34 ];
+2 -2
pkgs/development/python-modules/smart-open/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "smart-open"; 18 - version = "5.2.0"; 18 + version = "5.2.1"; 19 19 20 20 disabled = pythonOlder "3.5"; 21 21 ··· 23 23 owner = "RaRe-Technologies"; 24 24 repo = "smart_open"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-eC9BYHeACzGp382QBNgLcNMYDkHi0WXyEj/Re9ShXuA="; 26 + sha256 = "13a1qsb4vwrhx45hz4qcl0d7bgv20ai5vsy7cq0q6qbj212nff19"; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/snowflake-connector-python/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "snowflake-connector-python"; 27 - version = "2.5.1"; 27 + version = "2.6.0"; 28 28 disabled = pythonOlder "3.6"; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "8af2a51ac890d9e0ffe0cd509ba83198076e2564fb8fdc63c6814b773e70b33a"; 32 + sha256 = "0198d9c1934540ae9c7276d98f1048f3432160613d9d0e49398112bb21b0f0bb"; 33 33 }; 34 34 35 35 propagatedBuildInputs = [
+28 -13
pkgs/development/python-modules/snscrape/default.nix
··· 1 1 { lib 2 + , beautifulsoup4 2 3 , buildPythonPackage 3 - , isPy3k 4 - , fetchPypi 4 + , fetchFromGitHub 5 + , lxml 6 + , pythonOlder 7 + , pytz 8 + , requests 5 9 , setuptools-scm 6 - , setuptools 7 - , requests 8 - , lxml 9 - , beautifulsoup4 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "snscrape"; 14 - version = "0.3.4"; 14 + version = "unstable-2021-08-30"; 15 15 16 - disabled = !isPy3k; 16 + disabled = pythonOlder "3.8"; 17 17 18 - src = fetchPypi { 19 - inherit pname version; 20 - sha256 = "36ba7f95c8bf5202749189f760e591952f19c849379c35ff598aafafe5d0cfef"; 18 + src = fetchFromGitHub { 19 + owner = "JustAnotherArchivist"; 20 + repo = pname; 21 + rev = "c76f1637ce1d7a154af83495b67ead2559cd5715"; 22 + sha256 = "01x4961fxj1p98y6fcyxw5sv8fa87x41fdx9p31is12bdkmqxi6v"; 21 23 }; 22 24 25 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 26 + 27 + nativeBuildInputs = [ 28 + setuptools-scm 29 + ]; 30 + 31 + propagatedBuildInputs = [ 32 + beautifulsoup4 33 + lxml 34 + requests 35 + ] ++ lib.optionals (pythonOlder "3.9") [ 36 + pytz 37 + ]; 38 + 23 39 # There are no tests; make sure the executable works. 24 40 checkPhase = '' 25 41 export PATH=$PATH:$out/bin 26 42 snscrape --help 27 43 ''; 28 44 29 - nativeBuildInputs = [ setuptools-scm ]; 30 - propagatedBuildInputs = [ setuptools requests lxml beautifulsoup4 ]; 45 + pythonImportsCheck = [ "snscrape" ]; 31 46 32 47 meta = with lib; { 33 48 homepage = "https://github.com/JustAnotherArchivist/snscrape";
+9
pkgs/development/python-modules/sphinx/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 # propagatedBuildInputs 6 7 , Babel 7 8 , alabaster ··· 38 39 rev = "v${version}"; 39 40 sha256 = "sha256-0QdgHFX4r40BDHjpi9R40lXqT4n5ZgrIny+w070LZPE="; 40 41 }; 42 + 43 + patches = [ 44 + (fetchpatch { 45 + # Fix tests with pygments 2.10 46 + url = "https://github.com/sphinx-doc/sphinx/commit/bde6c8d2effc56dc8b9098abee796167f972c306.patch"; 47 + sha256 = "0d0ddhgrrh7z9ix0f3zrc2gjb4d73f6ffm98zl62fzv5l4fd00lr"; 48 + }) 49 + ]; 41 50 42 51 propagatedBuildInputs = [ 43 52 Babel
+2 -2
pkgs/development/python-modules/sphinxcontrib-autoapi/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "sphinx-autoapi"; 16 - version = "1.8.1"; 16 + version = "1.8.4"; 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "842c0a8f49c824803f7edee31cb1cabd5001a987553bec7b4681283ec9e47d4a"; 21 + sha256 = "8c4ec5fbedc1e6e8f4692bcc4fcd1abcfb9e8dfca8a4ded60ad811a743c22ccc"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ astroid jinja2 pyyaml sphinx unidecode ];
+2 -2
pkgs/development/python-modules/sphinxcontrib-htmlhelp/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "sphinxcontrib-htmlhelp"; 9 - version = "1.0.3"; 9 + version = "2.0.0"; 10 10 disabled = isPy27; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "e8f5bb7e31b2dbb25b9cc435c8ab7a79787ebf7f906155729338f3156d93659b"; 14 + sha256 = "f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"; 15 15 }; 16 16 17 17
-22
pkgs/development/python-modules/sphinxcontrib-tikz/binary-paths.patch
··· 1 - diff --git a/sphinxcontrib/tikz.py b/sphinxcontrib/tikz.py 2 - index ee21113..a4f4589 100644 3 - --- a/sphinxcontrib/tikz.py 4 - +++ b/sphinxcontrib/tikz.py 5 - @@ -242,7 +242,7 @@ def render_tikz(self, node, libs='', stringsubst=False): 6 - tf.write(latex) 7 - tf.close() 8 - 9 - - system([self.builder.config.latex_engine, '--interaction=nonstopmode', 10 - + system(['@texLive@/bin/pdflatex', '--interaction=nonstopmode', 11 - 'tikz-%s.tex' % shasum], 12 - self.builder) 13 - 14 - @@ -281,7 +281,7 @@ def render_tikz(self, node, libs='', stringsubst=False): 15 - '-sOutputFile=%s' % outfn, '-r' + resolution + 'x' + resolution, 16 - '-f', 'tikz-%s.pdf' % shasum], self.builder) 17 - elif self.builder.config.tikz_proc_suite == "pdf2svg": 18 - - system(['pdf2svg', 'tikz-%s.pdf' % shasum, outfn], self.builder) 19 - + system(['@pdf2svg@/bin/pdf2svg', 'tikz-%s.pdf' % shasum, outfn], self.builder) 20 - else: 21 - self.builder._tikz_warned = True 22 - raise TikzExtError('Error (tikz extension): Invalid configuration '
+7 -8
pkgs/development/python-modules/sphinxcontrib-tikz/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "sphinxcontrib-tikz"; 12 - version = "0.4.13"; 12 + version = "0.4.14"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "882e3ccfa202559bf77b90c93ee5eb13ec50cdd7714b3673dc6580dea7236740"; 16 + sha256 = "1614a45c960b80009dd42f96689122c9c0781018a0c5ec5828f4cdc5e35b11ad"; 17 17 }; 18 18 19 - patches = [ 20 - (substituteAll { 21 - src = ./binary-paths.patch; 22 - inherit texLive pdf2svg; 23 - }) 24 - ]; 19 + postPatch = '' 20 + substituteInPlace sphinxcontrib/tikz.py \ 21 + --replace "config.latex_engine" "${texLive}/bin/pdflatex" \ 22 + --replace "system(['pdf2svg'" "system(['${pdf2svg}/bin/pdf2svg'" 23 + ''; 25 24 26 25 propagatedBuildInputs = [ sphinx ]; 27 26
+2 -2
pkgs/development/python-modules/spyder-kernels/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "spyder-kernels"; 6 - version = "1.10.3"; 6 + version = "2.1.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "cecb0ca0115a42bab864c199a737c859a8534a510fc7edfa33dc42abcbb5287f"; 10 + sha256 = "6c287207c7855bb581eae66ef8d990407382d5f9caccb1e0cabf909aaaf10c9b"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/spyder/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "spyder"; 11 - version = "4.2.5"; 11 + version = "5.1.1"; 12 12 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "03159003f6ea51458e10000091e65e77888b095dba48e64ca2b36c75a648580c"; 17 + sha256 = "6551acfd6fedfebd1f938ef67d3db415b33540f8377e7de3f4d4a2a11dd1b915"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
+9 -8
pkgs/development/python-modules/sqlite-utils/default.nix
··· 4 4 , pythonOlder 5 5 , click 6 6 , click-default-group 7 + , dateutils 7 8 , sqlite-fts4 8 9 , tabulate 9 10 , pytestCheckHook 10 - , pytest-runner 11 - , black 12 11 , hypothesis 13 - , sqlite 14 12 }: 15 13 16 14 buildPythonPackage rec { 17 15 pname = "sqlite-utils"; 18 - version = "3.9.1"; 16 + version = "3.17"; 19 17 disabled = pythonOlder "3.6"; 20 18 21 19 src = fetchPypi { 22 20 inherit pname version; 23 - sha256 = "a08ed62eb269e26ae9c35b9be9cd3d395b0522157e6543128a40cc5302d8aa81"; 21 + sha256 = "77acd202aa568a1f6888c5d8879f306bb3f8acedc82df0df98eb615caa491abb"; 24 22 }; 25 23 24 + postPatch = '' 25 + substituteInPlace setup.py \ 26 + --replace '"pytest-runner"' "" 27 + ''; 28 + 26 29 propagatedBuildInputs = [ 27 30 click 28 31 click-default-group 32 + dateutils 29 33 sqlite-fts4 30 34 tabulate 31 35 ]; 32 36 33 37 checkInputs = [ 34 38 pytestCheckHook 35 - pytest-runner 36 - black 37 39 hypothesis 38 40 ]; 39 41 ··· 43 45 license = licenses.asl20; 44 46 maintainers = with maintainers; [ meatcar ]; 45 47 }; 46 - 47 48 }
+34 -14
pkgs/development/python-modules/ssdp/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , isPy27 3 + , fetchFromGitHub 5 4 , pbr 6 - , pytest 7 - , isPy3k 5 + , pytestCheckHook 6 + , pythonOlder 7 + , setuptools-scm 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "ssdp"; 12 - version = "1.0.1"; 13 - disabled = !isPy3k; 12 + version = "1.1.0"; 14 13 15 - src = fetchPypi { 16 - inherit pname version; 17 - sha256 = "0yhjqs9jyvwmba8fi72xfi9k8pxy11wkz4iywayrg71ka3la49bk"; 14 + disabled = pythonOlder "3.6"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "codingjoe"; 18 + repo = pname; 19 + rev = version; 20 + sha256 = "19d2b5frpq2qkfkpz173wpjk5jwhkjpk75p8q92nm8iv41nrzljy"; 18 21 }; 19 22 20 - buildInputs = [ pbr ]; 21 - checkInputs = [ pytest ]; 23 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 22 24 23 - # test suite uses new async primitives 24 - doCheck = !isPy27; 25 + nativeBuildInputs = [ 26 + setuptools-scm 27 + ]; 28 + 29 + buildInputs = [ 30 + pbr 31 + ]; 32 + 33 + checkInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 37 + postPatch = '' 38 + substituteInPlace setup.cfg \ 39 + --replace "pytest-runner" "" \ 40 + --replace "--cov=ssdp" "" 41 + ''; 42 + 43 + pythonImportsCheck = [ "ssdp" ]; 25 44 26 45 meta = with lib; { 46 + description = "Python asyncio library for Simple Service Discovery Protocol (SSDP)"; 27 47 homepage = "https://github.com/codingjoe/ssdp"; 28 - description = "Python asyncio library for Simple Service Discovery Protocol (SSDP)."; 29 48 license = licenses.mit; 49 + maintainers = with maintainers; [ fab ]; 30 50 }; 31 51 }
+23 -7
pkgs/development/python-modules/starlette/default.nix
··· 4 4 , fetchFromGitHub 5 5 , isPy27 6 6 , aiofiles 7 + , anyio 8 + , contextlib2 7 9 , graphene 8 10 , itsdangerous 9 11 , jinja2 ··· 12 14 , requests 13 15 , aiosqlite 14 16 , databases 15 - , pytestCheckHook 16 17 , pytest-asyncio 18 + , pytestCheckHook 19 + , pythonOlder 20 + , trio 17 21 , typing-extensions 18 22 , ApplicationServices 19 23 }: 20 24 21 25 buildPythonPackage rec { 22 26 pname = "starlette"; 23 - version = "0.14.2"; 24 - disabled = isPy27; 27 + version = "0.16.0"; 28 + disabled = pythonOlder "3.6"; 25 29 26 30 src = fetchFromGitHub { 27 31 owner = "encode"; 28 32 repo = pname; 29 33 rev = version; 30 - sha256 = "0fz28czvwiww693ig9vwdja59xxs7m0yp1df32ms1hzr99666bia"; 34 + sha256 = "sha256-/NYhRRZdi6I7CtLCohAqK4prsSUayOxa6sBKIJhPv+w="; 31 35 }; 32 36 33 37 postPatch = '' ··· 37 41 38 42 propagatedBuildInputs = [ 39 43 aiofiles 44 + anyio 40 45 graphene 41 46 itsdangerous 42 47 jinja2 43 48 python-multipart 44 49 pyyaml 45 50 requests 46 - ] ++ lib.optional stdenv.isDarwin [ ApplicationServices ]; 51 + ] ++ lib.optionals (pythonOlder "3.8") [ 52 + typing-extensions 53 + ] ++ lib.optionals (pythonOlder "3.7") [ 54 + contextlib2 55 + ] ++ lib.optional stdenv.isDarwin [ 56 + ApplicationServices 57 + ]; 47 58 48 59 checkInputs = [ 49 60 aiosqlite 50 61 databases 51 62 pytest-asyncio 52 63 pytestCheckHook 64 + trio 53 65 typing-extensions 54 66 ]; 55 67 ··· 57 69 # fails to import graphql, but integrated graphql support is about to 58 70 # be removed in 0.15, see https://github.com/encode/starlette/pull/1135. 59 71 "tests/test_graphql.py" 60 - # contextfunction was removed in Jinja 3.1 61 - "tests/test_templates.py" 72 + ]; 73 + 74 + disabledTests = [ 75 + # asserts fail due to inclusion of br in Accept-Encoding 76 + "test_websocket_headers" 77 + "test_request_headers" 62 78 ]; 63 79 64 80 pythonImportsCheck = [ "starlette" ];
+2 -2
pkgs/development/python-modules/sure/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "sure"; 12 - version = "1.4.11"; 12 + version = "2.0.0"; 13 13 disabled = isPyPy; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "3c8d5271fb18e2c69e2613af1ad400d8df090f1456081635bd3171847303cdaa"; 17 + sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2"; 18 18 }; 19 19 20 20 buildInputs = [ rednose ];
+2 -2
pkgs/development/python-modules/tableaudocumentapi/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "tableaudocumentapi"; 8 - version = "0.6"; 8 + version = "0.7"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "fc6d44b62cf6ea29916c073686e2f9f35c9902eccd57b8493f8d44a59a2f60d9"; 12 + sha256 = "5b1d04817a0fba43d58e1ce23c64ad8dfe54dc029ba5ccae3908944555bb13e0"; 13 13 }; 14 14 15 15 # tests not inclued with release
+2 -2
pkgs/development/python-modules/tempora/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "tempora"; 9 - version = "4.0.2"; 9 + version = "4.1.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "10fdc29bf85fa0df39a230a225bb6d093982fc0825b648a414bbc06bddd79909"; 13 + sha256 = "c54da0f05405f04eb67abbb1dff4448fd91428b58cb00f0f645ea36f6a927950"; 14 14 }; 15 15 16 16 disabled = pythonOlder "3.2";
+3 -2
pkgs/development/python-modules/tensorboard-plugin-profile/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "tensorboard_plugin_profile"; 9 - version = "2.4.0"; 9 + version = "2.5.0"; 10 10 format = "wheel"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 14 format = "wheel"; 15 + dist = "py3"; 15 16 python = "py3"; 16 - sha256 = "0z6dcjvkk3pzmmmjxi2ybawnfshz5qa3ga92kqj69ld1g9k3i9bj"; 17 + sha256 = "16jch9py98h7wrffdiz6j0i3kdykxdp5m0kfxr1fxy2phqanpjqk"; 17 18 }; 18 19 19 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/terminado/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "terminado"; 10 - version = "0.10.1"; 10 + version = "0.11.1"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "89d5dac2f4e2b39758a0ff9a3b643707c95a020a6df36e70583b88297cd59cbe"; 14 + sha256 = "962b402edbb480718054dc37027bada293972ecadfb587b89f01e2b8660a2132"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ ptyprocess tornado ];
+2 -2
pkgs/development/python-modules/termplotlib/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "termplotlib"; 12 - version = "0.3.5"; 12 + version = "0.3.8"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "nschloe"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "1z6bw6lkbrgjyq3ndsx20gwpai4scm1q9rjh4rdz0rvja4jdcv3z"; 18 + sha256 = "10k70pb7554cc2zwkcgxfak8nb7iqqw6njbnaqfdz07l4v9f6smm"; 19 19 }; 20 20 21 21 format = "pyproject";
+2 -2
pkgs/development/python-modules/tern/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "tern"; 19 - version = "2.6.1"; 19 + version = "2.7.0"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "749c18ef493ebe3ac28624b2b26c6e38f77de2afd6a6579d2c92393d8fbdbd46"; 23 + sha256 = "cfd59431cafd6adf05ccb94be964098d9301f83a03bf715def7861811e4a4b74"; 24 24 }; 25 25 26 26 preBuild = ''
+2 -2
pkgs/development/python-modules/teslajsonpy/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "teslajsonpy"; 17 - version = "0.18.3"; 17 + version = "0.19.0"; 18 18 format = "pyproject"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "zabuldon"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - sha256 = "1hdc5gm6dg1vw6qfs3z6mg2m94scrvjphj0lin6pi8n3zqj1h26k"; 24 + sha256 = "04ihjxysfmppwa7rnz86nd89wrqks2gwvcza8707yddzfp5hh8id"; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/testtools/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "testtools"; 14 - version = "2.4.0"; 14 + version = "2.5.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "64c974a6cca4385d05f4bbfa2deca1c39ce88ede31c3448bee86a7259a9a61c8"; 18 + sha256 = "57c13433d94f9ffde3be6534177d10fb0c1507cc499319128958ca91a65cb23f"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ pbr python_mimeparse extras unittest2 ];
+2 -2
pkgs/development/python-modules/texttable/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "texttable"; 8 - version = "1.6.3"; 8 + version = "1.6.4"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "ce0faf21aa77d806bbff22b107cc22cce68dc9438f97a2df32c93e9afa4ce436"; 12 + sha256 = "42ee7b9e15f7b225747c3fa08f43c5d6c83bc899f80ff9bae9319334824076e9"; 13 13 }; 14 14 15 15 meta = with lib; {
+2 -2
pkgs/development/python-modules/tifffile/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "tifffile"; 16 - version = "2021.6.14"; 16 + version = "2021.8.8"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "a2f83d82800a8d83cbd04340f9d65a6873a970874947a6b823b1b1238e84cba6"; 20 + sha256 = "8260f31c4700143e8374ff6cde5cef7fe54fc9b7313afe88329f407881901dc5"; 21 21 }; 22 22 23 23 patches = lib.optional isPy27 ./python2-regex-compat.patch;
+18 -7
pkgs/development/python-modules/tomli/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , callPackage 3 4 , fetchFromGitHub 4 5 , flit-core 5 - , pytestCheckHook 6 - , python-dateutil 7 6 }: 8 7 9 8 buildPythonPackage rec { ··· 11 10 version = "1.1.0"; 12 11 format = "pyproject"; 13 12 13 + outputs = [ 14 + "out" 15 + "testsout" 16 + ]; 17 + 14 18 src = fetchFromGitHub { 15 19 owner = "hukkin"; 16 20 repo = pname; ··· 20 24 21 25 nativeBuildInputs = [ flit-core ]; 22 26 23 - checkInputs = [ 24 - pytestCheckHook 25 - python-dateutil 26 - ]; 27 + postInstall = '' 28 + mkdir $testsout 29 + cp -R benchmark/ pyproject.toml tests/ $testsout/ 30 + ''; 27 31 28 32 pythonImportsCheck = [ "tomli" ]; 29 33 34 + # check in passthru.tests.pytest to escape infinite recursion with setuptools-scm 35 + doCheck = false; 36 + 37 + passthru.tests = { 38 + pytest = callPackage ./tests.nix { }; 39 + }; 40 + 30 41 meta = with lib; { 31 42 description = "A Python library for parsing TOML, fully compatible with TOML v1.0.0"; 32 43 homepage = "https://github.com/hukkin/tomli"; 33 44 license = licenses.mit; 34 - maintainers = with maintainers; [ veehaitch ]; 45 + maintainers = with maintainers; [ veehaitch SuperSandro2000 ]; 35 46 }; 36 47 }
+21
pkgs/development/python-modules/tomli/tests.nix
··· 1 + { buildPythonPackage 2 + , tomli 3 + , pytestCheckHook 4 + , python-dateutil 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "tomli-tests"; 9 + inherit (tomli) version; 10 + 11 + src = tomli.testsout; 12 + 13 + dontBuild = true; 14 + dontInstall = true; 15 + 16 + checkInputs = [ 17 + pytestCheckHook 18 + python-dateutil 19 + tomli 20 + ]; 21 + }
+9 -3
pkgs/development/python-modules/towncrier/default.nix
··· 3 3 , click-default-group 4 4 , incremental 5 5 , jinja2 6 + , mock 6 7 , pytestCheckHook 7 8 , toml 8 9 , twisted ··· 11 12 12 13 buildPythonPackage rec { 13 14 pname = "towncrier"; 14 - version = "19.9.0"; 15 + version = "21.3.0"; 15 16 16 17 src = fetchPypi { 17 18 inherit pname version; 18 - sha256 = "19916889879353a8863f3de8cb1ef19b305a0b5cfd9d36159d76ca2fef08e9aa"; 19 + sha256 = "6eed0bc924d72c98c000cb8a64de3bd566e5cb0d11032b73fcccf8a8f956ddfe"; 19 20 }; 20 21 21 22 propagatedBuildInputs = [ ··· 28 29 29 30 # zope.interface collision 30 31 doCheck = !isPy27; 31 - checkInputs = [ git twisted pytestCheckHook ]; 32 + checkInputs = [ 33 + git 34 + mock 35 + twisted 36 + pytestCheckHook 37 + ]; 32 38 pythonImportsCheck = [ "towncrier" ]; 33 39 34 40 meta = with lib; {
+2 -2
pkgs/development/python-modules/tox/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "tox"; 16 - version = "3.23.1"; 16 + version = "3.24.3"; 17 17 18 18 buildInputs = [ setuptools-scm ]; 19 19 propagatedBuildInputs = [ packaging pluggy py six virtualenv toml filelock ]; ··· 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "307a81ddb82bd463971a273f33e9533a24ed22185f27db8ce3386bff27d324e3"; 25 + sha256 = "c6c4e77705ada004283610fd6d9ba4f77bc85d235447f875df9f0ba1bc23b634"; 26 26 }; 27 27 28 28 meta = with lib; {
+2 -2
pkgs/development/python-modules/tqdm/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "tqdm"; 17 - version = "4.61.1"; 17 + version = "4.62.2"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "24be966933e942be5f074c29755a95b315c69a91f839a29139bf26ffffe2d3fd"; 21 + sha256 = "a4d6d112e507ef98513ac119ead1159d286deab17dffedd96921412c2d236ff5"; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/traitlets/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "traitlets"; 16 - version = "5.0.5"; 16 + version = "5.1.0"; 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "178f4ce988f69189f7e523337a3e11d91c786ded9360174a3d9ca83e79bc5396"; 21 + sha256 = "bd382d7ea181fbbcce157c133db9a829ce06edffe097bcf3ab945b435452b46d"; 22 22 }; 23 23 24 24 checkInputs = [ glibcLocales pytest mock ];
+2 -2
pkgs/development/python-modules/trytond/default.nix
··· 23 23 24 24 buildPythonApplication rec { 25 25 pname = "trytond"; 26 - version = "5.8.9"; 26 + version = "6.0.5"; 27 27 disabled = pythonOlder "3.5"; 28 28 29 29 src = fetchPypi { 30 30 inherit pname version; 31 - sha256 = "5f14e9615ff91e18c146c74eb4c1cd56112662361a52c73389f15baced0bef18"; 31 + sha256 = "3ccb98dbf905d99991ed0151e13c91cd9267e4aa104fa40097df4e02580dadfc"; 32 32 }; 33 33 34 34 # Tells the tests which database to use
+3 -2
pkgs/development/python-modules/twine/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "twine"; 17 - version = "3.4.1"; 17 + version = "3.4.2"; 18 + format = "pyproject"; 18 19 disabled = pythonOlder "3.6"; 19 20 20 21 src = fetchPypi { 21 22 inherit pname version; 22 - sha256 = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b"; 23 + sha256 = "4caec0f1ed78dc4c9b83ad537e453d03ce485725f2aea57f1bb3fdde78dae936"; 23 24 }; 24 25 25 26 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/types-pytz/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-pytz"; 8 - version = "2021.1.0"; 8 + version = "2021.1.2"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "0hzjz6wgzfyybcfli4rpmfxk49cn6x3slbs2xdmlnckvlahs5pxd"; 12 + sha256 = "448828a06f2aaa840e57364d866c661645a045e532f817e4f10c8c3ab2b66651"; 13 13 }; 14 14 15 15 # Modules doesn't have tests
+2 -2
pkgs/development/python-modules/typing-extensions/default.nix
··· 4 4 5 5 in buildPythonPackage rec { 6 6 pname = "typing_extensions"; 7 - version = "3.10.0.0"; 7 + version = "3.10.0.2"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342"; 11 + sha256 = "49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e"; 12 12 }; 13 13 14 14 checkInputs = lib.optional (pythonOlder "3.5") typing;
+1 -1
pkgs/development/python-modules/tzlocal/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "tzlocal"; 6 - version = "2.1"; 6 + version = "2.1"; # version needs to be compatible with APScheduler 7 7 8 8 propagatedBuildInputs = [ pytz ]; 9 9
+2 -2
pkgs/development/python-modules/uvloop/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "uvloop"; 18 - version = "0.15.2"; 18 + version = "0.16.0"; 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "2bb0624a8a70834e54dde8feed62ed63b50bad7a1265c40d6403a2ac447bce01"; 23 + sha256 = "f74bc20c7b67d1c27c72601c78cf95be99d5c2cdd4514502b4f3eb0933ff1228"; 24 24 }; 25 25 26 26 buildInputs = [
+12 -13
pkgs/development/python-modules/virtualenv/default.nix
··· 1 - { buildPythonPackage 2 - , appdirs 3 - , contextlib2 1 + { stdenv 2 + , lib 3 + , buildPythonPackage 4 + , pythonOlder 5 + , isPy27 6 + , backports-entry-points-selectable 4 7 , cython 5 8 , distlib 6 9 , fetchPypi ··· 8 11 , flaky 9 12 , importlib-metadata 10 13 , importlib-resources 11 - , isPy27 12 - , lib 13 14 , pathlib2 15 + , platformdirs 14 16 , pytest-freezegun 15 17 , pytest-mock 16 18 , pytest-timeout 17 19 , pytestCheckHook 18 - , pythonOlder 19 20 , setuptools-scm 20 21 , six 21 - , stdenv 22 22 }: 23 23 24 24 buildPythonPackage rec { 25 25 pname = "virtualenv"; 26 - version = "20.4.7"; 26 + version = "20.7.2"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "14fdf849f80dbb29a4eb6caa9875d476ee2a5cf76a5f5415fa2f1606010ab467"; 30 + sha256 = "9ef4e8ee4710826e98ff3075c9a4739e2cb1040de6a2a8d35db0055840dc96a0"; 31 31 }; 32 32 33 33 nativeBuildInputs = [ ··· 35 35 ]; 36 36 37 37 propagatedBuildInputs = [ 38 - appdirs 38 + backports-entry-points-selectable 39 39 distlib 40 40 filelock 41 + platformdirs 41 42 six 42 - ] ++ lib.optionals isPy27 [ 43 - contextlib2 44 - ] ++ lib.optionals (isPy27 && !stdenv.hostPlatform.isWindows) [ 43 + ] ++ lib.optionals (pythonOlder "3.4" && !stdenv.hostPlatform.isWindows) [ 45 44 pathlib2 46 45 ] ++ lib.optionals (pythonOlder "3.7") [ 47 46 importlib-resources
+42 -9
pkgs/development/python-modules/vispy/default.nix
··· 1 - { lib, buildPythonPackage, substituteAll, stdenv, 2 - fetchPypi, numpy, cython, freetype-py, fontconfig, libGL, 3 - setuptools-scm, setuptools-scm-git-archive 4 - }: 1 + { lib 2 + , stdenv 3 + , buildPythonPackage 4 + , substituteAll 5 + , fetchPypi 6 + , cython 7 + , fontconfig 8 + , freetype-py 9 + , hsluv 10 + , kiwisolver 11 + , libGL 12 + , numpy 13 + , setuptools-scm 14 + , setuptools-scm-git-archive 15 + }: 5 16 6 17 buildPythonPackage rec { 7 18 pname = "vispy"; 8 - version = "0.6.6"; 19 + version = "0.8.1"; 9 20 10 21 src = fetchPypi { 11 22 inherit pname version; 12 - sha256 = "6f3c4d00be9e6761c046d520a86693d78a0925d47eeb2fc095e95dac776f74ee"; 23 + sha256 = "6e482e68487f5384205d349f288580d6287fd690df4cdc3ad4c573afc39990f1"; 13 24 }; 14 25 15 26 patches = [ ··· 21 32 ]; 22 33 23 34 nativeBuildInputs = [ 24 - cython setuptools-scm setuptools-scm-git-archive 35 + cython 36 + setuptools-scm 37 + setuptools-scm-git-archive 38 + ]; 39 + 40 + buildInputs = [ 41 + libGL 25 42 ]; 26 43 27 44 propagatedBuildInputs = [ 28 - numpy freetype-py fontconfig libGL 45 + fontconfig 46 + freetype-py 47 + hsluv 48 + kiwisolver 49 + numpy 29 50 ]; 30 51 31 52 doCheck = false; # otherwise runs OSX code on linux. 32 - pythonImportsCheck = [ "vispy" ]; 53 + 54 + pythonImportsCheck = [ 55 + "vispy" 56 + "vispy.color" 57 + "vispy.geometry" 58 + "vispy.gloo" 59 + "vispy.glsl" 60 + "vispy.io" 61 + "vispy.plot" 62 + "vispy.scene" 63 + "vispy.util" 64 + "vispy.visuals" 65 + ]; 33 66 34 67 meta = with lib; { 35 68 homepage = "https://vispy.org/index.html";
+2 -2
pkgs/development/python-modules/vivisect/default.nix
··· 10 10 }: 11 11 buildPythonPackage rec { 12 12 pname = "vivisect"; 13 - version = "0.2.1"; 13 + version = "1.0.4"; 14 14 disabled = isPy3k; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "8fc4d2097a1d0d8d97aa8c540984cb52432df759f04f2281a21a4e1b7d1a95a7"; 18 + sha256 = "bd47b2cf5874cd2f74e6c36b8a97bf301785bacf9ac0297bbe78ec1b8c86c755"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/vowpalwabbit/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "vowpalwabbit"; 18 - version = "8.10.2"; 18 + version = "8.11.0"; 19 19 20 20 src = fetchPypi{ 21 21 inherit pname version; 22 - sha256 = "e9f7d525a6e88ebff41406409a5c31f79bb008f524fc63a61dc74bac6a1ac887"; 22 + sha256 = "cfde0515a3fa4d224aad5461135372f3441ae1a64717ae6bff5e23509d70b0bd"; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+82 -28
pkgs/development/python-modules/wasmer/default.nix
··· 1 - { lib 2 - , stdenv 1 + { stdenv 2 + , lib 3 3 , rustPlatform 4 + , callPackage 4 5 , fetchFromGitHub 5 6 , buildPythonPackage 6 7 , libiconv 8 + , llvm_11 9 + , libffi 10 + , libxml2 11 + , ncurses 12 + , zlib 7 13 }: 8 14 9 - buildPythonPackage rec { 10 - pname = "wasmer"; 11 - version = "1.0.0"; 15 + let 16 + common = 17 + { pname 18 + , buildAndTestSubdir 19 + , cargoHash 20 + , extraNativeBuildInputs ? [ ] 21 + , extraBuildInputs ? [ ] 22 + }: buildPythonPackage rec { 23 + inherit pname; 24 + version = "1.0.0"; 25 + format = "pyproject"; 12 26 13 - src = fetchFromGitHub { 14 - owner = "wasmerio"; 15 - repo = "wasmer-python"; 16 - rev = version; 17 - hash = "sha256-I1GfjLaPYMIHKh2m/5IQepUsJNiVUEJg49wyuuzUYtY="; 18 - }; 27 + outputs = [ "out" ] ++ lib.optional (pname == "wasmer") "testsout"; 19 28 20 - cargoDeps = rustPlatform.fetchCargoTarball { 21 - inherit src; 22 - name = "${pname}-${version}"; 23 - hash = "sha256-txOOia1C4W+nsXuXp4EytEn82CFfSmiOYwRLC4WPImc="; 24 - }; 29 + src = fetchFromGitHub { 30 + owner = "wasmerio"; 31 + repo = "wasmer-python"; 32 + rev = version; 33 + hash = "sha256-I1GfjLaPYMIHKh2m/5IQepUsJNiVUEJg49wyuuzUYtY="; 34 + }; 25 35 26 - format = "pyproject"; 36 + cargoDeps = rustPlatform.fetchCargoTarball { 37 + inherit src; 38 + name = "${pname}-${version}"; 39 + sha256 = cargoHash; 40 + }; 27 41 28 - nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; 42 + nativeBuildInputs = (with rustPlatform; [ cargoSetupHook maturinBuildHook ]) 43 + ++ extraNativeBuildInputs; 29 44 30 - buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; 45 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ] 46 + ++ extraBuildInputs; 31 47 32 - buildAndTestSubdir = "packages/api"; 48 + inherit buildAndTestSubdir; 33 49 34 - doCheck = false; 50 + postInstall = lib.optionalString (pname == "wasmer") '' 51 + mkdir $testsout 52 + cp -R tests $testsout/tests 53 + ''; 54 + 55 + # check in passthru.tests.pytest because all packages are required to run the tests 56 + doCheck = false; 57 + 58 + passthru.tests = lib.optionalAttrs (pname == "wasmer") { 59 + pytest = callPackage ./tests.nix { }; 60 + }; 61 + 62 + pythonImportsCheck = [ "${lib.replaceStrings ["-"] ["_"] pname}" ]; 63 + 64 + meta = with lib; { 65 + description = "Python extension to run WebAssembly binaries"; 66 + homepage = "https://github.com/wasmerio/wasmer-python"; 67 + license = licenses.mit; 68 + platforms = platforms.unix; 69 + maintainers = with maintainers; [ SuperSandro2000 ]; 70 + }; 71 + }; 72 + in 73 + rec { 74 + wasmer = common { 75 + pname = "wasmer"; 76 + buildAndTestSubdir = "packages/api"; 77 + cargoHash = "sha256-txOOia1C4W+nsXuXp4EytEn82CFfSmiOYwRLC4WPImc="; 78 + }; 35 79 36 - pythonImportsCheck = [ "wasmer" ]; 80 + wasmer-compiler-cranelift = common { 81 + pname = "wasmer-compiler-cranelift"; 82 + buildAndTestSubdir = "packages/compiler-cranelift"; 83 + cargoHash = "sha256-cHgAUwqnbQV3E5nUYGYQ48ntbIFfq4JXfU5IrSFZ3zI="; 84 + }; 85 + 86 + wasmer-compiler-llvm = common { 87 + pname = "wasmer-compiler-llvm"; 88 + buildAndTestSubdir = "packages/compiler-llvm"; 89 + cargoHash = "sha256-Jm22CC5S3pN/vdVvsGZdvtoAgPzWVLto8wavSJdxY3A="; 90 + extraNativeBuildInputs = [ llvm_11 ]; 91 + extraBuildInputs = [ libffi libxml2.out ncurses zlib ]; 92 + }; 37 93 38 - meta = with lib; { 39 - description = "Python extension to run WebAssembly binaries"; 40 - homepage = "https://github.com/wasmerio/wasmer-python"; 41 - license = licenses.mit; 42 - platforms = platforms.unix; 43 - maintainers = with maintainers; [ SuperSandro2000 ]; 94 + wasmer-compiler-singlepass = common { 95 + pname = "wasmer-compiler-singlepass"; 96 + buildAndTestSubdir = "packages/compiler-singlepass"; 97 + cargoHash = "sha256-lmqEo3+jYoN+4EEYphcoE4b84jdFcvYVycjrJ956Bh8="; 44 98 }; 45 99 }
+25
pkgs/development/python-modules/wasmer/tests.nix
··· 1 + { buildPythonPackage 2 + , wasmer 3 + , pytestCheckHook 4 + , wasmer-compiler-cranelift 5 + , wasmer-compiler-llvm 6 + , wasmer-compiler-singlepass 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "wasmer-tests"; 11 + inherit (wasmer) version; 12 + 13 + src = wasmer.testsout; 14 + 15 + dontBuild = true; 16 + dontInstall = true; 17 + 18 + checkInputs = [ 19 + pytestCheckHook 20 + wasmer 21 + wasmer-compiler-cranelift 22 + wasmer-compiler-llvm 23 + wasmer-compiler-singlepass 24 + ]; 25 + }
+2 -2
pkgs/development/python-modules/watchdog/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "watchdog"; 16 - version = "2.1.3"; 16 + version = "2.1.5"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-5SNqjoYCq220uHNmTC01bDZas8rJb73sSXCtYWQV3UU="; 20 + sha256 = "5563b005907613430ef3d4aaac9c78600dd5704e84764cb6deda4b3d72807f09"; 21 21 }; 22 22 23 23 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
+2 -2
pkgs/development/python-modules/webargs/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "webargs"; 7 - version = "8.0.0"; 7 + version = "8.0.1"; 8 8 disabled = isPy27; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "0xy6na8axc5wnp2wg3kvqbpl2iv0hx0rsnlrmrgkgp88znx6cmjn"; 12 + sha256 = "bcce022250ee97cfbb0ad07b02388ac90a226ef4b479ec84317152345a565614"; 13 13 }; 14 14 15 15 pythonImportsCheck = [
+4 -3
pkgs/development/python-modules/werkzeug/default.nix
··· 8 8 , pytest-timeout 9 9 , pytest-xprocess 10 10 , pytestCheckHook 11 - }: 11 + }: 12 12 13 13 buildPythonPackage rec { 14 - pname = "Werkzeug"; 14 + pname = "werkzeug"; 15 15 version = "2.0.1"; 16 16 disabled = pythonOlder "3.6"; 17 17 18 18 src = fetchPypi { 19 - inherit pname version; 19 + pname = "Werkzeug"; 20 + inherit version; 20 21 sha256 = "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"; 21 22 }; 22 23
+2 -2
pkgs/development/python-modules/xarray/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "xarray"; 14 - version = "0.18.2"; 14 + version = "0.19.0"; 15 15 disabled = !isPy3k; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "5d2e72a228286fcf60f66e16876bd27629a1a70bf64822c565f16515c4d10284"; 19 + sha256 = "3a365ce09127fc841ba88baa63f37ca61376ffe389a6c5e66d52f2c88c23a62b"; 20 20 }; 21 21 22 22 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/xml2rfc/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "xml2rfc"; 7 - version = "3.8.0"; 7 + version = "3.9.1"; 8 8 disabled = pythonAtLeast "3.9"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "8e25a9d73acf57ade798fc67841277dbbdb81ced390e6f84362370305b127426"; 12 + sha256 = "76cee167e81fc3cc0e0cc696fe58cadd039e19a774c8f4d2e5c0fea724c7aaca"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [
+1 -2
pkgs/development/python-modules/xmlsec/default.nix
··· 9 9 , xmlsec 10 10 , pkgconfig 11 11 , setuptools-scm 12 - , toml 13 12 , lxml 14 13 , hypothesis 15 14 }: ··· 28 27 ./reset-lxml-in-tests.patch 29 28 ]; 30 29 31 - nativeBuildInputs = [ pkg-config pkgconfig setuptools-scm toml ]; 30 + nativeBuildInputs = [ pkg-config pkgconfig setuptools-scm ]; 32 31 33 32 buildInputs = [ xmlsec libxslt libxml2 libtool ]; 34 33
+2 -2
pkgs/development/python-modules/yamlloader/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "yamlloader"; 7 - version = "1.0.0"; 7 + version = "1.1.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "e96dc3dc6895d814c330c054c966d993fc81ef1dbf5a30a4bdafeb256359e058"; 11 + sha256 = "8a297c7a197683ba02e5e2b882ffd6c6180d01bdefb534b69cd3962df020bfe6"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/yt/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "yt"; 18 - version = "3.6.1"; 18 + version = "4.0.1"; 19 19 disabled = isPy3k; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "be454f9d05dcbe0623328b4df43a1bfd1f0925e516be97399710452931a19bb0"; 23 + sha256 = "6219cbf971871320a13679a57722c0363e50db5e6d4d64ea9d197461b2a7f70f"; 24 24 }; 25 25 26 26 buildInputs = [
+2 -2
pkgs/development/python-modules/ytmusicapi/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "ytmusicapi"; 10 - version = "0.18.0"; 10 + version = "0.19.1"; 11 11 12 12 disabled = isPy27; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-RH0ballPSZQvesdUEsulnBkbbzVA2YrGWhMzRFvuwW0="; 16 + sha256 = "1b8a050e2208b3d05359106d8c44c3d62e60edf6753529bd8a207788a6caeb95"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/zarr/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "zarr"; 15 - version = "2.9.1"; 15 + version = "2.9.4"; 16 16 disabled = isPy27; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "688afec069e0f85b87c1ef4572766f998309c64ab7bea1884cec60e92d109544"; 20 + sha256 = "5544c47bc2a35f8e8af58bee92378518018b484ba550e997759d18f40fa75719"; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+7 -12
pkgs/development/python-modules/zconfig/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchPypi 3 - , fetchpatch 4 4 , buildPythonPackage 5 5 , zope_testrunner 6 6 , manuel 7 7 , docutils 8 - , pythonAtLeast 8 + , pygments 9 9 }: 10 10 11 11 buildPythonPackage rec { 12 12 pname = "ZConfig"; 13 - version = "3.5.0"; 13 + version = "3.6.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550"; 17 + sha256 = "sha256-oo6VoK4zV5V0fsytNbLLcI831Ex/Ml4qyyAemDMLFuU="; 18 18 }; 19 19 20 - patches = [ 21 - # fixes 3.8+ logger validation issues, has been merged into master, remove next bump 22 - (fetchpatch { 23 - url = "https://github.com/zopefoundation/ZConfig/commit/f0c2990d35ac3c924ecc8be4a5c71c8e4abbd0e5.patch"; 24 - sha256 = "1bjg3wrvii0rwzf3s0vlpzgg2ckj0h2zxkyxwjcr64s4k2vaq9ij"; 25 - }) 26 - ] ++ lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 20 + patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 27 21 28 22 buildInputs = [ manuel docutils ]; 29 23 propagatedBuildInputs = [ zope_testrunner ]; 24 + checkInputs = [ pygments ]; 30 25 31 26 meta = with lib; { 32 27 description = "Structured Configuration Library";
+10 -3
pkgs/development/python-modules/zigpy-xbee/default.nix
··· 7 7 , pytest-asyncio 8 8 , pytestCheckHook 9 9 , pythonOlder 10 - , zigpy }: 10 + , zigpy 11 + }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "zigpy-xbee"; 14 - version = "0.13.0"; 15 + version = "0.14.0"; 15 16 # https://github.com/Martiusweb/asynctest/issues/152 16 17 # broken by upstream python bug with asynctest and 17 18 # is used exclusively by home-assistant with python 3.8 ··· 21 22 owner = "zigpy"; 22 23 repo = "zigpy-xbee"; 23 24 rev = version; 24 - sha256 = "Krdqb9bYKwUC2cdNppB2+tLwWjzmzIHhXnQ1KRduofU="; 25 + sha256 = "sha256-veAkaBHPYgVd3iwvnH/A2upYX4T/qXXNRcaysbRQvNI="; 25 26 }; 26 27 27 28 buildInputs = [ ··· 34 35 asynctest 35 36 pytest-asyncio 36 37 pytestCheckHook 38 + ]; 39 + 40 + disabledTests = [ 41 + # assertion failure 42 + # E assert ff:ff:ff:ff:ff:ff:ff:ff is None 43 + "test_startup_api_mode_config_fails" 37 44 ]; 38 45 39 46 meta = with lib; {
+2 -2
pkgs/development/python-modules/zigpy-znp/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "zigpy-znp"; 21 - version = "0.5.3"; 21 + version = "0.5.4"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "zigpy"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "sha256-nnA/gVXBpCZFkspcO6kF3ZkEDu0vV0d9p1WNGVrN0u8="; 27 + sha256 = "0jki9qmjazh0by02c0w17dyaz0nl3gzjiy064mj6pi502d175831"; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/zigpy/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "zigpy"; 18 - version = "0.36.1"; 18 + version = "0.37.1"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "zigpy"; 22 22 repo = "zigpy"; 23 23 rev = version; 24 - sha256 = "0rfif8ds6m9ndxnc0f02fivc2pwidf476ylyx9y2b1sa2qz36z5w"; 24 + sha256 = "sha256-tDpu6tv8qwIPB3G5GKURtDi6QOYxF5jEVbzmJ2Px5W4="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+4 -12
pkgs/development/python-modules/zipp/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , setuptools-scm 5 - , pytest 6 - , pytest-flake8 7 5 , more-itertools 8 - , toml 9 6 }: 10 7 11 8 buildPythonPackage rec { 12 9 pname = "zipp"; 13 - version = "3.4.1"; 10 + version = "3.5.0"; 14 11 15 12 src = fetchPypi { 16 13 inherit pname version; 17 - sha256 = "3607921face881ba3e026887d8150cca609d517579abe052ac81fc5aeffdbd76"; 14 + sha256 = "f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4"; 18 15 }; 19 16 20 - nativeBuildInputs = [ setuptools-scm toml ]; 17 + nativeBuildInputs = [ setuptools-scm ]; 21 18 22 19 propagatedBuildInputs = [ more-itertools ]; 23 - 24 - checkInputs = [ pytest pytest-flake8 ]; 25 - 26 - checkPhase = '' 27 - pytest 28 - ''; 29 20 30 21 # Prevent infinite recursion with pytest 31 22 doCheck = false; ··· 34 25 description = "Pathlib-compatible object wrapper for zip files"; 35 26 homepage = "https://github.com/jaraco/zipp"; 36 27 license = licenses.mit; 28 + maintainers = with maintainers; [ ]; 37 29 }; 38 30 }
+33 -37
pkgs/development/python-modules/zodb/default.nix
··· 2 2 , fetchPypi 3 3 , buildPythonPackage 4 4 , python 5 - , pythonAtLeast 6 5 , zope_testrunner 7 6 , transaction 8 7 , six ··· 16 15 }: 17 16 18 17 buildPythonPackage rec { 19 - pname = "ZODB"; 20 - version = "5.6.0"; 18 + pname = "ZODB"; 19 + version = "5.6.0"; 21 20 22 - src = fetchPypi { 23 - inherit pname version; 24 - sha256 = "1zh7rd182l15swkbkm3ib0wgyn16xasdz2mzry8k4lwk6dagnm26"; 25 - }; 21 + src = fetchPypi { 22 + inherit pname version; 23 + sha256 = "1zh7rd182l15swkbkm3ib0wgyn16xasdz2mzry8k4lwk6dagnm26"; 24 + }; 26 25 27 - # remove broken test 28 - postPatch = '' 29 - rm -vf src/ZODB/tests/testdocumentation.py 30 - ''; 26 + # remove broken test 27 + postPatch = '' 28 + rm -vf src/ZODB/tests/testdocumentation.py 29 + ''; 31 30 32 - # ZConfig 3.5.0 is not compatible with Python 3.8 33 - disabled = pythonAtLeast "3.8"; 34 - 35 - propagatedBuildInputs = [ 36 - transaction 37 - six 38 - zope_interface 39 - zodbpickle 40 - zconfig 41 - persistent 42 - zc_lockfile 43 - BTrees 44 - ]; 31 + propagatedBuildInputs = [ 32 + transaction 33 + six 34 + zope_interface 35 + zodbpickle 36 + zconfig 37 + persistent 38 + zc_lockfile 39 + BTrees 40 + ]; 45 41 46 - checkInputs = [ 47 - manuel 48 - zope_testrunner 49 - ]; 42 + checkInputs = [ 43 + manuel 44 + zope_testrunner 45 + ]; 50 46 51 - checkPhase = '' 52 - ${python.interpreter} -m zope.testrunner --test-path=src [] 53 - ''; 47 + checkPhase = '' 48 + ${python.interpreter} -m zope.testrunner --test-path=src [] 49 + ''; 54 50 55 - meta = with lib; { 56 - description = "Zope Object Database: object database and persistence"; 57 - homepage = "https://pypi.python.org/pypi/ZODB"; 58 - license = licenses.zpl21; 59 - maintainers = with maintainers; [ goibhniu ]; 60 - }; 51 + meta = with lib; { 52 + description = "Zope Object Database: object database and persistence"; 53 + homepage = "https://pypi.python.org/pypi/ZODB"; 54 + license = licenses.zpl21; 55 + maintainers = with maintainers; [ goibhniu ]; 56 + }; 61 57 }
+2 -2
pkgs/development/python-modules/zope_component/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "zope.component"; 15 - version = "5.0.0"; 15 + version = "5.0.1"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "df541a0501c79123f9ac30c6686a9e45c2690c5c3ae4f2b7f4c6fd1a3aaaf614"; 19 + sha256 = "32cbe426ba8fa7b62ce5b211f80f0718a0c749cc7ff09e3f4b43a57f7ccdf5e5"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/zope_proxy/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "zope.proxy"; 9 - version = "4.3.5"; 9 + version = "4.4.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "a66a0d94e5b081d5d695e66d6667e91e74d79e273eee95c1747717ba9cb70792"; 13 + sha256 = "b244904c5148067c3f1899d29a2c1a28faca747b143192c0f825e6bf3170a347"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ zope_interface ];
+3 -3
pkgs/development/tools/rust/maturin/default.nix
··· 11 11 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "maturin"; 14 - version = "0.10.6"; 14 + version = "0.11.3"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "PyO3"; 18 18 repo = "maturin"; 19 19 rev = "v${version}"; 20 - hash = "sha256-qWDrdS1zxe5woQSKLHhDSGJ1KF4SHk1mhaQApJXCCO4="; 20 + hash = "sha256-jWkrjFQg0EqM+e/IT2n2E4lGL2kT/Wz7r5BLlzvWSO0="; 21 21 }; 22 22 23 - cargoHash = "sha256-NEXgb7yWQkqbbofd3oYQ5n+CmfaM2cWj8HwufrcRKkc="; 23 + cargoHash = "sha256-+kXwMGeE2HD59EU0Dzvg8I6LcHiPV7SKSFqnCTfkKwY="; 24 24 25 25 nativeBuildInputs = [ pkg-config ]; 26 26
+2 -3
pkgs/misc/pylode/default.nix
··· 5 5 6 6 python3Packages.buildPythonApplication rec { 7 7 pname = "pyLODE"; 8 - version = "2.8.6"; 8 + version = "2.12.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "RDFLib"; 12 12 repo = pname; 13 13 rev = version; 14 - sha256 = "0zbk5lj9vlg32rmvw1himlw63kxd7sim7nzglrjs5zm6vpi4x5ch"; 14 + sha256 = "sha256-X/YiJduAJNiceIrlCFwD2PFiMn3HVlzr9NzyDvYcql8="; 15 15 }; 16 16 17 17 propagatedBuildInputs = with python3Packages; [ ··· 22 22 jinja2 23 23 markdown 24 24 rdflib 25 - rdflib-jsonld 26 25 requests 27 26 six 28 27 beautifulsoup4
+3 -3
pkgs/servers/calibre-web/default.nix
··· 18 18 19 19 prePatch = '' 20 20 substituteInPlace setup.cfg \ 21 - --replace "requests>=2.11.1,<2.25.0" "requests>=2.11.1,<2.26.0" \ 22 - --replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \ 23 - --replace "PyPDF3>=1.0.0,<1.0.4" "PyPDF3>=1.0.0" 21 + --replace "requests>=2.11.1,<2.25.0" "requests" \ 22 + --replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \ 23 + --replace "PyPDF3>=1.0.0,<1.0.4" "PyPDF3>=1.0.0" 24 24 ''; 25 25 26 26 patches = [
+2
pkgs/servers/home-assistant/default.nix
··· 172 172 --replace "awesomeversion==21.4.0" "awesomeversion" \ 173 173 --replace "bcrypt==3.1.7" "bcrypt" \ 174 174 --replace "cryptography==3.3.2" "cryptography" \ 175 + --replace "httpx==0.18.2" "httpx>=0.18.2" \ 175 176 --replace "pip>=8.0.3,<20.3" "pip" \ 177 + --replace "requests==2.25.1" "requests>=2.25.1" \ 176 178 --replace "ruamel.yaml==0.15.100" "ruamel.yaml" 177 179 substituteInPlace tests/test_config.py --replace '"/usr"' '"/build/media"' 178 180 '';
+2 -2
pkgs/tools/admin/awscli/default.nix
··· 21 21 in 22 22 with py.pkgs; buildPythonApplication rec { 23 23 pname = "awscli"; 24 - version = "1.19.97"; # N.B: if you change this, change botocore and boto3 to a matching version too 24 + version = "1.19.106"; # N.B: if you change this, change botocore and boto3 to a matching version too 25 25 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "sha256-kecuyQMk4GWH9G0/f4Gi/hWtW4Zme9Q4i7XclcZTlNc="; 28 + sha256 = "sha256-6o24GUcT3efgK5+Wa7n4+EeA5qXmAGhybzed7ybdT9Q="; 29 29 }; 30 30 31 31 # https://github.com/aws/aws-cli/issues/4837
+6 -2
pkgs/tools/admin/azure-cli/python-packages.nix
··· 87 87 postPatch = '' 88 88 substituteInPlace setup.py \ 89 89 --replace "azure-mgmt-core>=1.2.0,<1.3.0" "azure-mgmt-core~=1.2" \ 90 + --replace "requests~=2.25.1" "requests~=2.25" \ 90 91 --replace "cryptography>=3.2,<3.4" "cryptography" 91 92 ''; 92 93 ··· 98 99 PYTHONPATH=$PWD:$PYTHONPATH HOME=$TMPDIR pytest \ 99 100 --ignore=azure/cli/core/tests/test_profile.py \ 100 101 --ignore=azure/cli/core/tests/test_generic_update.py \ 101 - -k 'not metadata_url' 102 + -k 'not metadata_url and not test_send_raw_requests' 102 103 ''; 103 104 104 105 pythonImportsCheck = [ ··· 157 158 "sha256-39msNYlZeZdn8cJ4LjZw9oxzy0YrNSPVEIN21wnkMKs="; 158 159 159 160 azure-mgmt-recoveryservices = overrideAzureMgmtPackage super.azure-mgmt-recoveryservices "1.0.0" "zip" 160 - "0v0ycyjnnx09jqf958hj2q6zfpsn80bxxm98jf59y8rj09v99rza"; 161 + "sha256-q4cQjA1c4n2AWDtL+tlmrQcEncvA6awoxkqmu9rmTiI="; 161 162 162 163 azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "0.12.0" "zip" 163 164 "sha256-mrw1Gs3LMOPFiL5mSSrm+g1/dxihplA6ItYHbwljJbM="; ··· 200 201 201 202 azure-mgmt-iothub = overrideAzureMgmtPackage super.azure-mgmt-iothub "2.0.0" "zip" 202 203 "653a765f0beb6af0c9ecbd290b4101e1b5e0f6450405faf28ab8234c15d8b38b"; 204 + 205 + azure-mgmt-iothubprovisioningservices = overrideAzureMgmtPackage super.azure-mgmt-iothubprovisioningservices "0.2.0" "zip" 206 + "sha256-jDes/Rwzq6hF8uAwLvcmbK0xy6UDzJkKSGhGWay3uR0="; 203 207 204 208 azure-mgmt-iotcentral = overrideAzureMgmtPackage super.azure-mgmt-iotcentral "4.1.0" "zip" 205 209 "e6d4810f454c0d63a5e816eaa7e54a073a3f70b2256162ff1c234cfe91783ae6";
+2
pkgs/tools/security/wapiti/default.nix
··· 104 104 # Requires a PHP installation 105 105 "test_timesql" 106 106 "test_cookies" 107 + # E TypeError: Expected bytes or bytes-like object got: <class 'str'> 108 + "test_persister_upload" 107 109 ]; 108 110 109 111 pythonImportsCheck = [ "wapitiCore" ];
+3 -9
pkgs/top-level/all-packages.nix
··· 3598 3598 3599 3599 bud = callPackage ../tools/networking/bud { }; 3600 3600 3601 - bump2version = python37Packages.callPackage ../applications/version-management/git-and-tools/bump2version { }; 3601 + bump2version = python3Packages.callPackage ../applications/version-management/git-and-tools/bump2version { }; 3602 3602 3603 3603 bumpver = callPackage ../applications/version-management/bumpver { }; 3604 3604 ··· 14739 14739 14740 14740 vultr-cli = callPackage ../development/tools/vultr-cli { }; 14741 14741 14742 - vulnix = callPackage ../tools/security/vulnix { 14743 - python3Packages = python37Packages; 14744 - }; 14742 + vulnix = callPackage ../tools/security/vulnix { }; 14745 14743 14746 14744 vtable-dumper = callPackage ../development/tools/misc/vtable-dumper { }; 14747 14745 ··· 25272 25270 25273 25271 kubetail = callPackage ../applications/networking/cluster/kubetail { } ; 25274 25272 25275 - kupfer = callPackage ../applications/misc/kupfer { 25276 - # using python36 as there appears to be a waf issue with python37 25277 - # see https://github.com/NixOS/nixpkgs/issues/60498 25278 - python3Packages = python36Packages; 25279 - }; 25273 + kupfer = callPackage ../applications/misc/kupfer { }; 25280 25274 25281 25275 kvirc = libsForQt514.callPackage ../applications/networking/irc/kvirc { }; 25282 25276
-1
pkgs/top-level/python-aliases.nix
··· 33 33 ### Deprecated aliases - for backward compatibility 34 34 35 35 mapAliases ({ 36 - backports-entry-points-selectable = throw "backports-entry-points-selectable has been removed"; # added 2021-07-01 37 36 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # Added 2020-11-29 38 37 bt_proximity = bt-proximity; # added 2021-07-02 39 38 bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # Added 2019-11-27
+20 -15
pkgs/top-level/python-packages.nix
··· 565 565 566 566 asgiref = callPackage ../development/python-modules/asgiref { }; 567 567 568 + asn1 = callPackage ../development/python-modules/asn1 { }; 569 + 568 570 asn1ate = callPackage ../development/python-modules/asn1ate { }; 569 571 570 572 asn1crypto = callPackage ../development/python-modules/asn1crypto { }; ··· 623 625 624 626 async-timeout = callPackage ../development/python-modules/async_timeout { }; 625 627 626 - async-upnp-client = callPackage ../development/python-modules/async-upnp-client { 627 - pytestCheckHook = self.pytestCheckHook_6_1; 628 - }; 628 + async-upnp-client = callPackage ../development/python-modules/async-upnp-client { }; 629 629 630 630 asyncwhois = callPackage ../development/python-modules/asyncwhois { }; 631 631 ··· 978 978 backports_csv = callPackage ../development/python-modules/backports_csv { }; 979 979 980 980 backports-datetime-fromisoformat = callPackage ../development/python-modules/backports-datetime-fromisoformat { }; 981 + 982 + backports-entry-points-selectable = callPackage ../development/python-modules/backports-entry-points-selectable { }; 981 983 982 984 backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { }; 983 985 ··· 1856 1858 1857 1859 dateparser = callPackage ../development/python-modules/dateparser { }; 1858 1860 1861 + dateutils = callPackage ../development/python-modules/dateutils { }; 1862 + 1859 1863 datrie = callPackage ../development/python-modules/datrie { }; 1860 1864 1861 1865 dawg-python = callPackage ../development/python-modules/dawg-python { }; ··· 4254 4258 }; 4255 4259 4256 4260 llvmlite = callPackage ../development/python-modules/llvmlite { 4257 - llvm = pkgs.llvm_9; 4258 - }; # llvmlite always requires a specific version of llvm. 4261 + # llvmlite always requires a specific version of llvm. 4262 + llvm = pkgs.llvm_11; 4263 + }; 4259 4264 4260 4265 lmdb = callPackage ../development/python-modules/lmdb { 4261 4266 inherit (pkgs) lmdb; ··· 6866 6871 inherit version; 6867 6872 sha256 = "c0a7e94a8cdbc5422a51ccdad8e6f1024795939cc89159a0ae7f0b316ad3823e"; 6868 6873 }; 6874 + 6875 + postPatch = '' 6876 + substituteInPlace setup.cfg \ 6877 + --replace "pluggy>=0.12,<1.0" "pluggy>=0.12,<2.0" 6878 + ''; 6869 6879 }); 6870 6880 6871 6881 pytest-aiohttp = callPackage ../development/python-modules/pytest-aiohttp { }; ··· 8936 8946 8937 8947 trimesh = callPackage ../development/python-modules/trimesh { }; 8938 8948 8939 - trio = callPackage ../development/python-modules/trio { 8940 - pytestCheckHook = self.pytestCheckHook_6_1; 8941 - }; 8949 + trio = callPackage ../development/python-modules/trio { }; 8942 8950 8943 8951 trueskill = callPackage ../development/python-modules/trueskill { }; 8944 8952 ··· 9156 9164 9157 9165 urlgrabber = callPackage ../development/python-modules/urlgrabber { }; 9158 9166 9159 - urllib3 = callPackage ../development/python-modules/urllib3 { 9160 - pytestCheckHook = self.pytestCheckHook_6_1; 9161 - }; 9167 + urllib3 = callPackage ../development/python-modules/urllib3 { }; 9162 9168 9163 9169 urlpy = callPackage ../development/python-modules/urlpy { }; 9164 9170 ··· 9315 9321 9316 9322 wasm = callPackage ../development/python-modules/wasm { }; 9317 9323 9318 - wasmer = callPackage ../development/python-modules/wasmer { }; 9324 + wasmerPackages = pkgs.recurseIntoAttrs (callPackage ../development/python-modules/wasmer { }); 9325 + inherit (self.wasmerPackages) wasmer wasmer-compiler-cranelift wasmer-compiler-llvm wasmer-compiler-singlepass; 9319 9326 9320 9327 watchdog = callPackage ../development/python-modules/watchdog { 9321 9328 inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; ··· 9373 9380 9374 9381 webthing = callPackage ../development/python-modules/webthing { }; 9375 9382 9376 - werkzeug = callPackage ../development/python-modules/werkzeug { 9377 - pytestCheckHook = self.pytestCheckHook_6_1; 9378 - }; 9383 + werkzeug = callPackage ../development/python-modules/werkzeug { }; 9379 9384 9380 9385 west = callPackage ../development/python-modules/west { }; 9381 9386
+6
pkgs/top-level/python2-packages.nix
··· 70 70 71 71 construct = callPackage ../development/python-modules/construct/2.10.54.nix { }; 72 72 73 + contextlib2 = callPackage ../development/python-modules/contextlib2/0.nix { }; 74 + 73 75 convertdate = callPackage ../development/python-modules/convertdate/2.2.x.nix { }; 74 76 75 77 cryptography = callPackage ../development/python-modules/cryptography/3.3.nix { }; ··· 79 81 darcsver = callPackage ../development/python-modules/darcsver { }; 80 82 81 83 dateparser = callPackage ../development/python-modules/dateparser/0.x.nix { }; 84 + 85 + decorator = callPackage ../development/python-modules/decorator/4.nix { }; 82 86 83 87 deskcon = callPackage ../development/python-modules/deskcon { }; 84 88 ··· 392 396 }; 393 397 394 398 pip = callPackage ../development/python-modules/pip/20.nix { }; 399 + 400 + pluggy = callPackage ../development/python-modules/pluggy/0.nix { }; 395 401 396 402 postorius = disabled super.postorius; 397 403