Merge pull request #147426 from NixOS/python-unstable

Python unstable 2021-11-25

authored by

Jonathan Ringer and committed by
GitHub
35f45f9d 07b60f6d

+1883 -941
+3 -2
pkgs/applications/finance/odoo/default.nix
··· 56 56 libsass 57 57 lxml 58 58 markupsafe 59 + mock 59 60 num2words 60 61 ofxparse 61 62 passlib ··· 76 77 reportlab 77 78 requests 78 79 vobject 79 - werkzeug1 80 + werkzeug 80 81 xlrd 81 82 XlsxWriter 82 83 xlwt ··· 92 93 description = "Open Source ERP and CRM"; 93 94 homepage = "https://www.odoo.com/"; 94 95 license = licenses.lgpl3Only; 95 - maintainers = [ maintainers.mkg20001 ]; 96 + maintainers = with maintainers; [ mkg20001 ]; 96 97 }; 97 98 }
+1
pkgs/applications/science/electronics/flatcam/default.nix
··· 18 18 propagatedBuildInputs = with python3Packages; [ 19 19 matplotlib 20 20 numpy 21 + packaging 21 22 pyqt4 22 23 Rtree 23 24 scipy
+21 -5
pkgs/applications/video/corrscope/default.nix
··· 11 11 mkDerivationWith python3Packages.buildPythonApplication rec { 12 12 pname = "corrscope"; 13 13 version = "0.7.1"; 14 + format = "pyproject"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "corrscope"; ··· 18 19 rev = version; 19 20 sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m"; 20 21 }; 21 - 22 - format = "pyproject"; 23 22 24 23 patches = [ 25 24 # Remove when bumping past 0.7.1 ··· 30 29 }) 31 30 ]; 32 31 33 - nativeBuildInputs = [ wrapQtAppsHook ] ++ (with python3Packages; [ poetry-core ]); 32 + nativeBuildInputs = [ 33 + wrapQtAppsHook 34 + ] ++ (with python3Packages; [ 35 + poetry-core 36 + ]); 34 37 35 - buildInputs = [ ffmpeg qtbase ]; 38 + buildInputs = [ 39 + ffmpeg 40 + qtbase 41 + ]; 36 42 37 - propagatedBuildInputs = with python3Packages; [ appdirs atomicwrites attrs click matplotlib numpy pyqt5 ruamel-yaml ]; 43 + propagatedBuildInputs = with python3Packages; [ 44 + appdirs 45 + atomicwrites 46 + attrs 47 + click 48 + matplotlib 49 + numpy 50 + packaging 51 + pyqt5 52 + ruamel-yaml 53 + ]; 38 54 39 55 dontWrapQtApps = true; 40 56
+2 -2
pkgs/development/python-modules/Mako/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "Mako"; 12 - version = "1.1.5"; 12 + version = "1.1.6"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3"; 16 + sha256 = "4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ markupsafe ];
+2 -2
pkgs/development/python-modules/Markups/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "Markups"; 13 - version = "3.1.2"; 13 + version = "3.1.3"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "2954d53656d9ec84f2f6c077e91a1de534e05647f20d327757283bbb5a857770"; 17 + sha256 = "ab9747a72c1c6457418eb4276c79871977c13a654618e4f12e2a1f0990fbf2fc"; 18 18 }; 19 19 20 20 checkInputs = [ markdown docutils pygments pyyaml ];
+2 -2
pkgs/development/python-modules/absl-py/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "absl-py"; 11 - version = "0.14.1"; 11 + version = "0.15.0"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "eb0383bd431c0d7b2320179904cab00120a10977e3c9671d99efbbed17efb55a"; 15 + sha256 = "72d782fbeafba66ba3e525d46bccac949b9a174dbf66233e50ece09ee688dc81"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+17 -6
pkgs/development/python-modules/adjusttext/default.nix
··· 1 - { buildPythonPackage 2 - , numpy 3 - , matplotlib 1 + { lib 2 + , buildPythonPackage 4 3 , fetchFromGitHub 5 - , lib 4 + , matplotlib 5 + , numpy 6 + , packaging 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "adjusttext"; 10 11 version = "0.7.3"; 12 + format = "setuptools"; 11 13 12 14 src = fetchFromGitHub { 13 15 owner = "Phlya"; ··· 16 18 sha256 = "02apaznnnmwmrn342f22dj5dldn56gdl9v5qix07ah6kgp9503yw"; 17 19 }; 18 20 19 - propagatedBuildInputs = [ matplotlib numpy ]; 21 + nativeBuildInputs = [ 22 + packaging 23 + ]; 24 + 25 + propagatedBuildInputs = [ 26 + matplotlib 27 + numpy 28 + ]; 20 29 21 30 # Project has no tests 22 31 doCheck = false; 23 32 24 - pythonImportsCheck = [ "adjustText" ]; 33 + pythonImportsCheck = [ 34 + "adjustText" 35 + ]; 25 36 26 37 meta = with lib; { 27 38 description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";
+2 -2
pkgs/development/python-modules/aiocron/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "aiocron"; 12 - version = "1.7"; 12 + version = "1.8"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-rX07m9iIl5NP/RiTf/I1q5+wE1goD9QOAUYf1fdjSL0="; 16 + sha256 = "48546513faf2eb7901e65a64eba7b653c80106ed00ed9ca3419c3d10b6555a01"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+5 -3
pkgs/development/python-modules/aiofiles/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "aiofiles"; 13 - version = "0.7.0"; 13 + version = "0.8.0"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.6"; ··· 19 19 owner = "Tinche"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "0vvk9j8cfdqvq8hw2qc6ajfzsy8x1afabf83mxafffq92rwknd4y"; 22 + sha256 = "sha256-V7F+xalFGMgTgT30Gmd9FVV3cPndI/i9cB5vEuW/KVc="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ ··· 35 35 "test_sendfile_file" 36 36 ]; 37 37 38 - pythonImportsCheck = [ "aiofiles" ]; 38 + pythonImportsCheck = [ 39 + "aiofiles" 40 + ]; 39 41 40 42 meta = { 41 43 description = "File support for asyncio";
+1
pkgs/development/python-modules/aiohttp-wsgi/default.nix
··· 28 28 29 29 disabledTests = [ 30 30 # makes http request to another server 31 + # https://github.com/etianen/aiohttp-wsgi/issues/32 31 32 "testEnviron" 32 33 ]; 33 34
+2 -2
pkgs/development/python-modules/aiohttp/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "aiohttp"; 32 - version = "3.8.0"; 32 + version = "3.8.1"; 33 33 disabled = pythonOlder "3.6"; 34 34 35 35 src = fetchPypi { 36 36 inherit pname version; 37 - sha256 = "sha256-07GdjRg7z9aLJb7rq43DMIKC/iyj1uo8tM0QGzwnn40="; 37 + sha256 = "fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578"; 38 38 }; 39 39 40 40 postPatch = ''
+17 -4
pkgs/development/python-modules/aiopvapi/default.nix
··· 2 2 , aiohttp 3 3 , async-timeout 4 4 , buildPythonPackage 5 + , fetchFromGitHub 5 6 , fetchPypi 7 + , fetchpatch 6 8 , pytestCheckHook 7 9 , pythonOlder 8 10 }: 9 11 10 12 buildPythonPackage rec { 11 13 pname = "aiopvapi"; 12 - version = "1.6.14"; 14 + version = "unstable-2021-09-27"; 13 15 format = "setuptools"; 14 16 15 17 disabled = pythonOlder "3.5"; 16 18 17 - src = fetchPypi { 18 - inherit pname version; 19 - sha256 = "02bl7q166j6rb8av9n1jz11xlwhrzmbkjq70mwr86qaj63pcxrak"; 19 + src = fetchFromGitHub { 20 + owner = "sander76"; 21 + repo = "aio-powerview-api"; 22 + rev = "7b362e28a8ec8c9a53905879d8b519e03fd88e13"; 23 + sha256 = "sha256-7bZLCv9PEJr61vimw39m89w/rha3tQWM8TWMtfd8kjQ="; 20 24 }; 25 + 26 + patches = [ 27 + (fetchpatch { 28 + # Drop loop= kwarg from async_timeout and ClientSession calls 29 + # https://github.com/sander76/aio-powerview-api/pull/13 30 + url = "https://github.com/sander76/aio-powerview-api/commit/7be67268050fbbf7652ce5a020d2ff26f34d0b27.patch"; 31 + sha256 = "sha256-7QPwrMP1Sbrayg63YZJcRkVDAqcm6hqh0fuJdrUk5WY="; 32 + }) 33 + ]; 21 34 22 35 propagatedBuildInputs = [ 23 36 aiohttp
+2 -2
pkgs/development/python-modules/amazon_kclpy/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "amazon_kclpy"; 5 - version = "2.0.2"; 5 + version = "2.0.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "awslabs"; 9 9 repo = "amazon-kinesis-client-python"; 10 10 rev = "v${version}"; 11 - sha256 = "12yxcwml6g86sv1pj3wc2k97md9szdj6xx07qwri1mr9bdkzw7rv"; 11 + sha256 = "0gbpwhpd9i13vi0cch48qqrma90p230psqrkbfcjvdah69w434l4"; 12 12 }; 13 13 14 14 # argparse is just required for python2.6
+7 -4
pkgs/development/python-modules/androguard/default.nix
··· 11 11 , click 12 12 , pydot 13 13 , ipython 14 + , packaging 14 15 , pyqt5 15 16 , pyperclip 16 17 , nose ··· 39 40 sha256 = "1aparxiq11y0hbvkayp92w684nyxyyx7mi0n1x6x51g5z6c58vmy"; 40 41 }; 41 42 43 + nativeBuildInputs = [ 44 + packaging 45 + ] ++ lib.optionals withGui [ 46 + qt5.wrapQtAppsHook 47 + ]; 48 + 42 49 propagatedBuildInputs = [ 43 50 asn1crypto 44 51 click ··· 66 73 python_magic 67 74 ]; 68 75 inherit doCheck; 69 - 70 - nativeBuildInputs = lib.optionals withGui [ 71 - qt5.wrapQtAppsHook 72 - ]; 73 76 74 77 # If it won't be verbose, you'll see nothing going on for a long time. 75 78 checkPhase = ''
+2 -2
pkgs/development/python-modules/ansible-runner/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "ansible-runner"; 21 - version = "2.0.3"; 21 + version = "2.1.1"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "15j0ljgw1rjxq4xiywxxxnxj4r6vwk8dwljkdsjmq3qmwgifcswg"; 25 + sha256 = "7684612f7543c5f07f3e8135667eeb22a9dbd98f625cc69901ba9924329ef24f"; 26 26 }; 27 27 28 28 checkInputs = [
+35 -4
pkgs/development/python-modules/apsw/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, sqlite, isPyPy }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , sqlite 5 + , isPyPy 6 + , pytestCheckHook 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "apsw"; 5 - version = "3.33.0-r1"; 11 + version = "3.36.0-r1"; 12 + format = "setuptools"; 6 13 7 14 disabled = isPyPy; 8 15 ··· 10 17 owner = "rogerbinns"; 11 18 repo = "apsw"; 12 19 rev = version; 13 - sha256 = "05mxcw1382xx22285fnv92xblqby3adfrvvalaw4dc6rzsn6kcan"; 20 + sha256 = "sha256-kQqJqDikvEC0+PNhQxSNTcjQc+RwvaOSGz9VL3FCetg="; 14 21 }; 15 22 16 - buildInputs = [ sqlite ]; 23 + buildInputs = [ 24 + sqlite 25 + ]; 26 + 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pytestFlagsArray = [ 32 + "tests.py" 33 + ]; 34 + 35 + disabledTests = [ 36 + "testCursor" 37 + "testLoadExtension" 38 + "testShell" 39 + "testVFS" 40 + "testVFSWithWAL" 41 + "testdb" 42 + ]; 43 + 44 + pythonImportsCheck = [ 45 + "apsw" 46 + ]; 17 47 18 48 meta = with lib; { 19 49 description = "A Python wrapper for the SQLite embedded relational database engine"; 20 50 homepage = "https://github.com/rogerbinns/apsw"; 21 51 license = licenses.zlib; 52 + maintainers = with maintainers; [ ]; 22 53 }; 23 54 }
+2 -2
pkgs/development/python-modules/arrow/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "arrow"; 15 - version = "1.2.0"; 15 + version = "1.2.1"; 16 16 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "16fc29bbd9e425e3eb0fef3018297910a0f4568f21116fc31771e2760a50e074"; 21 + sha256 = "c2dde3c382d9f7e6922ce636bf0b318a7a853df40ecb383b29192e6c5cc82840"; 22 22 }; 23 23 24 24 postPatch = ''
+2 -2
pkgs/development/python-modules/ase/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "ase"; 15 - version = "3.22.0"; 15 + version = "3.22.1"; 16 16 disabled = isPy27; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-5gJZx7UIZ7HLgXyvk4/MHtODcCQT320uGv5+oH9lrO4="; 20 + sha256 = "sha256-AE32sOoEsRFMeQ+t/kXUEl6w5TElxmqTQlr4U9gqtDI="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
+9 -14
pkgs/development/python-modules/astroid/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , pythonOlder 6 5 , isPyPy 7 6 , lazy-object-proxy ··· 15 14 16 15 buildPythonPackage rec { 17 16 pname = "astroid"; 18 - version = "2.8.2"; # Check whether the version is compatible with pylint 17 + version = "2.9.0"; # Check whether the version is compatible with pylint 19 18 20 - disabled = pythonOlder "3.6"; 19 + disabled = pythonOlder "3.6.2"; 21 20 22 21 src = fetchFromGitHub { 23 22 owner = "PyCQA"; 24 23 repo = pname; 25 24 rev = "v${version}"; 26 - sha256 = "0140h4l7licwdw0scnfzsbi5b2ncxi7fxhdab7c1i3sk01r4asp6"; 25 + sha256 = "sha256-sImWiWULZ1HS3JyQHfEhc4ZRZ6anOUTqZZGNIYj2MaY="; 27 26 }; 28 27 29 - SETUPTOOLS_SCM_PRETEND_VERSION=version; 30 - 31 - patches = [ 32 - (fetchpatch { 33 - # Allow wrapt 1.13 (https://github.com/PyCQA/astroid/pull/1203) 34 - url = "https://github.com/PyCQA/astroid/commit/fd510e08c2ee862cd284861e02b9bcc9a7fd9809.patch"; 35 - sha256 = "1s10whslcqnyz251fb76qkc9p41gagxljpljsmw89id1wywmjib4"; 36 - }) 37 - ]; 28 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 38 29 39 30 nativeBuildInputs = [ 40 31 setuptools-scm 41 32 ]; 42 33 43 - # From astroid/__pkginfo__.py 44 34 propagatedBuildInputs = [ 45 35 lazy-object-proxy 46 36 wrapt ··· 50 40 51 41 checkInputs = [ 52 42 pytestCheckHook 43 + ]; 44 + 45 + disabledTests = [ 46 + # assert (1, 1) == (1, 16) 47 + "test_end_lineno_string" 53 48 ]; 54 49 55 50 passthru.tests = {
+10 -1
pkgs/development/python-modules/async_stagger/default.nix
··· 10 10 buildPythonPackage rec { 11 11 pname = "async_stagger"; 12 12 version = "0.3.1"; 13 + format = "setuptools"; 14 + 13 15 disabled = pythonOlder "3.6"; 14 16 15 17 src = fetchPypi { ··· 23 25 pytest-mock 24 26 ]; 25 27 26 - pythonImportsCheck = [ "async_stagger" ]; 28 + disabledTests = [ 29 + # RuntimeError: Logic bug in... 30 + "test_stagger_coro_gen" 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "async_stagger" 35 + ]; 27 36 28 37 meta = with lib; { 29 38 description = "Happy Eyeballs connection algorithm and underlying scheduling logic in asyncio";
+2 -2
pkgs/development/python-modules/asyncio-nats-client/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "asyncio-nats-client"; 13 - version = "0.11.4"; 13 + version = "0.11.5"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "nats-io"; 18 18 repo = "nats.py"; 19 19 rev = "v${version}"; 20 - sha256 = "1aj57xi2rj1xswq8air13xdsll1ybpi0nmz5f6jq01azm0zy9xyd"; 20 + sha256 = "0zwiijaswmfdk71diqmdpb6nx54fmgi8hy0vwx2m3ihhsyjxj82h"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/asyncpg/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "asyncpg"; 6 - version = "0.24.0"; 6 + version = "0.25.0"; 7 7 disabled = !isPy3k; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "sha256-3S+gY8M0SCNIfZ3cy0CALwJiLd+L+KbMU4he56LBwMY="; 11 + sha256 = "63f8e6a69733b285497c2855464a34de657f2cccd25aeaeeb5071872e9382540"; 12 12 }; 13 13 14 14 checkInputs = [
+2 -2
pkgs/development/python-modules/atom/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "atom"; 5 - version = "0.6.0"; 5 + version = "0.7.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "df65a654744ccdc4843ce09c38612fd8f702c84be501b1d955c3ac0b9ad28dc5"; 9 + sha256 = "4055fbdeeb692d3d52c6e3c628d7513fc71f147920cac7d0da05b6dbb5ec8c8d"; 10 10 }; 11 11 12 12 buildInputs = [ cppy ];
+2 -2
pkgs/development/python-modules/authcaptureproxy/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "authcaptureproxy"; 18 - version = "1.0.2"; 18 + version = "1.1.1"; 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 = "1cg63qhf823nf785kyl96r7vyxfl6dlbwsmhcpny8vb65pl9gng5"; 25 + sha256 = "08zpaclg5f9g1pix0jaq42i2ph12xc8djjrmhxz0yygw5rsilgl4"; 26 26 }; 27 27 28 28 postPatch = ''
+2 -2
pkgs/development/python-modules/autopep8/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "autopep8"; 7 - version = "1.5.7"; 7 + version = "1.6.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "276ced7e9e3cb22e5d7c14748384a5cf5d9002257c0ed50c0e075b68011bb6d0"; 11 + sha256 = "44f0932855039d2c15c4510d6df665e4730f2b8582704fa48f9c55bd3e17d979"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ pycodestyle toml ];
+30 -16
pkgs/development/python-modules/avro/default.nix
··· 1 - { lib, buildPythonPackage, isPy3k, fetchPypi, pycodestyle, isort }: 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchPypi 5 + , typing-extensions 6 + , pytestCheckHook 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "avro"; 5 - version = "1.10.2"; 11 + version = "1.11.0"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.6"; 6 15 7 16 src = fetchPypi { 8 17 inherit pname version; 9 - sha256 = "381b990cc4c4444743c3297348ffd46e0c3a5d7a17e15b2f4a9042f6e955c31a"; 18 + sha256 = "1206365cc30ad561493f735329857dd078533459cee4e928aec2505f341ce445"; 10 19 }; 11 20 12 - patchPhase = '' 13 - # this test requires network access 14 - sed -i 's/test_server_with_path/noop/' avro/test/test_ipc.py 15 - '' + (lib.optionalString isPy3k '' 16 - # these files require twisted, which is not python3 compatible 17 - rm avro/txipc.py 18 - rm avro/test/txsample* 19 - ''); 21 + propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 22 + typing-extensions 23 + ]; 24 + 25 + checkInputs = [ 26 + pytestCheckHook 27 + ]; 28 + 29 + disabledTests = [ 30 + # Requires network access 31 + "test_server_with_path" 32 + ]; 20 33 21 - nativeBuildInputs = [ pycodestyle ]; 22 - propagatedBuildInputs = [ isort ]; 34 + pythonImportsCheck = [ 35 + "avro" 36 + ]; 23 37 24 38 meta = with lib; { 25 - description = "A serialization and RPC framework"; 26 - homepage = "https://pypi.python.org/pypi/avro/"; 39 + description = "Python serialization and RPC framework"; 40 + homepage = "https://github.com/apache/avro"; 27 41 license = licenses.asl20; 28 - maintainers = [ maintainers.zimbatm ]; 42 + maintainers = with maintainers; [ zimbatm ]; 29 43 }; 30 44 }
+2 -3
pkgs/development/python-modules/azure-keyvault/default.nix
··· 21 21 azure-keyvault-secrets 22 22 ]; 23 23 24 - # this is just a meta package, which contains keys and secrets 24 + # this is just a meta package, which contains keys and secrets packages 25 25 doCheck = false; 26 - 27 - pythonNamespaces = [ "azure" ]; 26 + doBuild = false; 28 27 29 28 pythonImportsCheck = [ 30 29 "azure.keyvault.keys"
+2 -2
pkgs/development/python-modules/bitstruct/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "bitstruct"; 5 - version = "8.11.1"; 5 + version = "8.12.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "4e7b8769c0f09fee403d0a5f637f8b575b191a79a92e140811aa109ce7461f0c"; 9 + sha256 = "45b2b932ce6681f5c6ce8cba39abdd423b579b0568c76fa48b1e09c88368ede7"; 10 10 }; 11 11 12 12 meta = with lib; {
+2 -2
pkgs/development/python-modules/bokeh/default.nix
··· 33 33 buildPythonPackage rec { 34 34 pname = "bokeh"; 35 35 # update together with panel which is not straightforward 36 - version = "2.3.3"; 36 + version = "2.4.2"; 37 37 38 38 src = fetchPypi { 39 39 inherit pname version; 40 - sha256 = "a5fdcc181835561447fcc5a371300973fce4114692d5853addec284d1cdeb677"; 40 + sha256 = "f0a4b53364ed3b7eb936c5cb1a4f4132369e394c7ae0a8ef420459410958033d"; 41 41 }; 42 42 43 43 patches = [
+2 -2
pkgs/development/python-modules/boto3/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "boto3"; 16 - version = "1.18.54"; # N.B: if you change this, change botocore and awscli to a matching version 16 + version = "1.20.13"; # 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 = "sha256-LYHcSEAgBZ/HOBZZhDBBB9TbHGd0tjENCMiSoXUfaYA="; 20 + sha256 = "bbf53a077d6a0575ddec8026f0475ca6ee6f41b227914bf315bf3e049a3d653a"; 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.21.54"; # N.B: if you change this, change boto3 and awscli to a matching version 16 + version = "1.23.14"; # 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 = "sha256-RhJ7OjhdDsc9GZS4lYsjt54GE+EsSGNxoQDfmStyobk="; 20 + sha256 = "sha256-6NUsvy5zxiaM8sIH9H48+z7eCYP5PotZZ0tUYo5+8fE="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/bpython/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "bpython"; 18 - version = "0.21"; 18 + version = "0.22.1"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "88aa9b89974f6a7726499a2608fa7ded216d84c69e78114ab2ef996a45709487"; 22 + sha256 = "1fb1e0a52332579fc4e3dcf75e21796af67aae2be460179ecfcce9530a49a200"; 23 23 }; 24 24 25 25 patches = [ (substituteAll {
+2 -2
pkgs/development/python-modules/braintree/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "braintree"; 9 - version = "4.13.0"; 9 + version = "4.13.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "de8270c24c4557bcb76d2079bb4cabf380ce467d17c65f10ee5159da7ff8496a"; 13 + sha256 = "4f6addf89f5cd6123243ddc89db325e50fceec825845901dad553fde115bd938"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ requests ];
+2 -2
pkgs/development/python-modules/buildout-nix/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "zc.buildout"; 5 - version = "2.13.4"; 5 + version = "2.13.6"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "b978b2f9317b317ee4191f78fcc4f05b1ac41bdaaae47f0956f14c8285feef63"; 9 + sha256 = "ac6edd48b1d7b1fba383dd0840fd49c53266f6bd426111a0195bcc640f4aff0f"; 10 10 }; 11 11 12 12 patches = [ ./nix.patch ];
+2 -2
pkgs/development/python-modules/bumps/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "bumps"; 5 - version = "0.8.0"; 5 + version = "0.8.1"; 6 6 7 7 propagatedBuildInputs = [six]; 8 8 ··· 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "9f92c05effd8175763799d19ca55592e89b053318f611148a6725159aea41d67"; 15 + sha256 = "f4f2ee712a1e468a2ce5c0a32f67739a83331f0cb7b9c50b9e7510daefc12169"; 16 16 }; 17 17 18 18 meta = with lib; {
+2 -2
pkgs/development/python-modules/bx-python/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "bx-python"; 6 - version = "0.8.11"; 6 + version = "0.8.12"; 7 7 disabled = isPy27; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "bxlab"; 11 11 repo = "bx-python"; 12 12 rev = "v${version}"; 13 - sha256 = "0cz5vgw19hmkcg689vr540q2gl2lb3xcf1lphm7zbfp8wmypcadm"; 13 + sha256 = "0mclahslz34vq9x424jmzsxk0nmpm1j716fa8h3zwr9ssvch7skc"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cython ];
+2 -2
pkgs/development/python-modules/castepxbin/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "castepxbin"; 12 - version = "0.1.0"; 12 + version = "0.2.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "zhubonan"; 16 16 repo = "castepxbin"; 17 17 rev = "v${version}"; 18 - sha256 = "16wnd1mwhl204d1s3har2fhyhyjg86sypg00bj812dxk8zixxszf"; 18 + sha256 = "0bqicpdyisbcz8argy4ppm59zzkcn9lcs4y1mh2f31f75x732na3"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/celery/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "celery"; 8 - version = "5.1.2"; 8 + version = "5.2.1"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "8d9a3de9162965e97f8e8cc584c67aad83b3f7a267584fa47701ed11c3e0d4b0"; 12 + sha256 = "b41a590b49caf8e6498a57db628e580d5f8dc6febda0f42de5d783aed5b7f808"; 13 13 }; 14 14 15 15 # click is only used for the repl, in most cases this shouldn't impact
+2 -2
pkgs/development/python-modules/cffi/default.nix
··· 4 4 5 5 if isPyPy then null else buildPythonPackage rec { 6 6 pname = "cffi"; 7 - version = "1.14.6"; 7 + version = "1.15.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd"; 11 + sha256 = "920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"; 12 12 }; 13 13 14 14 outputs = [ "out" "dev" ];
+7 -2
pkgs/development/python-modules/cfn-lint/default.nix
··· 5 5 , aws-sam-translator 6 6 , importlib-metadata 7 7 , importlib-resources 8 + , jschema-to-python 8 9 , jsonpatch 9 10 , jsonschema 10 11 , junit-xml ··· 12 13 , pathlib2 13 14 , pyyaml 14 15 , requests 16 + , sarif-om 15 17 , setuptools 16 18 , six 17 19 , mock ··· 21 23 22 24 buildPythonPackage rec { 23 25 pname = "cfn-lint"; 24 - version = "0.54.2"; 26 + version = "0.56.2"; 25 27 26 28 src = fetchFromGitHub { 27 29 owner = "aws-cloudformation"; 28 30 repo = "cfn-python-lint"; 29 31 rev = "v${version}"; 30 - sha256 = "04d5zyjnrl3b6cb2fxmbpii27mnq77wqsglfxfv2a1zj2p9xby0p"; 32 + sha256 = "0wpsj719r0p122qmi3nznzqnxqb0nx53isg9fma75894pvq2v5wc"; 31 33 }; 32 34 33 35 postPatch = '' ··· 37 39 38 40 propagatedBuildInputs = [ 39 41 aws-sam-translator 42 + jschema-to-python 40 43 jsonpatch 41 44 jsonschema 42 45 junit-xml ··· 44 47 pathlib2 45 48 pyyaml 46 49 requests 50 + sarif-om 47 51 setuptools 48 52 six 49 53 ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata importlib-resources ]; ··· 70 74 # Tests depend on network access (fails in getaddrinfo) 71 75 "test_update_resource_specs_python_2" 72 76 "test_update_resource_specs_python_3" 77 + "test_sarif_formatter" 73 78 ]; 74 79 75 80 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/charset-normalizer/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "charset-normalizer"; 9 - version = "2.0.5"; 9 + version = "2.0.8"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Ousret"; 13 13 repo = "charset_normalizer"; 14 14 rev = version; 15 - sha256 = "0pv6yf5ialc82iimsjbq3gp5hh02pg4a7sdma48gd81h4h8qd627"; 15 + sha256 = "sha256-+acnzdDcujnMa0FYlWaAX7Ga9APMRlvBLKoogIyY8YM="; 16 16 }; 17 17 18 18 checkInputs = [
+2 -2
pkgs/development/python-modules/chart-studio/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "chart-studio"; 13 - version = "5.3.1"; 13 + version = "5.4.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 = "11jazr5s2rmcxbkpb79gllwlyxvji3f0ryfrj7mkbyvfnfv43gly"; 20 + sha256 = "1ay9dlblxkx3pxqmizj2am9gf60j1pl6ir23yj7chg8dbafdbv8p"; 21 21 }; 22 22 23 23 sourceRoot = "source/packages/python/chart-studio";
+2 -2
pkgs/development/python-modules/cliff/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "cliff"; 16 - version = "3.9.0"; 16 + version = "3.10.0"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "95363e9b43e2ec9599e33b5aea27a6953beda2d0673557916fa4f5796857daa3"; 20 + sha256 = "c68aac08d0d25853234a38fdbf1f33503849af3d5d677a4d0aacd42b0be6a4a1"; 21 21 }; 22 22 23 23 postPatch = ''
+2 -2
pkgs/development/python-modules/cmd2/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "cmd2"; 21 - version = "2.2.0"; 21 + version = "2.3.2"; 22 22 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "34cd12424d9e2835eff125146af3d9f4a4c2931c6bc5a3cea9790bd4f55756d9"; 27 + sha256 = "cad18787a26147dad4b161d75c5ab7de16ffe91fef1cfad8e6f18b712746e800"; 28 28 }; 29 29 30 30 LC_ALL = "en_US.UTF-8";
+2 -2
pkgs/development/python-modules/cocotb/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "cocotb"; 15 - version = "1.5.2"; 15 + version = "1.6.0"; 16 16 17 17 # - we need to use the tarball from PyPi 18 18 # or the full git checkout (with .git) ··· 20 20 # because it does not include required metadata 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "9f4f3e6eb9caeb479e98d604770645b57469cd25b39e28df1916ffcd593efbe6"; 23 + sha256 = "a695544ab314e6d795b72ece9e67b51c6668c569b21303158e00452db43c5756"; 24 24 }; 25 25 26 26 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/cogapp/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cogapp"; 5 - version = "3.2.0"; 5 + version = "3.3.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "09a6e82a55af45f5e946d7002ed997869abf6f57d28fdc79f128132b5da18bf8"; 9 + sha256 = "1be95183f70282422d594fa42426be6923070a4bd8335621f6347f3aeee81db0"; 10 10 }; 11 11 12 12 # there are no tests
+2 -2
pkgs/development/python-modules/configparser/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "configparser"; 5 - version = "5.0.2"; 5 + version = "5.1.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "85d5de102cfe6d14a5172676f09d19c465ce63d6019cf0a4ef13385fc535e828"; 9 + sha256 = "202b9679a809b703720afa2eacaad4c6c2d63196070e5d9edc953c0489dfd536"; 10 10 }; 11 11 12 12 # No tests available
+2 -2
pkgs/development/python-modules/crccheck/default.nix
··· 3 3 4 4 let 5 5 pname = "crccheck"; 6 - version = "1.0"; 6 + version = "1.1"; 7 7 in buildPythonPackage { 8 8 inherit pname version; 9 9 ··· 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1ay9lgy80j7lklm07iw2wq7giwnv9fbv50mncblqlc39y322vi0p"; 14 + sha256 = "45962231cab62b82d05160553eebd9b60ef3ae79dc39527caef52e27f979fa96"; 15 15 }; 16 16 17 17 disabled = !isPy3k;
+2 -2
pkgs/development/python-modules/curtsies/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "curtsies"; 5 - version = "0.3.9"; 5 + version = "0.3.10"; 6 6 src = fetchPypi { 7 7 inherit pname version; 8 - sha256 = "933b503767ce38fe32a1f77639d9a4fa3d5229d41abb31a91a6fcbdf01511a55"; 8 + sha256 = "11efbb153d9cb22223dd9a44041ea0c313b8411e246e7f684aa843f6aa9c1600"; 9 9 }; 10 10 11 11 propagatedBuildInputs = [ blessings cwcwidth ]
+2 -2
pkgs/development/python-modules/cx_freeze/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cx_Freeze"; 5 - version = "6.8.1"; 5 + version = "6.8.3"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "3f16d3d40f7f2e1f6032132170d8fd4ba2f4f9ea419f13d7a68091bbe1949583"; 9 + sha256 = "05e7a2b099d4eb36e74116311b693dcc3103763aee92ef32079be0b6d4832fa0"; 10 10 }; 11 11 12 12 disabled = pythonOlder "3.5";
+2 -2
pkgs/development/python-modules/cx_oracle/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "cx_Oracle"; 5 - version = "8.2.1"; 5 + version = "8.3.0"; 6 6 7 7 buildInputs = [ odpic ]; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "12e7e913a7a10fd8caafb9855e6703a601b7dd5cc596fcd489d0ac9529608b6c"; 11 + sha256 = "3b2d215af4441463c97ea469b9cc307460739f89fdfa8ea222ea3518f1a424d9"; 12 12 }; 13 13 14 14 preConfigure = ''
+2 -2
pkgs/development/python-modules/cycler/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "cycler"; 12 - version = "0.10.0"; 12 + version = "0.11.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"; 16 + sha256 = "9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f"; 17 17 }; 18 18 19 19 checkInputs = [ coverage nose ];
+10 -6
pkgs/development/python-modules/cytoolz/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , isPyPy 5 - , nose 5 + , pytestCheckHook 6 6 , toolz 7 7 , python 8 8 , isPy27 ··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "cytoolz"; 13 - version = "0.11.0"; 13 + version = "0.11.2"; 14 14 disabled = isPy27 || isPyPy; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "c64f3590c3eb40e1548f0d3c6b2ccde70493d0b8dc6cc7f9f3fec0bb3dcd4222"; 18 + sha256 = "ea23663153806edddce7e4153d1d407d62357c05120a4e8485bddf1bd5ab22b4"; 19 19 }; 20 20 21 - checkInputs = [ nose ]; 22 21 propagatedBuildInputs = [ toolz ]; 23 22 24 - checkPhase = '' 25 - nosetests -v $out/${python.sitePackages} 23 + # tests are located in cytoolz/tests, however we can't import cytoolz 24 + # from $PWD, as it will break relative imports 25 + preCheck = '' 26 + cd cytoolz 27 + export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH 26 28 ''; 29 + 30 + checkInputs = [ pytestCheckHook ]; 27 31 28 32 meta = { 29 33 homepage = "https://github.com/pytoolz/cytoolz/";
+2 -2
pkgs/development/python-modules/dask-ml/default.nix
··· 17 17 }: 18 18 19 19 buildPythonPackage rec { 20 - version = "1.9.0"; 20 + version = "2021.11.30"; 21 21 pname = "dask-ml"; 22 22 disabled = pythonOlder "3.6"; # >= 3.6 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - sha256 = "2f376a7114133b484a6d393f62298473116fc49c79ec7d50d5b031d752f54307"; 26 + sha256 = "4f73306b5ee56e9b41b133697062d0028d30b1ece883ac6b56532fea5bd3e94a"; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/dask-mpi/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "2.21.0"; 10 + version = "2021.11.0"; 11 11 pname = "dask-mpi"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "76e153fc8c58047d898970b33ede0ab1990bd4e69cc130c6627a96f11b12a1a7"; 15 + sha256 = "602d2e2d7816a4abc1eb17998e1acc93a43b6f82bf94a6accca169a42de21898"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ dask distributed mpi4py ];
+2 -2
pkgs/development/python-modules/databricks-connect/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "databricks-connect"; 5 - version = "9.1.2"; 5 + version = "9.1.4"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "9672aae60b299de58a527f320df45769cadf436398e21f4ce73424a25badb7a7"; 9 + sha256 = "0e4c9178635d47b18ca12284c8ba970747e0b2e2fb7dd6f0a06d35788e81cb91"; 10 10 }; 11 11 12 12 sourceRoot = ".";
+2 -2
pkgs/development/python-modules/datasets/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "datasets"; 19 - version = "1.11.0"; 19 + version = "1.16.1"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "huggingface"; 23 23 repo = pname; 24 24 rev = version; 25 - sha256 = "0pm14cp7xaagpf4j96v0ybi5gn3r9p0if3pc197ckwx6sw3lx29p"; 25 + sha256 = "sha256-5J2hhy52eZqVSaeJNIOM9RzZatq3aewAulS3OX76+Io="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+4 -4
pkgs/development/python-modules/datasette/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "datasette"; 34 - version = "0.58.1"; 34 + version = "0.59.4"; 35 + 35 36 disabled = pythonOlder "3.6"; 36 37 37 38 src = fetchFromGitHub { 38 39 owner = "simonw"; 39 40 repo = pname; 40 41 rev = version; 41 - sha256 = "sha256-dtKqp7LV1fRjwOMAlmmAnC19j8hLA1oixGextATW6z0="; 42 + sha256 = "sha256-bH/VREo2f84wloA2jgXnQkGNSRRRYmSvUXmI0wMfmYM="; 42 43 }; 43 44 44 45 nativeBuildInputs = [ pytest-runner ]; ··· 79 80 --replace "pint~=0.9" "pint" \ 80 81 --replace "pluggy~=0.13.0" "pluggy" \ 81 82 --replace "uvicorn~=0.11" "uvicorn" \ 82 - --replace "PyYAML~=5.3" "PyYAML" 83 83 ''; 84 84 85 85 # takes 30-180 mins to run entire test suite, not worth the CPU resources, slows down reviews ··· 108 108 description = "Multi-tool for exploring and publishing data"; 109 109 homepage = "https://datasette.io/"; 110 110 license = licenses.asl20; 111 - maintainers = [ maintainers.costrouc ]; 111 + maintainers = with maintainers; [ costrouc ]; 112 112 }; 113 113 }
+20
pkgs/development/python-modules/datashader/default.nix
··· 31 31 sha256 = "sha256-6JscHm1QjDmXOLLa83qhAvY/xwvlPM6duQ1lSxnCVV8="; 32 32 }; 33 33 34 + # the complete extra is for usage with conda, which we 35 + # don't care about 36 + postPatch = '' 37 + substituteInPlace setup.py \ 38 + --replace "dask[complete]" "dask" 39 + ''; 40 + 34 41 propagatedBuildInputs = [ 35 42 dask 36 43 bokeh ··· 56 63 netcdf4 57 64 ]; 58 65 66 + preCheck = '' 67 + export HOME=$TMPDIR 68 + ''; 69 + 59 70 pytestFlagsArray = [ 60 71 "-n $NIX_BUILD_CORES" 61 72 "datashader" 73 + ]; 74 + 75 + disabledTests = [ 76 + # not compatible with current version of bokeh 77 + # see: https://github.com/holoviz/datashader/issues/1031 78 + "test_interactive_image_update" 79 + # latest dask broken array marshalling 80 + # see: https://github.com/holoviz/datashader/issues/1032 81 + "test_raster_quadmesh_autorange_reversed" 62 82 ]; 63 83 64 84 disabledTestPaths = [
+7 -2
pkgs/development/python-modules/distributed/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "distributed"; 22 - version = "2021.10.0"; 22 + version = "2021.11.2"; 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 = "0kfq7lwv2n2wiws4v2rj36wx56jvkp2fl6zxg04p2lc3vcgha9za"; 28 + sha256 = "f86a01a2e1e678865d2e42300c47552b5012cd81a2d354e47827a1fd074cc302"; 29 29 }; 30 + 31 + postPatch = '' 32 + substituteInPlace requirements.txt \ 33 + --replace "dask == 2021.11.2" "dask" 34 + ''; 30 35 31 36 propagatedBuildInputs = [ 32 37 bokeh
+35 -12
pkgs/development/python-modules/django-configurations/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , django-discover-runner 5 - , mock 6 3 , dj-database-url 7 4 , dj-email-url 8 5 , dj-search-url 6 + , django 9 7 , django-cache-url 10 - , six 11 - , django 8 + , django-discover-runner 9 + , fetchPypi 10 + , importlib-metadata 11 + , mock 12 + , pythonOlder 12 13 , setuptools-scm 13 14 }: 14 15 15 16 buildPythonPackage rec { 16 - version = "2.2"; 17 17 pname = "django-configurations"; 18 + version = "2.3.1"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.6"; 18 22 19 23 src = fetchPypi { 20 24 inherit pname version; 21 - sha256 = "9e3bcea1355ac50a4c9f854f751d214cb17e5f8adf18405a4488d0a1e8945915"; 25 + sha256 = "e2ca25530e184f0ee3b7f5ae69563461a93a8914493306ee0bf6d71e7d8ad1d0"; 22 26 }; 23 27 24 - buildInputs = [ setuptools-scm ]; 25 - propagatedBuildInputs = [ six ]; 26 - checkInputs = [ django-discover-runner mock dj-database-url dj-email-url dj-search-url django-cache-url ]; 28 + buildInputs = [ 29 + setuptools-scm 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + django 34 + ] ++ lib.optionals (pythonOlder "3.8") [ 35 + importlib-metadata 36 + ]; 37 + 38 + checkInputs = [ 39 + django-discover-runner 40 + mock 41 + dj-database-url 42 + dj-email-url 43 + dj-search-url 44 + django-cache-url 45 + ]; 27 46 28 47 checkPhase = '' 29 48 export PYTHONPATH=.:$PYTHONPATH ··· 35 54 # django.core.exceptions.ImproperlyConfigured: django-configurations settings importer wasn't correctly installed 36 55 doCheck = false; 37 56 57 + pythonImportsCheck = [ 58 + "configurations" 59 + ]; 60 + 38 61 meta = with lib; { 39 - homepage = "https://django-configurations.readthedocs.io/"; 40 62 description = "A helper for organizing Django settings"; 63 + homepage = "https://django-configurations.readthedocs.io/"; 41 64 license = licenses.bsd0; 42 - maintainers = [ maintainers.costrouc ]; 65 + maintainers = with maintainers; [ costrouc ]; 43 66 }; 44 67 }
+25 -4
pkgs/development/python-modules/django-formtools/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, django, python }: 1 + { lib 2 + , buildPythonPackage 3 + , django 4 + , fetchPypi 5 + , python 6 + , pythonOlder 7 + , setuptools-scm 8 + }: 2 9 3 10 buildPythonPackage rec { 4 11 pname = "django-formtools"; 5 - version = "2.2"; 12 + version = "2.3"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.6"; 6 16 7 17 src = fetchPypi { 8 18 inherit pname version; 9 - sha256 = "1chkbl188yj6hvhh1wgjpfgql553k6hrfwxzb8vv4lfdq41jq9y5"; 19 + sha256 = "9663b6eca64777b68d6d4142efad8597fe9a685924673b25aa8a1dcff4db00c3"; 10 20 }; 11 21 12 - propagatedBuildInputs = [ django ]; 22 + nativeBuildInputs = [ 23 + setuptools-scm 24 + ]; 25 + 26 + propagatedBuildInputs = [ 27 + django 28 + ]; 29 + 13 30 checkPhase = '' 14 31 ${python.interpreter} -m django test --settings=tests.settings 15 32 ''; 33 + 34 + pythonImportsCheck = [ 35 + "formtools" 36 + ]; 16 37 17 38 meta = with lib; { 18 39 description = "A set of high-level abstractions for Django forms";
+2 -2
pkgs/development/python-modules/django-rq/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "django-rq"; 13 - version = "2.4.1"; 13 + version = "2.5.1"; 14 14 format = "setuptools"; 15 15 disabled = isPy27; 16 16 ··· 18 18 owner = "rq"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "1dy3mhj60xlqy7f65zh80sqn6qywsp697r6yy3jcl5wmwizzhybr"; 21 + sha256 = "169mj0i8x9184ggks2l6ck669b2kxg75na1a09kqk3rzrb6kg1z2"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/django-statici18n/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "django-statici18n"; 5 - version = "2.0.1"; 5 + version = "2.1.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0cqwfirzjbanibq3mfz9lcwqnc8655zpysf9hk9g3lbwj2m478sp"; 9 + sha256 = "5c85192fa95e3ef3727517ac104add8959fc0a54be3d13440a8a3319fddbc778"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ django django_appconf ];
+4 -2
pkgs/development/python-modules/django_compressor/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, 2 2 rcssmin, rjsmin, django_appconf }: 3 + 3 4 buildPythonPackage rec { 4 5 pname = "django_compressor"; 5 6 version = "2.4.1"; ··· 9 10 sha256 = "3358077605c146fdcca5f9eaffb50aa5dbe15f238f8854679115ebf31c0415e0"; 10 11 }; 11 12 postPatch = '' 12 - substituteInPlace setup.py --replace 'rcssmin == 1.0.6' 'rcssmin' \ 13 - --replace 'rjsmin == 1.0.12' 'rjsmin' 13 + substituteInPlace setup.py \ 14 + --replace 'rcssmin == 1.0.6' 'rcssmin' \ 15 + --replace 'rjsmin == 1.1.0' 'rjsmin' 14 16 ''; 15 17 16 18 # requires django-sekizai, which we don't have packaged yet
+2 -2
pkgs/development/python-modules/django_reversion/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "django-reversion"; 9 - version = "4.0.0"; 9 + version = "4.0.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "ad6d714b4b9b824e22b88d47201cc0f74b5c4294c8d4e1f8d7ac7c3631ef3188"; 13 + sha256 = "6991f16e5d3a972912db3d56e3a714d10b07becd566ab87f85f2e9b671981339"; 14 14 }; 15 15 16 16 # tests assume the availability of a mysql/postgresql database
+2 -2
pkgs/development/python-modules/djangoql/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "djangoql"; 6 - version = "0.15.3"; 6 + version = "0.16.0"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "e1a2f32573396335a8935dfc2afb29e34eff34babec1150927ff74fcd4bbdb9d"; 10 + sha256 = "23cea52eca76e605fa2f34b13ae8d2bf60240737ee9ed3f60c667a4f64d28adf"; 11 11 }; 12 12 13 13 propagatedBuildInputs = [ ply ];
+26 -13
pkgs/development/python-modules/doc8/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , chardet 4 + , docutils 3 5 , fetchPypi 4 6 , pbr 5 - , docutils 6 - , six 7 - , chardet 8 - , stevedore 7 + , pygments 8 + , pytestCheckHook 9 + , pythonOlder 9 10 , restructuredtext_lint 10 - , pygments 11 + , stevedore 11 12 }: 12 13 13 14 buildPythonPackage rec { 14 15 pname = "doc8"; 15 - version = "0.9.1"; 16 + version = "0.10.1"; 17 + format = "pyproject"; 18 + 19 + disabled = pythonOlder "3.6"; 16 20 17 21 src = fetchPypi { 18 22 inherit pname version; 19 - sha256 = "0e967db31ea10699667dd07790f98cf9d612ee6864df162c64e4954a8e30f90d"; 23 + sha256 = "376e50f4e70a1ae935416ddfcf93db35dd5d4cc0e557f2ec72f0667d0ace4548"; 20 24 }; 21 25 22 - buildInputs = [ pbr ]; 26 + buildInputs = [ 27 + pbr 28 + ]; 29 + 23 30 propagatedBuildInputs = [ 24 31 docutils 25 - six 26 32 chardet 27 33 stevedore 28 34 restructuredtext_lint 29 35 pygments 30 36 ]; 31 37 32 - doCheck = false; 38 + checkInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + pythonImportsCheck = [ 43 + "doc8" 44 + ]; 33 45 34 - meta = { 46 + meta = with lib; { 35 47 description = "Style checker for Sphinx (or other) RST documentation"; 36 - homepage = "https://launchpad.net/doc8"; 37 - license = lib.licenses.asl20; 48 + homepage = "https://github.com/pycqa/doc8"; 49 + license = licenses.asl20; 50 + maintainers = with maintainers; [ ]; 38 51 }; 39 52 }
+2 -2
pkgs/development/python-modules/docstring-to-markdown/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "docstring-to-markdown"; 9 - version = "0.9"; 9 + version = "0.10"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "python-lsp"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-XVTlSqqWmvnB5nvjvgGDJmg71KKTq2hHB4//QW7ugvA="; 15 + sha256 = "0rflkbms94wkcypjcnz30bc4w4iww91h7sqq3j2b6ypzl4g48csa"; 16 16 }; 17 17 18 18 patches = [
+2 -2
pkgs/development/python-modules/dropbox/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "dropbox"; 6 - version = "11.23.0"; 6 + version = "11.25.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "dropbox"; 10 10 repo = "dropbox-sdk-python"; 11 11 rev = "v${version}"; 12 - sha256 = "1zrwr73dirmkbkcpy8v49hb52xffh0k9wp2603aysg9435w1rxvx"; 12 + sha256 = "1ln6m6wiym5608i26abs8a5nm4mnn7s3czhnpg9nyjyndnr7k0xj"; 13 13 }; 14 14 15 15 postPatch = ''
+33 -10
pkgs/development/python-modules/easy-thumbnails/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, 2 - django, pillow 1 + { lib 2 + , buildPythonPackage 3 + , django 4 + , fetchPypi 5 + , pillow 6 + , pytestCheckHook 7 + , pythonOlder 8 + , reportlab 9 + , svglib 3 10 }: 4 11 5 12 buildPythonPackage rec { 6 13 pname = "easy-thumbnails"; 7 - version = "2.7.2"; 14 + version = "2.8"; 15 + format = "setuptools"; 8 16 9 - meta = { 10 - description = "Easy thumbnails for Django"; 11 - homepage = "https://github.com/SmileyChris/easy-thumbnails"; 12 - license = lib.licenses.bsd3; 13 - }; 17 + disabled = pythonOlder "3.6"; 14 18 15 19 src = fetchPypi { 16 20 inherit pname version; 17 - sha256 = "a7dd9cf97efaf70ba5d76484a962f08ba65b31f1681bc417257743650e9e8a8a"; 21 + sha256 = "fd2249d936671847fc54a2d6c8c87bcca8f803001967dd03bab6b8bcb7590825"; 18 22 }; 19 23 20 - propagatedBuildInputs = [ django pillow ]; 24 + propagatedBuildInputs = [ 25 + django 26 + pillow 27 + svglib 28 + reportlab 29 + ]; 30 + 31 + # Tests require a Django instance which is setup 32 + doCheck = false; 33 + 34 + pythonImportsCheck = [ 35 + "easy_thumbnails" 36 + ]; 37 + 38 + meta = with lib; { 39 + description = "Easy thumbnails for Django"; 40 + homepage = "https://github.com/SmileyChris/easy-thumbnails"; 41 + license = licenses.bsd3; 42 + maintainers = with maintainers; [ ]; 43 + }; 21 44 }
+2 -2
pkgs/development/python-modules/eliot/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "eliot"; 18 - version = "1.13.0"; 18 + version = "1.14.0"; 19 19 disabled = pythonOlder "3.6"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "5760194b308a7ab35514ae1b942d88e9f2359071556d82580383f09ca586fff7"; 23 + sha256 = "c2f099a3e8d5ecfc22745766e7cc664a48db64b6b89d986dff270491d8683149"; 24 24 }; 25 25 26 26 checkInputs = [
+2 -2
pkgs/development/python-modules/elmax/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "elmax"; 15 - version = "0.1.3"; 15 + version = "0.1.5"; 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-OiVPjWqQw1u0OL6/uYlT+FP2XDh7l3OZyVtQfycHICI="; 23 + sha256 = "sha256-EcYEpYv+EwwEfW8Sy7aQjFAPpmsA6qVbmlwrPdxdnEw="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ poetry-core ];
+2 -2
pkgs/development/python-modules/env-canada/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "env-canada"; 17 - version = "0.5.17"; 17 + version = "0.5.18"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "michaeldavie"; 24 24 repo = "env_canada"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-viuBuyGzAUcfb4qSecZsDvoAU++FNhuwNJET/s0qyOI="; 26 + sha256 = "1w2fclpmcb41k2a3226jk62hdclc8b18kxih2ads90r4yxgpxc8p"; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+14 -1
pkgs/development/python-modules/envoy-reader/default.nix
··· 2 2 , buildPythonPackage 3 3 , envoy-utils 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , httpx 6 7 , pytest-asyncio 7 8 , pytest-raises ··· 12 13 buildPythonPackage rec { 13 14 pname = "envoy-reader"; 14 15 version = "0.20.0"; 16 + format = "setuptools"; 15 17 16 18 src = fetchFromGitHub { 17 19 owner = "jesserizzo"; ··· 37 39 --replace "pytest-runner>=5.2" "" 38 40 ''; 39 41 40 - pythonImportsCheck = [ "envoy_reader" ]; 42 + patches = [ 43 + # Support for later httpx, https://github.com/jesserizzo/envoy_reader/pull/82 44 + (fetchpatch { 45 + name = "support-later-httpx.patch"; 46 + url = "https://github.com/jesserizzo/envoy_reader/commit/6019a89419fe9c830ba839be7d39ec54725268b0.patch"; 47 + sha256 = "17vsrx13rskvh8swvjisb2dk6x1jdbjcm8ikkpidia35pa24h272"; 48 + }) 49 + ]; 50 + 51 + pythonImportsCheck = [ 52 + "envoy_reader" 53 + ]; 41 54 42 55 meta = with lib; { 43 56 description = "Python module to read from Enphase Envoy units";
+6 -3
pkgs/development/python-modules/ephem/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "ephem"; 10 - version = "4.1"; 10 + version = "4.1.1"; 11 + format = "setuptools"; 11 12 12 13 src = fetchPypi { 13 14 inherit pname version; 14 - sha256 = "c076794a511a34b5b91871c1cf6374dbc323ec69fca3f50eb718f20b171259d6"; 15 + sha256 = "sha256-26ngXHjOkQrnWgY1GlWSR5GRqNxXCsDNbRinfpgTiHM="; 15 16 }; 16 17 17 18 checkInputs = [ ··· 24 25 LC_ALL="en_US.UTF-8" pytest --pyargs ephem.tests -k "not JPLTest" 25 26 ''; 26 27 27 - pythonImportsCheck = [ "ephem" ]; 28 + pythonImportsCheck = [ 29 + "ephem" 30 + ]; 28 31 29 32 meta = with lib; { 30 33 description = "Compute positions of the planets and stars";
+2 -2
pkgs/development/python-modules/eventlet/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "eventlet"; 18 - version = "0.32.0"; 18 + version = "0.33.0"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "2f0bb8ed0dc0ab21d683975d5d8ab3c054d588ce61def9faf7a465ee363e839b"; 22 + sha256 = "80144f489c1bb273a51b6f96ff9785a382d2866b9bab1f5bd748385019f4141f"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ dnspython greenlet pyopenssl six ]
+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.1.2"; 12 + version = "0.2.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "92ae36ff5cf38428bd3695629b5065d161c658fb0de0faf2c20cd7a99dac3820"; 16 + sha256 = "26696726cc70c019d1b76bb25e4823c93f0837ddc86bc4ea26c08165270b4d92"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ colorama tqdm ];
+2 -2
pkgs/development/python-modules/folium/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "folium"; 17 - version = "0.12.0"; 17 + version = "0.12.1.post1"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "d45ace0a813ae65f202ce0356eb29c40a5e8fde071e4d6b5be0a89587ebaeab2"; 21 + sha256 = "e91e57d8298f3ccf4cce3c5e065bea6eb17033e3c5432b8a22214009c266b2ab"; 22 22 }; 23 23 24 24 disabled = pythonOlder "3.5";
+10 -8
pkgs/development/python-modules/fonttools/default.nix
··· 4 4 , pythonOlder 5 5 , brotlipy 6 6 , zopfli 7 - , fs 8 7 , lxml 9 8 , scipy 10 9 , munkres 11 10 , unicodedata2 12 11 , sympy 13 - , matplotlib 14 12 , reportlab 15 13 , sphinx 16 14 , pytestCheckHook 17 - , pytest-randomly 18 15 , glibcLocales 19 16 }: 20 17 ··· 34 31 35 32 # all dependencies are optional, but 36 33 # we run the checks with them 34 + 37 35 checkInputs = [ 38 36 pytestCheckHook 39 - pytest-randomly 40 37 # etree extra 41 38 lxml 42 - # ufo extra 43 - fs 44 39 # woff extra 45 40 brotlipy 46 41 zopfli ··· 49 44 munkres 50 45 # symfont 51 46 sympy 52 - # varLib 53 - matplotlib 54 47 # pens 55 48 reportlab 56 49 sphinx ··· 71 64 "test_recalc_timestamp_otf" 72 65 "test_ttcompile_timestamp_calcs" 73 66 ]; 67 + 68 + disabledTestPaths = [ 69 + # avoid test which depend on fs and matplotlib 70 + # fs and matplotlib were removed to prevent strong cyclic dependencies 71 + "Tests/misc/plistlib_test.py" 72 + "Tests/pens" 73 + "Tests/ufoLib" 74 + ]; 75 + 74 76 75 77 meta = with lib; { 76 78 homepage = "https://github.com/fonttools/fonttools";
+6 -2
pkgs/development/python-modules/frozendict/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "frozendict"; 11 - version = "2.0.7"; # 2.0.6 breaks canonicaljson 11 + version = "2.1.0"; 12 12 format = "setuptools"; 13 13 14 14 disabled = !isPy3k; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "a68f609d1af67da80b45519fdcfca2d60249c0a8c96e68279c1b6ddd92128204"; 18 + sha256 = "0189168749ddea8601afd648146c502533f93ae33840eb76cd71f694742623cd"; 19 19 }; 20 20 21 21 pythonImportsCheck = [ ··· 34 34 disabledTests = [ 35 35 # TypeError: unsupported operand type(s) for |=: 'frozendict.frozendict' and 'dict' 36 36 "test_union" 37 + # non-standard assertions 38 + "test_repr" 39 + "test_format" 40 + "test_str" 37 41 ]; 38 42 39 43 disabledTestPaths = [
+5 -2
pkgs/development/python-modules/fs/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "fs"; 23 - version = "2.4.13"; 23 + version = "2.4.14"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "caab4dc1561d63c92f36ee78976f6a4a01381830d8420ce34a78d4f1bb1dc95f"; 27 + sha256 = "9555dc2bc58c58cac03478ac7e9f622d29fe2d20a4384c24c90ab50de2c7b36c"; 28 28 }; 29 29 30 30 buildInputs = [ glibcLocales ]; 31 + 32 + # strong cycle with paramaterized 33 + doCheck = false; 31 34 checkInputs = [ pyftpdlib mock psutil pytestCheckHook ]; 32 35 propagatedBuildInputs = [ six appdirs pytz ] 33 36 ++ lib.optionals (!isPy3k) [ backports_os ]
+16 -3
pkgs/development/python-modules/gdown/default.nix
··· 1 1 { lib 2 + , beautifulsoup4 2 3 , buildPythonApplication 3 4 , fetchPypi 4 5 , filelock ··· 10 11 11 12 buildPythonApplication rec { 12 13 pname = "gdown"; 13 - version = "4.0.2"; 14 + version = "4.2.0"; 15 + format = "setuptools"; 14 16 15 17 src = fetchPypi { 16 18 inherit pname version; 17 - sha256 = "sha256-XSYc3mCsFW+x6aZFDNtUE9lHv9vPUvkdsqmbtFX7aQw="; 19 + sha256 = "bd871c125242a9d3691aa74f360b6b5268a58c13991bb2405fdb3ec3028307dc"; 18 20 }; 19 21 20 - propagatedBuildInputs = [ filelock requests tqdm setuptools six ]; 22 + propagatedBuildInputs = [ 23 + beautifulsoup4 24 + filelock 25 + requests 26 + tqdm 27 + setuptools 28 + six 29 + ]; 21 30 22 31 checkPhase = '' 23 32 $out/bin/gdown --help > /dev/null 24 33 ''; 34 + 35 + pythonImportsCheck = [ 36 + "gdown" 37 + ]; 25 38 26 39 meta = with lib; { 27 40 description = "A CLI tool for downloading large files from Google Drive";
+24 -12
pkgs/development/python-modules/genanki/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k 2 - , cached-property, frozendict, pystache, pyyaml, pytest, pytest-runner 1 + { lib 2 + , buildPythonPackage 3 + , cached-property 4 + , chevron 5 + , fetchPypi 6 + , frozendict 7 + , pystache 8 + , pythonOlder 9 + , pyyaml 3 10 }: 4 11 5 12 buildPythonPackage rec { 6 13 pname = "genanki"; 7 - version = "0.11.0"; 14 + version = "0.12.0"; 15 + format = "setuptools"; 16 + 17 + disabled = pythonOlder "3.6"; 8 18 9 19 src = fetchPypi { 10 20 inherit pname version; 11 - sha256 = "f2be87e3c2850bba21627d26728238f9655b448e564f8c70ab47caef558b63ef"; 21 + sha256 = "f787ac440ff37a3ef3389030e992e3527f000f7a69498f797033ccfad07ebe62"; 12 22 }; 13 23 14 24 propagatedBuildInputs = [ 15 - pytest-runner 16 25 cached-property 26 + chevron 17 27 frozendict 18 28 pystache 19 29 pyyaml 20 30 ]; 21 31 22 - checkInputs = [ pytest ]; 23 - 24 - disabled = !isPy3k; 32 + postPatch = '' 33 + substituteInPlace setup.py \ 34 + --replace "'pytest-runner'," "" 35 + ''; 25 36 26 37 # relies on upstream anki 27 38 doCheck = false; 28 - checkPhase = '' 29 - py.test 30 - ''; 39 + 40 + pythonImportsCheck = [ 41 + "genanki" 42 + ]; 31 43 32 44 meta = with lib; { 33 - homepage = "https://github.com/kerrickstaley/genanki"; 34 45 description = "Generate Anki decks programmatically"; 46 + homepage = "https://github.com/kerrickstaley/genanki"; 35 47 license = licenses.mit; 36 48 maintainers = with maintainers; [ teto ]; 37 49 };
+2 -2
pkgs/development/python-modules/geoip2/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - version = "4.4.0"; 11 + version = "4.5.0"; 12 12 pname = "geoip2"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "f150bed3190d543712a17467208388d31bd8ddb49b2226fba53db8aaedb8ba89"; 17 + sha256 = "b542252e87eb40adc3a2fc0f4e84b514c4c5e04ed46923a3a74d509f25f3103a"; 18 18 }; 19 19 20 20 patchPhase = ''
+2 -2
pkgs/development/python-modules/geventhttpclient/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "geventhttpclient"; 16 - version = "1.5.2"; 16 + version = "1.5.3"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "f3c5884d62be75162426728e3d86788740b13e363b197ef592f1443dba240709"; 20 + sha256 = "d80ec9ff42b7219f33558185499d0b4365597fc55ff886207b45f5632e099780"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/gitdb/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "gitdb"; 10 - version = "4.0.7"; 10 + version = "4.0.9"; 11 11 disabled = !isPy3k; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "96bf5c08b157a666fec41129e6d327235284cca4c81e92109260f353ba138005"; 15 + sha256 = "bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ smmap ];
+31 -4
pkgs/development/python-modules/google-api-core/default.nix
··· 4 4 , google-auth 5 5 , googleapis-common-protos 6 6 , grpcio 7 + , grpcio-status 7 8 , protobuf 8 9 , proto-plus 9 10 , requests 10 11 , mock 11 12 , pytest-asyncio 12 13 , pytestCheckHook 14 + , pythonOlder 13 15 }: 14 16 15 17 buildPythonPackage rec { 16 18 pname = "google-api-core"; 17 - version = "2.1.0"; 19 + version = "2.2.2"; 20 + format = "setuptools"; 21 + 22 + disabled = pythonOlder "3.6"; 18 23 19 24 src = fetchPypi { 20 25 inherit pname version; 21 - sha256 = "sha256-XsJ7lCs00EVZy/NnRDC7g/w9dOfTK4u9McRGbnF0C4M="; 26 + sha256 = "97349cc18c2bb2415f64f1353a80273a289a61294ce3eb2f7ce682d251bdd997"; 22 27 }; 23 28 24 29 propagatedBuildInputs = [ 25 30 googleapis-common-protos 26 31 google-auth 27 32 grpcio 33 + grpcio-status 28 34 protobuf 29 35 proto-plus 30 36 requests 31 37 ]; 32 38 33 - checkInputs = [ mock pytest-asyncio pytestCheckHook ]; 39 + checkInputs = [ 40 + mock 41 + pytest-asyncio 42 + pytestCheckHook 43 + ]; 34 44 35 45 # prevent google directory from shadowing google imports 36 46 preCheck = '' 37 47 rm -r google 38 48 ''; 39 49 40 - pythonImportsCheck = [ "google.api_core" ]; 50 + disabledTests = [ 51 + # Those grpc_helpers tests are failing 52 + "test_wrap_unary_errors" 53 + "test_wrap_stream_errors_raised" 54 + "test_wrap_stream_errors_read" 55 + "test_wrap_stream_errors_aiter" 56 + "test_wrap_stream_errors_write" 57 + "test_wrap_unary_errors" 58 + "test___next___w_rpc_error" 59 + "test_wrap_stream_errors_invocation" 60 + "test_wrap_stream_errors_iterator_initialization" 61 + "test_wrap_stream_errors_during_iteration" 62 + "test_exception_with_error_code" 63 + ]; 64 + 65 + pythonImportsCheck = [ 66 + "google.api_core" 67 + ]; 41 68 42 69 meta = with lib; { 43 70 description = "Core Library for Google Client Libraries";
+27 -10
pkgs/development/python-modules/google-api-python-client/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , google-auth, google-auth-httplib2, google-api-core 3 - , httplib2, six, uritemplate, oauth2client, setuptools }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , google-auth 5 + , google-auth-httplib2 6 + , google-api-core 7 + , httplib2 8 + , uritemplate 9 + , oauth2client 10 + , setuptools 11 + , pythonOlder 12 + }: 4 13 5 14 buildPythonPackage rec { 6 15 pname = "google-api-python-client"; 7 - version = "2.25.0"; 16 + version = "2.31.0"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.6"; 8 20 9 21 src = fetchPypi { 10 22 inherit pname version; 11 - sha256 = "sha256-dNgF7xC4sfWL04U53T0D+vEYj2TuPKQorAQtU59fVcc="; 23 + sha256 = "3f64a5eee6fa03ab51806dccf48e342fda83fea60c290518c6a2dfdbf2de9efd"; 12 24 }; 13 25 14 - # No tests included in archive 15 - doCheck = false; 16 - 17 26 propagatedBuildInputs = [ 18 - google-auth google-auth-httplib2 google-api-core 19 - httplib2 six uritemplate oauth2client setuptools 27 + google-auth 28 + google-auth-httplib2 29 + google-api-core 30 + httplib2 31 + uritemplate 32 + oauth2client 33 + setuptools 20 34 ]; 35 + 36 + # No tests included in archive 37 + doCheck = false; 21 38 22 39 pythonImportsCheck = [ 23 40 "googleapiclient"
+2 -2
pkgs/development/python-modules/google-auth/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "google-auth"; 21 - version = "2.3.0"; 21 + version = "2.3.3"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "sha256-KAD2360pxs7V+vnKDDjqi6Hr4lWbEMApvQIePeMwFic="; 25 + sha256 = "d83570a664c10b97a1dc6f8df87e5fdfff012f48f62be131e449c20dfc32630e"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+14 -9
pkgs/development/python-modules/google-cloud-access-context-manager/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, google-api-core }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , google-api-core 5 + , pythonOlder 6 + }: 2 7 3 8 buildPythonPackage rec { 4 9 pname = "google-cloud-access-context-manager"; 5 - version = "0.1.8"; 10 + version = "0.1.9"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 6 14 7 15 src = fetchPypi { 8 16 inherit pname version; 9 - sha256 = "29101f61fa0e07db6385a94da45aef8edb4efde0d2b700fbbf65164c045744a8"; 17 + sha256 = "249a1c1a858bb182b73749784457baacfcab8e7c13da5f3421109d5b8dace5b8"; 10 18 }; 11 19 12 - postPatch = '' 13 - substituteInPlace setup.py \ 14 - --replace "google-api-core[grpc] >= 1.26.0, < 2.0.0dev" "google-api-core[grpc] >= 1.26.0, < 2.0.1" 15 - ''; 16 - 17 - propagatedBuildInputs = [ google-api-core ]; 20 + propagatedBuildInputs = [ 21 + google-api-core 22 + ]; 18 23 19 24 # No tests in repo 20 25 doCheck = false;
+5 -2
pkgs/development/python-modules/google-cloud-bigquery/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "google-cloud-bigquery"; 21 - version = "2.28.1"; 21 + version = "2.30.1"; 22 + format = "setuptools"; 22 23 23 24 src = fetchPypi { 24 25 inherit pname version; 25 - sha256 = "sha256-DiNT2X5SktyM5URHtxL7nolJbnFLXKz8PVNmFNHEYdw="; 26 + sha256 = "4e3b5e3dcc475d5a601d84872ac0b63e059540be2251b1c4165c51106d572855"; 26 27 }; 27 28 28 29 propagatedBuildInputs = [ ··· 59 60 "test_list_rows_page_size" 60 61 "test_list_rows_scalars" 61 62 "test_list_rows_scalars_extreme" 63 + "test_dry_run" 64 + "test_session" 62 65 # Mocking of _ensure_bqstorage_client fails 63 66 "test_to_arrow_ensure_bqstorage_client_wo_bqstorage" 64 67 # requires network
+2 -2
pkgs/development/python-modules/google-cloud-core/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "google-cloud-core"; 11 - version = "2.1.0"; 11 + version = "2.2.1"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "sha256-NaH18CqG4PouKMZp8NtKdtkoZxoo+7u0k6tZup0cuak="; 15 + sha256 = "476d1f71ab78089e0638e0aaf34bfdc99bab4fce8f4170ba6321a5243d13c5c7"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ google-api-core ];
+2 -2
pkgs/development/python-modules/google-cloud-datacatalog/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "google-cloud-datacatalog"; 5 - version = "3.6.0"; 5 + version = "3.6.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "b4a3ba5bc93fb38008077335546daef9f5ea59a1b3accb98b0d07ca7fe6c6e37"; 9 + sha256 = "136fb153740d4154d8c9ef306284f7f899399de45eef2c9027ca3e56249c4e2d"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ libcst google-api-core grpc-google-iam-v1 proto-plus ];
+2 -2
pkgs/development/python-modules/google-cloud-monitoring/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "google-cloud-monitoring"; 16 - version = "2.7.0"; 16 + version = "2.8.0"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "973f33f4da9598a30769e27510fc0cd4470f9081ba694c6c589bb8c0b86a0a6d"; 20 + sha256 = "2a25f7535f21cdeabfccb07fe4a75eae5a47bb36b82025537755b37d3376da46"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ libcst google-api-core proto-plus ];
+3
pkgs/development/python-modules/google-cloud-pubsub/default.nix
··· 5 5 , google-api-core 6 6 , google-cloud-testutils 7 7 , grpc-google-iam-v1 8 + , grpcio-status 8 9 , libcst 9 10 , mock 10 11 , proto-plus ··· 14 15 buildPythonPackage rec { 15 16 pname = "google-cloud-pubsub"; 16 17 version = "2.9.0"; 18 + format = "setuptools"; 17 19 18 20 src = fetchPypi { 19 21 inherit pname version; ··· 23 25 propagatedBuildInputs = [ 24 26 grpc-google-iam-v1 25 27 google-api-core 28 + grpcio-status 26 29 libcst 27 30 proto-plus 28 31 ];
+2 -2
pkgs/development/python-modules/google-cloud-resource-manager/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-resource-manager"; 14 - version = "1.3.2"; 14 + version = "1.3.3"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "b99e11360668ed0c034c8cf3a34caf6fd4a52efaf62d54dd85407c3ad20b715c"; 18 + sha256 = "b13e0a614b4865287a4b5fc43f4810d3d48fef7e24d9bcf54cb4bd93bfbb2bf2"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ google-api-core google-cloud-core grpc-google-iam-v1 proto-plus ];
+2 -2
pkgs/development/python-modules/google-cloud-storage/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "google-cloud-storage"; 16 - version = "1.42.3"; 16 + version = "1.43.0"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-d1TU3KpFl1UUtATs4NortCkqy8Z8pVmmnhKhnVT82wY="; 20 + sha256 = "f3b4f4be5c8a1b5727a8f7136c94d3bacdd4b7bf11f9553f51ae4c1d876529d3"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+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.1.0"; 5 + version = "1.2.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "3d79051b6ca170c2a4f159bf56ac3f66c1e5360486121e72c06fdaa3911154bf"; 9 + sha256 = "9c60ea86b28998935875b5aea0b89b0a3aac5e433e0039236f633c5d0ff5f8b8"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ click google-auth six ];
+2 -2
pkgs/development/python-modules/google-cloud-texttospeech/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-texttospeech"; 14 - version = "2.7.1"; 14 + version = "2.9.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "e81beafa612f288fe74db55dd3a409f96cb01d2bac117bcd06a4e5b427d81476"; 18 + sha256 = "e8e272ab54be00285c8f9451081d833980c9fc2a1eff828448dfe315dfa61250"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ libcst google-api-core proto-plus ];
+2 -2
pkgs/development/python-modules/gradient-utils/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "gradient-utils"; 15 - version = "0.3.2"; 15 + version = "0.5.0"; 16 16 format = "pyproject"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "Paperspace"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "083hnkv19mhvdc8nx28f1nph50c903gxh9g9q8531abv0w8m0744"; 22 + sha256 = "19plkgwwfs6298vjplgsvhirixi3jbngq5y07x9c0fjxk39fa2dk"; 23 23 }; 24 24 25 25 postPatch = ''
+2 -2
pkgs/development/python-modules/gradient/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "gradient"; 25 - version = "1.8.9"; 25 + version = "1.8.13"; 26 26 27 27 src = fetchPypi { 28 28 inherit pname version; 29 - sha256 = "c05913efe7fcc9f75c1fe84c157d2c2cf3ec0983e132d418c6e59fabc6361a1e"; 29 + sha256 = "0fa4a0553c28839e364d3aac27ec7292d26c1df27b8c54701d57eb7eda0b14f2"; 30 30 }; 31 31 32 32 postPatch = ''
+2 -2
pkgs/development/python-modules/graphene/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "graphene"; 18 - version = "3.0.0b8"; 18 + version = "3.0.0"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "graphql-python"; 22 22 repo = "graphene"; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-Pgln369s4qXdKqLxhX+AkgpDQm+MfSZ/OVmB1AaawHI="; 24 + sha256 = "0qgp3nl6afyz6y27bw175hyqppx75pp1vqwl7nvlpwvgwyyc2mnl"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+7 -1
pkgs/development/python-modules/graphql-core/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytest-benchmark 5 + , pytest-asyncio 5 6 , pytestCheckHook 6 7 , pythonOlder 7 8 }: ··· 9 10 buildPythonPackage rec { 10 11 pname = "graphql-core"; 11 12 version = "3.1.6"; 13 + format = "setuptools"; 14 + 12 15 disabled = pythonOlder "3.6"; 13 16 14 17 src = fetchFromGitHub { ··· 19 22 }; 20 23 21 24 checkInputs = [ 25 + pytest-asyncio 22 26 pytest-benchmark 23 27 pytestCheckHook 24 28 ]; 25 29 26 - pythonImportsCheck = [ "graphql" ]; 30 + pythonImportsCheck = [ 31 + "graphql" 32 + ]; 27 33 28 34 meta = with lib; { 29 35 description = "Port of graphql-js to Python";
+2 -2
pkgs/development/python-modules/graspologic/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "graspologic"; 18 - version = "0.3"; 18 + version = "0.3.1"; 19 19 20 20 disabled = isPy27; 21 21 ··· 23 23 owner = "microsoft"; 24 24 repo = "graspologic"; 25 25 rev = "v${version}"; 26 - sha256 = "0lab76qiryxvwl6zrcikhnxil1xywl0wkkm2vzi4v9mdzpa7w29r"; 26 + sha256 = "07dmfb1aplha01d22b41js7634dac4v28pv1l3bzssqhi4yyds7h"; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+15 -2
pkgs/development/python-modules/green/default.nix
··· 2 2 , buildPythonPackage 3 3 , isPy3k 4 4 , fetchPypi 5 + , django 5 6 , colorama 6 7 , coverage 7 8 , unidecode ··· 11 12 buildPythonPackage rec { 12 13 pname = "green"; 13 14 version = "3.3.0"; 15 + format = "setuptools"; 14 16 15 17 disabled = !isPy3k; 16 18 ··· 29 31 ''; 30 32 31 33 propagatedBuildInputs = [ 32 - colorama coverage unidecode lxml 34 + colorama 35 + coverage 36 + unidecode 37 + lxml 33 38 ]; 34 39 35 40 # let green run it's own test suite 36 41 checkPhase = '' 37 - $out/bin/green -tvvv green 42 + $out/bin/green -tvvv \ 43 + green.test.test_version \ 44 + green.test.test_cmdline \ 45 + green.test.test_command 38 46 ''; 39 47 48 + pythonImportsCheck = [ 49 + "green" 50 + ]; 51 + 40 52 meta = with lib; { 41 53 description = "Python test runner"; 42 54 homepage = "https://github.com/CleanCut/green"; 43 55 license = licenses.mit; 56 + maintainers = with maintainers; [ ]; 44 57 }; 45 58 }
+42
pkgs/development/python-modules/grpcio-status/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , googleapis-common-protos 5 + , grpc 6 + , grpcio 7 + , protobuf 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "grpcio-status"; 13 + inherit (grpc) version; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.6"; 17 + 18 + src = fetchPypi { 19 + inherit pname version; 20 + sha256 = "JVM8TWXX1ROmOPDEuIsrZnAOO/Q+aZWlWjvRXsC3eQI="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + googleapis-common-protos 25 + grpcio 26 + protobuf 27 + ]; 28 + 29 + # Projec thas no tests 30 + doCheck = false; 31 + 32 + pythonImportsCheck = [ 33 + "grpc_status" 34 + ]; 35 + 36 + meta = with lib; { 37 + description = "GRPC Python status proto mapping"; 38 + homepage = "https://github.com/grpc/grpc/tree/master/src/python/grpcio_status"; 39 + license = licenses.asl20; 40 + maintainers = with maintainers; [ fab ]; 41 + }; 42 + }
+2 -2
pkgs/development/python-modules/gruut-ipa/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "gruut-ipa"; 10 - version = "0.9.3"; 10 + version = "0.11.0"; 11 11 format = "setuptools"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "rhasspy"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-d/AbvgAD3GHXpwhqjT5Xt9q7Kix+eFMX4kW2BywZWX0="; 17 + sha256 = "08n79v60jhkz5vhychsicjz4bhz8v4gb2djmz5dfdaivyr0h3bsf"; 18 18 }; 19 19 20 20 postPatch = ''
+2 -2
pkgs/development/python-modules/gsd/default.nix
··· 4 4 }: 5 5 6 6 buildPythonPackage rec { 7 - version = "2.5.0"; 7 + version = "2.5.1"; 8 8 pname = "gsd"; 9 9 disabled = isPy27; 10 10 ··· 12 12 owner = "glotzerlab"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "0zw3ihbzkldwijz9phwivnzwylj30a2a4lknfbwm6vkx78rdrb1a"; 15 + sha256 = "00cy4lw7xnl2skfx7fg7cs1c8lrbaxvkym9j6zfi1dbvsdd0r103"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cython ];
+2 -2
pkgs/development/python-modules/gssapi/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "gssapi"; 20 - version = "1.7.0"; 20 + version = "1.7.2"; 21 21 disabled = pythonOlder "3.6"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "pythongssapi"; 25 25 repo = "python-${pname}"; 26 26 rev = "v${version}"; 27 - sha256 = "0ybijgsr4ra7x1w86sva4qljhm54ilm2zv4z0ry1r14kq9hmjfa4"; 27 + sha256 = "1xdcnm66b07m7chf04pp58p3khvy547hns1fw1xffd4n51kl42pp"; 28 28 }; 29 29 30 30 # It's used to locate headers
+2 -2
pkgs/development/python-modules/gviz-api/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "gviz_api"; 7 - version = "1.9.0"; 7 + version = "1.10.0"; 8 8 format = "wheel"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version format; 12 - sha256 = "1yag559lpmwfdxpxn679a6ajifcbpgljr5n6k5b7rrj38k2xq7jg"; 12 + sha256 = "a05055fed8c279f34f4b496eace7648c7fe9c1b06851e8a36e748541f1adbb05"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [
+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.4.0"; 11 + version = "3.6.0"; 12 12 pname = "h5py"; 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "ee1c683d91ab010d5e85cb61e8f9e7ee0d8eab545bf3dd50a9618f1d0e8f615e"; 17 + sha256 = "8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29"; 18 18 }; 19 19 20 20 # avoid strict pinning of numpy
+2 -2
pkgs/development/python-modules/hg-evolve/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "hg-evolve"; 9 - version = "10.4.0"; 9 + version = "10.4.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "64fd249a7fcabea60953fc3e7f08da6a85960aca367c04d078b999b7f6fd0246"; 13 + sha256 = "b47d9a1e0af3d7b54edd646581ac3e3ab046a572368eeb22dfd89dff7f9964d2"; 14 14 }; 15 15 16 16 checkInputs = [
+2 -2
pkgs/development/python-modules/hg-git/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "hg-git"; 10 - version = "0.10.2"; 10 + version = "0.10.3"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "aae1c47328bb7f928778712654c3d5f100445190e2891f175dac66d743fdb2e8"; 14 + sha256 = "27e6d7686a1548d4632dcc977f2ff3ce2e42d80735339b1f3b389b7481260cc4"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ dulwich mercurial ];
+10 -1
pkgs/development/python-modules/homematicip/default.nix
··· 17 17 buildPythonPackage rec { 18 18 pname = "homematicip"; 19 19 version = "1.0.1"; 20 + format = "setuptools"; 21 + 20 22 disabled = pythonOlder "3.6"; 21 23 22 24 src = fetchFromGitHub { ··· 42 44 pytestCheckHook 43 45 ]; 44 46 47 + postPatch = '' 48 + substituteInPlace homematicip/aio/connection.py \ 49 + --replace ", loop=self._loop" "" 50 + ''; 51 + 45 52 disabledTests = [ 46 53 # Assert issues with datetime 47 54 "test_contact_interface_device" ··· 67 74 "test_websocket" 68 75 ]; 69 76 70 - pythonImportsCheck = [ "homematicip" ]; 77 + pythonImportsCheck = [ 78 + "homematicip" 79 + ]; 71 80 72 81 meta = with lib; { 73 82 description = "Python module for the homematicIP REST API";
+6 -10
pkgs/development/python-modules/httpcore/default.nix
··· 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 5 , anyio 6 + , certifi 6 7 , h11 7 8 , h2 8 9 , pproxy 9 10 , pytest-asyncio 10 11 , pytestCheckHook 11 12 , pytest-cov 13 + , pytest-httpbin 12 14 , sniffio 13 15 , trio 14 16 , trustme ··· 17 19 18 20 buildPythonPackage rec { 19 21 pname = "httpcore"; 20 - version = "0.13.7"; 22 + version = "0.14.3"; 21 23 disabled = pythonOlder "3.6"; 22 24 23 25 src = fetchFromGitHub { 24 26 owner = "encode"; 25 27 repo = pname; 26 28 rev = version; 27 - sha256 = "sha256-9hG9MqqEYMT2j7tXafToGYwHbJfp9/klNqZozHSbweE="; 29 + sha256 = "sha256-jPsbMhY1lWKBXlh6hsX6DGKXi/g7VQSU00tF6H7qkOo="; 28 30 }; 29 31 30 32 propagatedBuildInputs = [ 31 33 anyio 34 + certifi 32 35 h11 33 36 h2 34 37 sniffio ··· 39 42 pytest-asyncio 40 43 pytestCheckHook 41 44 pytest-cov 45 + pytest-httpbin 42 46 trio 43 47 trustme 44 48 uvicorn 45 - ]; 46 - 47 - disabledTestPaths = [ 48 - # these tests fail during dns lookups: httpcore.ConnectError: [Errno -2] Name or service not known 49 - "tests/test_threadsafety.py" 50 - "tests/async_tests/" 51 - "tests/sync_tests/test_interfaces.py" 52 - "tests/sync_tests/test_retries.py" 53 49 ]; 54 50 55 51 pythonImportsCheck = [ "httpcore" ];
+11 -3
pkgs/development/python-modules/httpx-socks/default.nix
··· 6 6 , flask 7 7 , httpcore 8 8 , httpx 9 + , hypercorn 9 10 , pytest-asyncio 10 11 , pytest-trio 11 12 , pytestCheckHook 12 13 , python-socks 13 14 , pythonOlder 14 15 , sniffio 16 + , starlette 15 17 , trio 16 18 , yarl 17 19 }: 18 20 19 21 buildPythonPackage rec { 20 22 pname = "httpx-socks"; 21 - version = "0.4.1"; 23 + version = "0.7.2"; 24 + format = "setuptools"; 25 + 22 26 disabled = pythonOlder "3.6"; 23 27 24 28 src = fetchFromGitHub { 25 29 owner = "romis2012"; 26 30 repo = pname; 27 31 rev = "v${version}"; 28 - sha256 = "1rz69z5fcw7d5nzy5q2q0r9gxrsqijgpg70cnyr5br6xnfgy01ar"; 32 + sha256 = "1wigmkhn4ymfr12z9vhdaimjcma9llicwrr29q0cc8xmy23f3445"; 29 33 }; 30 34 31 35 propagatedBuildInputs = [ ··· 40 44 41 45 checkInputs = [ 42 46 flask 47 + hypercorn 43 48 pytest-asyncio 44 49 pytest-trio 45 50 pytestCheckHook 51 + starlette 46 52 yarl 47 53 ]; 48 54 49 - pythonImportsCheck = [ "httpx_socks" ]; 55 + pythonImportsCheck = [ 56 + "httpx_socks" 57 + ]; 50 58 51 59 meta = with lib; { 52 60 description = "Proxy (HTTP, SOCKS) transports for httpx";
+15 -2
pkgs/development/python-modules/httpx/default.nix
··· 9 9 , httpcore 10 10 , rfc3986 11 11 , sniffio 12 + , python 12 13 , pytestCheckHook 13 14 , pytest-asyncio 14 15 , pytest-trio ··· 19 20 20 21 buildPythonPackage rec { 21 22 pname = "httpx"; 22 - version = "0.19.0"; 23 + version = "0.21.1"; 23 24 disabled = pythonOlder "3.6"; 24 25 25 26 src = fetchFromGitHub { 26 27 owner = "encode"; 27 28 repo = pname; 28 29 rev = version; 29 - sha256 = "sha256-bUxxeUYqOHBmSL2gPQG5cIq6k5QY4Kyhj9ToA5yZXPA="; 30 + sha256 = "sha256-ayhLP+1hPWAx2ds227CKp5cebVkD5B2Z59L+3dzdINc="; 30 31 }; 31 32 32 33 propagatedBuildInputs = [ ··· 50 51 51 52 pythonImportsCheck = [ "httpx" ]; 52 53 54 + # testsuite wants to find installed packages for testing entrypoint 55 + preCheck = '' 56 + export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH 57 + ''; 58 + 53 59 disabledTests = [ 54 60 # httpcore.ConnectError: [Errno 101] Network is unreachable 55 61 "test_connect_timeout" 56 62 # httpcore.ConnectError: [Errno -2] Name or service not known 57 63 "test_async_proxy_close" 58 64 "test_sync_proxy_close" 65 + # sensitive to charset_normalizer output 66 + "iso-8859-1" 67 + "test_response_no_charset_with_iso_8859_1_content" 68 + ]; 69 + 70 + disabledTestPaths = [ 71 + "tests/test_main.py" 59 72 ]; 60 73 61 74 __darwinAllowLocalNetworking = true;
+4 -2
pkgs/development/python-modules/huggingface-hub/default.nix
··· 5 5 , filelock 6 6 , importlib-metadata 7 7 , packaging 8 + , pyyaml 8 9 , requests 9 10 , ruamel-yaml 10 11 , tqdm ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "huggingface-hub"; 16 - version = "0.0.18"; 17 + version = "0.1.2"; 17 18 18 19 src = fetchFromGitHub { 19 20 owner = "huggingface"; 20 21 repo = "huggingface_hub"; 21 22 rev = "v${version}"; 22 - sha256 = "sha256-SxA7rAdKuSrSYFIuxG81lblPJOL69Yx4rBccVrbQa/g="; 23 + sha256 = "1pmi76vinwwn0bcxy5hj8pxhzqxdbzp0y3hsd631yyys01s0n6xd"; 23 24 }; 24 25 25 26 nativeBuildInputs = [ packaging ]; 26 27 27 28 propagatedBuildInputs = [ 28 29 filelock 30 + pyyaml 29 31 requests 30 32 ruamel-yaml 31 33 tqdm
+34 -10
pkgs/development/python-modules/hyperopt/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage 2 - , cloudpickle, numpy, future, networkx 3 - , six, tqdm, scipy, pymongo 1 + { lib 2 + , buildPythonPackage 3 + , cloudpickle 4 + , fetchPypi 5 + , future 6 + , networkx 7 + , numpy 8 + , py4j 9 + , pymongo 10 + , pyspark 11 + , scipy 12 + , six 13 + , tqdm 4 14 }: 5 15 6 16 buildPythonPackage rec { 7 17 pname = "hyperopt"; 8 - version = "0.2.5"; 18 + version = "0.2.7"; 19 + format = "setuptools"; 9 20 10 21 src = fetchPypi { 11 22 inherit pname version; 12 - sha256 = "bc6047d50f956ae64eebcb34b1fd40f186a93e214957f20e87af2f10195295cc"; 23 + sha256 = "1bf89ae58050bbd32c7307199046117feee245c2fd9ab6255c7308522b7ca149"; 13 24 }; 14 25 15 - propagatedBuildInputs = [ future cloudpickle numpy networkx six tqdm scipy pymongo ]; 26 + propagatedBuildInputs = [ 27 + cloudpickle 28 + future 29 + networkx 30 + numpy 31 + py4j 32 + pymongo 33 + pyspark 34 + scipy 35 + six 36 + tqdm 37 + ]; 16 38 17 39 # tries to use /homeless-shelter to mimic container usage, etc 18 40 doCheck = false; 19 41 20 - pythonImportsCheck = [ "hyperopt" ]; 42 + pythonImportsCheck = [ 43 + "hyperopt" 44 + ]; 21 45 22 46 meta = with lib; { 23 47 description = "Distributed Asynchronous Hyperparameter Optimization"; 24 - homepage = "http://hyperopt.github.com/hyperopt/"; 25 - license = licenses.bsd2; 26 - platforms = platforms.unix; 48 + homepage = "http://hyperopt.github.io/hyperopt/"; 49 + license = licenses.bsd2; 50 + platforms = platforms.unix; 27 51 maintainers = with maintainers; [ freezeboy ]; 28 52 }; 29 53 }
+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.24.5"; 21 + version = "6.27.1"; 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 = "+pPnMgbLdYbh0xqPewNOJRaL7VtxeN73wbHHuK0fNYo="; 28 + sha256 = "05kfz041vrd9fy8gl8ch05g806jj4j6l1cnwhqgygagn9z3aq1jx"; 29 29 }; 30 30 31 31 postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
+2 -2
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "ibm-cloud-sdk-core"; 14 - version = "3.13.0"; 14 + version = "3.13.2"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "b27aec03e8c666b3e36c68b2331871f37a0c6c0467fe0f73462fda7300d3c19f"; 18 + sha256 = "9c615b3a6e9d9dc1c69d8f38742b156e12408521fa180a66558bbb7b850bbbc2"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/idna/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "idna"; 9 - version = "3.2"; 9 + version = "3.3"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3"; 13 + sha256 = "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"; 14 14 }; 15 15 16 16 checkInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/ignite/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "ignite"; 17 - version = "0.4.6"; 17 + version = "0.4.7"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "pytorch"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-dlKGXjUUnyYmPDilo0LQg9OkSkBnMYNgzlFLIfI0T6I="; 23 + sha256 = "11gvw0yqb3y5ddifs5f38bgslvfmw1bmd9rga1ynlrmmgmhxym6h"; 24 24 }; 25 25 26 26 checkInputs = [ pytestCheckHook matplotlib mock pytest-xdist torchvision ];
+18 -2
pkgs/development/python-modules/imageio/default.nix
··· 7 7 , pillow 8 8 , psutil 9 9 , pytestCheckHook 10 + , tifffile 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "imageio"; 14 - version = "2.9.0"; 15 + version = "2.12.0"; 15 16 disabled = isPy27; 16 17 17 18 src = fetchPypi { 18 - sha256 = "52ddbaeca2dccf53ba2d6dec5676ca7bc3b2403ef8b37f7da78b7654bb3e10f0"; 19 + sha256 = "c416dd68328ace8536ff333cbb8927954036be56e201fed416e53e8f95e08a6c"; 19 20 inherit pname version; 20 21 }; 21 22 ··· 28 29 checkInputs = [ 29 30 psutil 30 31 pytestCheckHook 32 + tifffile 31 33 ]; 32 34 33 35 preCheck = '' ··· 35 37 export IMAGEIO_NO_INTERNET="true" 36 38 export HOME="$(mktemp -d)" 37 39 ''; 40 + 41 + disabledTests = [ 42 + # tries to pull remote resources, even with IMAGEIO_NO_INTERNET 43 + "test_png_remote" 44 + # needs git history 45 + "test_mvolread_out_of_bytes" 46 + "test_imiter" 47 + "test_memory_size" 48 + "test_legacy_write_empty" 49 + ]; 50 + 51 + disabledTestPaths = [ 52 + "tests/test_pillow.py" 53 + ]; 38 54 39 55 meta = with lib; { 40 56 description = "Library for reading and writing a wide range of image, video, scientific, and volumetric data formats";
+2 -2
pkgs/development/python-modules/imagesize/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "imagesize"; 8 - version = "1.2.0"; 8 + version = "1.3.0"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1"; 12 + sha256 = "cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"; 13 13 }; 14 14 15 15 meta = with lib; {
+2 -2
pkgs/development/python-modules/ipykernel/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "ipykernel"; 16 - version = "6.4.1"; 16 + version = "6.5.1"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "df3355e5eec23126bc89767a676c5f0abfc7f4c3497d118c592b83b316e8c0cd"; 20 + sha256 = "dd27172bccbbcfef952991e49372e4c6fd1c14eed0df05ebd5b4335cb27a81a2"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ipython/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "ipython"; 25 - version = "7.28.0"; 25 + version = "7.29.0"; 26 26 disabled = pythonOlder "3.7"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "2097be5c814d1b974aea57673176a924c4c8c9583890e7a5f082f547b9975b11"; 30 + sha256 = "4f69d7423a5a1972f6347ff233e38bbf4df6a150ef20fbb00c635442ac3060aa"; 31 31 }; 32 32 33 33 prePatch = lib.optionalString stdenv.isDarwin ''
+2 -2
pkgs/development/python-modules/ipyvue/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "ipyvue"; 11 - version = "1.6.1"; 11 + version = "1.7.0"; 12 12 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "6cc15428bfcd5c7daae73c45c776b34056fe4d885a34192fb93efc80d6b9753f"; 17 + sha256 = "fa8ff9b9a73b5a925c4af4c05f1839df2bd0fae0063871f403ee821792d5ab72"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ ipywidgets ];
+2 -2
pkgs/development/python-modules/iterm2/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "iterm2"; 8 - version = "1.29"; 8 + version = "1.30"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "8245562ed713fd473520f81361cdc1b15835920e1ceb7d588678cd153e77c2b6"; 12 + sha256 = "148b32a593f3d932a33daad01fdaa4639918eca74a6e153d9729dd8b3cba3345"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [ protobuf websockets ];
+9 -3
pkgs/development/python-modules/janus/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }: 1 + { lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio 2 + , typing-extensions 3 + }: 2 4 3 5 buildPythonPackage rec { 4 6 pname = "janus"; 5 - version = "0.6.2"; 7 + version = "0.7.0"; 6 8 7 9 src = fetchPypi { 8 10 inherit pname version; 9 - sha256 = "127edc891f9e13420dd12f230d5113fa3de7f93662b81acfaf845989edf5eebf"; 11 + sha256 = "f10dcf5776e8d49cc30ec86d5eb7268eeec39abaa24fe0332ee8fb8fa3611845"; 10 12 }; 11 13 12 14 disabled = pythonOlder "3.6"; 15 + 16 + propagatedBuildInputs = [ 17 + typing-extensions 18 + ]; 13 19 14 20 checkInputs = [ pytest-asyncio pytestCheckHook ]; 15 21
+44
pkgs/development/python-modules/jaraco-context/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , setuptools-scm 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "jaraco-context"; 10 + version = "4.1.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "jaraco"; 17 + repo = "jaraco.context"; 18 + rev = "v${version}"; 19 + sha256 = "O9Lwv2d/qbiXxIVCp6FLmVKaz0MzAUkoUd0jAyIvgJc="; 20 + }; 21 + 22 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 23 + 24 + pythonNamespaces = [ 25 + "jaraco" 26 + ]; 27 + 28 + nativeBuildInputs = [ 29 + setuptools-scm 30 + ]; 31 + 32 + # Module has no tests 33 + doCheck = false; 34 + 35 + pythonImportsCheck = [ "jaraco.context" ]; 36 + 37 + 38 + meta = with lib; { 39 + description = "Python module for context management"; 40 + homepage = "https://github.com/jaraco/jaraco.context"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+2 -2
pkgs/development/python-modules/jaraco_functools/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "jaraco.functools"; 7 - version = "3.3.0"; 7 + version = "3.4.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "bfcf7da71e2a0e980189b0744b59dba6c1dcf66dcd7a30f8a4413e478046b314"; 11 + sha256 = "659a64743047d00c6ae2a2aa60573c62cfc0b4b70eaa14fa50c80360ada32aa8"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ setuptools-scm ];
+25 -7
pkgs/development/python-modules/jaraco_text/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pythonOlder 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 2 5 , importlib-resources 3 6 , jaraco_functools 7 + , jaraco-context 4 8 , setuptools-scm 5 9 }: 6 10 7 11 buildPythonPackage rec { 8 12 pname = "jaraco.text"; 9 - version = "3.5.1"; 13 + version = "3.6.0"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.6"; 10 17 11 18 src = fetchPypi { 12 19 inherit pname version; 13 - sha256 = "ede4e9103443b62b3d1d193257dfb85aab7c69a6cef78a0887d64bb307a03bc3"; 20 + sha256 = "901d3468eaaa04f1d8a8f141f54b8887bfd943ccba311fc1c1de62c66604dfe0"; 14 21 }; 15 22 16 - pythonNamespaces = [ "jaraco" ]; 23 + pythonNamespaces = [ 24 + "jaraco" 25 + ]; 17 26 18 - nativeBuildInputs =[ setuptools-scm ]; 27 + nativeBuildInputs = [ 28 + setuptools-scm 29 + ]; 30 + 19 31 propagatedBuildInputs = [ 32 + jaraco-context 20 33 jaraco_functools 21 - ] ++ lib.optional (pythonOlder "3.7") [ importlib-resources ]; 34 + ] ++ lib.optional (pythonOlder "3.9") [ 35 + importlib-resources 36 + ]; 22 37 23 38 # no tests in pypi package 24 39 doCheck = false; 25 40 41 + pythonImportsCheck = [ 42 + "jaraco.text" 43 + ]; 44 + 26 45 meta = with lib; { 27 46 description = "Module for text manipulation"; 28 47 homepage = "https://github.com/jaraco/jaraco.text"; 29 48 license = licenses.mit; 30 49 maintainers = with maintainers; [ ]; 31 50 }; 32 - 33 51 }
+2 -2
pkgs/development/python-modules/jax/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "jax"; 16 - version = "0.2.24"; 16 + version = "0.2.25"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 owner = "google"; 23 23 repo = pname; 24 24 rev = "jax-v${version}"; 25 - sha256 = "1mmn1m4mprpwqlb1smjfdy3f74zm9p3l9dhhn25x6jrcj2cgc5pi"; 25 + sha256 = "0f32is9896g4shfhjipj3rlgpjxci5y607lp8gxlgsdzdqfpckm2"; 26 26 }; 27 27 28 28 # jaxlib is _not_ included in propagatedBuildInputs because there are
+2 -2
pkgs/development/python-modules/jedi-language-server/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "jedi-language-server"; 16 - version = "0.34.8"; 16 + version = "0.34.11"; 17 17 format = "pyproject"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "pappasam"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-mJGgDDjPZXde4M4OHwj81KYoaFXFAwOZ+v18YE+arFE="; 23 + sha256 = "0gxpq93mfyzhjz5yvjwv2jjda1djpf20x38893ngswsm7lrh62x5"; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "jellyfin-apiclient-python"; 12 - version = "1.7.2"; 12 + version = "1.8.0"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-nSLUa9/jAT6XrHo77kV5HYBxPO/lhcWKqPfpES7ul9A="; 17 + sha256 = "a47d66166d1e9d3f0b38260004081bfd3fd9c07ca1b50181bbb980c4d7aeee34"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jenkins-job-builder/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "jenkins-job-builder"; 12 - version = "3.10.0"; 12 + version = "3.11.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-8MP8YHIkxDqjPsUYv6ROmuRwcGMzPpsVCRwxga3XdYU="; 16 + sha256 = "42ea423f44beafee0e985009124968e300447f6e3be4180e83568cf21520d1b1"; 17 17 }; 18 18 19 19 postPatch = ''
+2 -1
pkgs/development/python-modules/jinja2/2.nix
··· 21 21 22 22 # Multiple tests run out of stack space on 32bit systems with python2. 23 23 # See https://github.com/pallets/jinja/issues/1158 24 - doCheck = !stdenv.is32bit || isPy3k; 24 + # warnings are no longer being filtered correctly for python2 25 + doCheck = !stdenv.is32bit && isPy3k; 25 26 26 27 checkPhase = '' 27 28 pytest -v tests -W ignore::DeprecationWarning
+2 -2
pkgs/development/python-modules/jinja2/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "Jinja2"; 13 - version = "3.0.2"; 13 + version = "3.0.3"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "827a0e32839ab1600d4eb1c4c33ec5a8edfbc5cb42dafa13b81f182f97784b45"; 18 + sha256 = "611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/josepy/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "josepy"; 13 - version = "1.10.0"; 13 + version = "1.11.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "e9bcaf605411cadaec04841ae2d5f77ebb178b7b6df7c9aed1d97399ac18685b"; 17 + sha256 = "40ef59f2f537ec01bafe698dad66281f6ccf4642f747411647db403ab8fa9a2d"; 18 18 }; 19 19 20 20 postPatch = ''
+39
pkgs/development/python-modules/jschema-to-python/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi 2 + , attrs 3 + , jsonpickle 4 + , pbr 5 + , pytestCheckHook 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "jschema-to-python"; 10 + version = "1.2.3"; 11 + 12 + src = fetchPypi { 13 + pname = "jschema_to_python"; 14 + inherit version; 15 + sha256 = "76ff14fe5d304708ccad1284e4b11f96a658949a31ee7faed9e0995279549b91"; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + pbr 20 + ]; 21 + 22 + propagatedBuildInputs = [ 23 + attrs 24 + jsonpickle 25 + ]; 26 + 27 + checkInputs =[ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ "jschema_to_python" ]; 32 + 33 + meta = with lib; { 34 + description = "Generate source code for Python classes from a JSON schema"; 35 + homepage = "https://github.com/microsoft/jschema-to-python"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ jonringer ]; 38 + }; 39 + }
+2 -2
pkgs/development/python-modules/jsonpointer/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "jsonpointer"; 8 - version = "2.1"; 8 + version = "2.2"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "5a34b698db1eb79ceac454159d3f7c12a451a91f6334a4f638454327b7a89962"; 12 + sha256 = "f09f8deecaaa5aea65b5eb4f67ca4e54e1a61f7a11c75085e360fe6feb6a48bf"; 13 13 }; 14 14 15 15 meta = with lib; {
+2 -2
pkgs/development/python-modules/jsonwatch/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "jsonwatch"; 10 - version = "0.2.0"; 10 + version = "0.6.0"; 11 11 disabled = isPyPy; # doesn't find setuptools 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "dbohdan"; 15 15 repo = "jsonwatch"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-yLN6jOxAz+B7zvV3tGT6Nxi17v9ZOtWpbtSi0o1h48U="; 17 + sha256 = "0abmyv3nrfqhjmfnvpn4q3yc05a1gamfxj5frlbn1lidzzhb8rac"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/jupyter-client/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "jupyter_client"; 17 - version = "7.0.6"; 17 + version = "7.1.0"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "8b6e06000eb9399775e0a55c52df6c1be4766666209c22f90c2691ded0e338dc"; 21 + sha256 = "a5f995a73cffb314ed262713ae6dfce53c6b8216cea9f332071b8ff44a6e1654"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jupyter_core/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "jupyter_core"; 15 - version = "4.8.1"; 15 + version = "4.9.1"; 16 16 disabled = !isPy3k; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "ef210dcb4fca04de07f2ead4adf408776aca94d17151d6f750ad6ded0b91ea16"; 20 + sha256 = "dce8a7499da5a53ae3afd5a9f4b02e5df1d57250cf48f3ad79da23b4778cd6fa"; 21 21 }; 22 22 23 23 checkInputs = [ pytest mock glibcLocales nose ];
+2 -2
pkgs/development/python-modules/jupyterlab/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jupyterlab"; 13 - version = "3.2.3"; 13 + version = "3.2.4"; 14 14 disabled = pythonOlder "3.5"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "7d74593e52d4dbfacbb98e14cac4bc765ea2cffb1b980675f44930d622871705"; 18 + sha256 = "f692e0d95338d60f72dde660f16f3955a087775c59ec541ddb25952e3f97e9b1"; 19 19 }; 20 20 21 21 nativeBuildInputs = [ jupyter-packaging ];
+2 -2
pkgs/development/python-modules/k5test/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "k5test"; 13 - version = "0.10.0"; 13 + version = "0.10.1"; 14 14 15 15 disabled = pythonOlder "3.6"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "fc5e7e5e286b2f331c1396c33f2a1cd8cf34e78d8d482168a50ffd8576a1455c"; 19 + sha256 = "2c9181133f3d52c8e29a5ba970b668273c08f855e5da834aaee2ea9efeb6b069"; 20 20 }; 21 21 22 22 patches = [
+2 -1
pkgs/development/python-modules/karton-dashboard/default.nix
··· 10 10 buildPythonPackage rec { 11 11 pname = "karton-dashboard"; 12 12 version = "1.2.1"; 13 + format = "setuptools"; 13 14 14 15 src = fetchFromGitHub { 15 16 owner = "CERT-Polska"; ··· 28 29 postPatch = '' 29 30 substituteInPlace requirements.txt \ 30 31 --replace "Flask==1.1.1" "Flask" \ 31 - --replace "prometheus-client==0.9.0" "prometheus-client" 32 + --replace "prometheus-client==0.10.0" "prometheus-client" 32 33 ''; 33 34 34 35 # Project has no tests. pythonImportsCheck requires MinIO configuration
+2 -2
pkgs/development/python-modules/kombu/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "kombu"; 18 - version = "5.2.1"; 18 + version = "5.2.2"; 19 19 20 20 disabled = pythonOlder "3.6"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "f262a2adc71b53e5b7dad4933bbdee65d8766ca4df6a9043b13edaad2144aaec"; 24 + sha256 = "0f5d0763fb916808f617b886697b2be28e6bc35026f08e679697fc814b48a608"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/labelbox/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "labelbox"; 22 - version = "3.6.1"; 22 + version = "3.10.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 = "0mix7ajdvyhyvi8nwmxz62mzwl3242h2pzj84zikrmh1ampwvg3g"; 29 + sha256 = "0afrzxy8hmsvqp84mf89k7sqlzzyh6xwp2pz5abj0981mqlzf2x9"; 30 30 }; 31 31 32 32 propagatedBuildInputs = [
+29 -11
pkgs/development/python-modules/langcodes/default.nix
··· 3 3 , marisa-trie 4 4 , pythonOlder 5 5 , fetchPypi 6 - , nose 6 + , poetry-core 7 + , pytestCheckHook 8 + , language-data 7 9 }: 8 10 9 11 buildPythonPackage rec { 10 12 pname = "langcodes"; 11 - version = "3.2.1"; 12 - disabled = pythonOlder "3.3"; 13 + version = "3.3.0"; 14 + format = "pyproject"; 15 + 16 + disabled = pythonOlder "3.6"; 13 17 14 18 src = fetchPypi { 15 19 inherit pname version; 16 - sha256 = "779a6da5036f87b6b56c180b2782ab111ddd6aa9157670a9b918402b0e07cd93"; 20 + sha256 = "794d07d5a28781231ac335a1561b8442f8648ca07cd518310aeb45d6f0807ef6"; 17 21 }; 18 22 19 - propagatedBuildInputs = [ marisa-trie ]; 23 + nativeBuildInputs = [ 24 + poetry-core 25 + ]; 20 26 21 - checkInputs = [ nose ]; 27 + propagatedBuildInputs = [ 28 + language-data 29 + marisa-trie 30 + ]; 22 31 23 - checkPhase = '' 24 - nosetests 25 - ''; 32 + checkInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + disabledTests = [ 37 + # AssertionError: assert 'Unknown language [aqk]' == 'Aninka' 38 + "test_updated_iana" 39 + ]; 40 + 41 + pythonImportsCheck = [ 42 + "langcodes" 43 + ]; 26 44 27 45 meta = with lib; { 28 - description = "A toolkit for working with and comparing the standardized codes for languages, such as ‘en’ for English or ‘es’ for Spanish"; 29 - homepage = "https://github.com/LuminosoInsight/langcodes"; 46 + description = "Python toolkit for working with and comparing the standardized codes for languages"; 47 + homepage = "https://github.com/LuminosoInsight/langcodes"; 30 48 license = licenses.mit; 31 49 maintainers = with maintainers; [ ixxie ]; 32 50 };
+44
pkgs/development/python-modules/language-data/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitHub 4 + , marisa-trie 5 + , poetry-core 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonApplication rec { 10 + pname = "language-data"; 11 + version = "1.0.1"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.6"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "rspeer"; 18 + repo = "language_data"; 19 + rev = "v${version}"; 20 + sha256 = "51TUVHXPHG6ofbnxI6+o5lrtr+QCIpGKu+OjDK3l7Mc="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + poetry-core 25 + ]; 26 + 27 + propagatedBuildInputs = [ 28 + marisa-trie 29 + ]; 30 + 31 + # Module has no tests 32 + doCheck = false; 33 + 34 + pythonImportsCheck = [ 35 + "language_data" 36 + ]; 37 + 38 + meta = with lib; { 39 + description = "Supplement module for langcodes"; 40 + homepage = "https://github.com/rspeer/language_data"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+2 -2
pkgs/development/python-modules/ledgerblue/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "ledgerblue"; 8 - version = "0.1.38"; 8 + version = "0.1.41"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "df1fffc4f586eaa95b8cf910176d28997e65a3ecd43d9c0af34e46078b6b6ee3"; 12 + sha256 = "7246a1a0442a63aff0b5de2796d306f0033e1937b3c9b9c2a92c9101cde4fe8d"; 13 13 }; 14 14 15 15 propagatedBuildInputs = [
+15 -2
pkgs/development/python-modules/libcst/default.nix
··· 9 9 , python 10 10 , pythonOlder 11 11 , pyyaml 12 + , setuptools-scm 12 13 , typing-extensions 13 14 , typing-inspect 14 15 }: 15 16 16 17 buildPythonPackage rec { 17 18 pname = "libcst"; 18 - version = "0.3.21"; 19 + version = "0.3.23"; 19 20 format = "setuptools"; 20 21 21 22 disabled = pythonOlder "3.6"; ··· 24 25 owner = "instagram"; 25 26 repo = pname; 26 27 rev = "v${version}"; 27 - sha256 = "063bl21gyyd25i2v0j6kz29cxxdfhng2nins4i2qblmac90f2nqy"; 28 + sha256 = "1r4aiqpndqa75119faknsghi7zxyjrx5r6i7cb3d0liwiqrkzrvx"; 28 29 }; 30 + 31 + postPatch = '' 32 + # test try to format files, which isn't necessary when consuming releases 33 + sed -i libcst/codegen/generate.py \ 34 + -e '/ufmt/c\ pass' 35 + ''; 36 + 37 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 38 + 39 + nativeBuildInputs = [ 40 + setuptools-scm 41 + ]; 29 42 30 43 propagatedBuildInputs = [ 31 44 hypothesis
+2 -2
pkgs/development/python-modules/limnoria/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "limnoria"; 10 - version = "2021.10.9"; 10 + version = "2021.11.20"; 11 11 disabled = isPy27; # abandoned upstream 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "907a4a0765ab29ccd1c2247efa0eda7a9bd82d3be3a2ecfdeb9b9e6fbb9aa56e"; 15 + sha256 = "da9c33497a09b4ed0cff6ed44954bbde6cb317edb68d56c73ef235128a802c11"; 16 16 }; 17 17 18 18 postPatch = ''
+3 -3
pkgs/development/python-modules/lxml/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "lxml"; 11 - version = "4.6.3"; 11 + version = "4.6.4-5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = pname; 15 15 repo = pname; 16 - rev = "${pname}-${version}"; 17 - sha256 = "1rhkv75qr4ij3653l97sy752gyp6f20sxfpiqp1vp08fpy47q8qn"; 16 + rev = "lxml-${version}"; 17 + sha256 = "159cc48nl40qsx8pc8sasgny5xc0s3y0xrq3w3aw53s3ijncsgfl"; 18 18 }; 19 19 20 20 # setuptoolsBuildPhase needs dependencies to be passed through nativeBuildInputs
+3 -3
pkgs/development/python-modules/lz4/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "python-lz4"; 16 - version = "3.1.3"; 16 + version = "3.1.10"; 17 17 18 18 # get full repository inorder to run tests 19 19 src = fetchFromGitHub { 20 20 owner = pname; 21 21 repo = pname; 22 - rev = "v${version}"; 23 - sha256 = "009c4rbyj4cjb8fznccfpr5wrzdmi56wq990yjh22n0z2qqylmkf"; 22 + rev = version; 23 + sha256 = "0a4gic8xh3simkk5k8302rxwf765pr6y63k3js79mkl983vpxcim"; 24 24 }; 25 25 26 26 nativeBuildInputs = [ setuptools-scm pkgconfig pytest-runner ];
+55 -14
pkgs/development/python-modules/matplotlib/default.nix
··· 1 1 { lib, stdenv, fetchPypi, writeText, buildPythonPackage, isPy3k, pycairo 2 2 , which, cycler, python-dateutil, numpy, pyparsing, sphinx, tornado, kiwisolver 3 3 , freetype, qhull, libpng, pkg-config, mock, pytz, pygobject3, gobject-introspection 4 - , certifi, pillow 4 + , certifi, pillow, fonttools, setuptools-scm, setuptools-scm-git-archive, packaging 5 5 , enableGhostscript ? true, ghostscript, gtk3 6 6 , enableGtk3 ? false, cairo 7 7 # darwin has its own "MacOSX" backend ··· 17 17 in 18 18 19 19 buildPythonPackage rec { 20 - version = "3.4.3"; 20 + version = "3.5.0"; 21 21 pname = "matplotlib"; 22 + format = "setuptools"; 22 23 23 24 disabled = !isPy3k; 24 25 25 26 src = fetchPypi { 26 27 inherit pname version; 27 - sha256 = "06032j0ccjxldx4z9kf97qps2g36mfgvy1nap3b9n75kzmnm4kzw"; 28 + sha256 = "38892a254420d95594285077276162a5e9e9c30b6da08bdc2a4d53331ad9a6fa"; 28 29 }; 29 30 30 31 XDG_RUNTIME_DIR = "/tmp"; 31 32 32 - nativeBuildInputs = [ pkg-config ]; 33 + nativeBuildInputs = [ 34 + pkg-config 35 + setuptools-scm 36 + setuptools-scm-git-archive 37 + ]; 33 38 34 - buildInputs = [ which sphinx ] 35 - ++ lib.optional enableGhostscript ghostscript 36 - ++ lib.optional stdenv.isDarwin [ Cocoa ]; 39 + buildInputs = [ 40 + which 41 + sphinx 42 + ] ++ lib.optional enableGhostscript [ 43 + ghostscript 44 + ] ++ lib.optional stdenv.isDarwin [ 45 + Cocoa 46 + ]; 37 47 38 - propagatedBuildInputs = 39 - [ cycler python-dateutil numpy pyparsing tornado freetype qhull 40 - kiwisolver certifi libpng mock pytz pillow ] 41 - ++ lib.optionals enableGtk3 [ cairo pycairo gtk3 gobject-introspection pygobject3 ] 42 - ++ lib.optionals enableTk [ tcl tk tkinter libX11 ] 43 - ++ lib.optionals enableQt [ pyqt5 ]; 48 + propagatedBuildInputs = [ 49 + certifi 50 + cycler 51 + fonttools 52 + freetype 53 + kiwisolver 54 + libpng 55 + mock 56 + numpy 57 + packaging 58 + pillow 59 + pyparsing 60 + python-dateutil 61 + pytz 62 + qhull 63 + tornado 64 + ] ++ lib.optionals enableGtk3 [ 65 + cairo 66 + gobject-introspection 67 + gtk3 68 + pycairo 69 + pygobject3 70 + ] ++ lib.optionals enableTk [ 71 + libX11 72 + tcl 73 + tk 74 + tkinter 75 + ] ++ lib.optionals enableQt [ 76 + pyqt5 77 + ]; 44 78 45 79 passthru.config = { 46 80 directories = { basedirlist = "."; }; ··· 52 86 enable_lto = false; 53 87 }; 54 88 }; 89 + 55 90 setup_cfg = writeText "setup.cfg" (lib.generators.toINI {} passthru.config); 91 + 56 92 preBuild = '' 57 93 cp "$setup_cfg" ./setup.cfg 58 94 ''; ··· 74 110 substituteInPlace src/_c_internal_utils.c \ 75 111 --replace libX11.so.6 ${libX11}/lib/libX11.so.6 \ 76 112 --replace libwayland-client.so.0 ${wayland}/lib/libwayland-client.so.0 113 + '' + 114 + # avoid matplotlib trying to download dependencies 115 + '' 116 + echo "[libs] 117 + system_freetype=true 118 + system_qhull=true" > mplsetup.cfg 77 119 ''; 78 120 79 121 # Matplotlib needs to be built against a specific version of freetype in ··· 86 128 license = with licenses; [ psfl bsd0 ]; 87 129 maintainers = with maintainers; [ lovek323 veprbl ]; 88 130 }; 89 - 90 131 }
+2 -2
pkgs/development/python-modules/mautrix/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "mautrix"; 7 - version = "0.11.3"; 7 + version = "0.12.4"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "sha256-eZ8fWemS808Hz6KoQWfMsk5WfaO+vj0kTyInhtE20Qk="; 11 + sha256 = "c8d226a96e57d52bb532d7e572ba5670d2e2143f720063a4bbd04a77049030d4"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mayavi/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "mayavi"; 7 - version = "4.7.3"; 7 + version = "4.7.4"; 8 8 9 9 disabled = pythonOlder "3.8"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 13 extension = "tar.gz"; 14 - sha256 = "Zw0AI7nNLSNGxFHbm6L2HaI6XfUDOyWuqJy22BuUZPA="; 14 + sha256 = "ec50e7ec6afb0f9224ad1863d104a0d1ded6c8deb13e720652007aaca2303332"; 15 15 }; 16 16 17 17 postPatch = ''
+2 -2
pkgs/development/python-modules/metakernel/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "metakernel"; 9 - version = "0.27.5"; 9 + version = "0.28.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "0aqq9zil6h7kxsg3v2008nr6lv47qvcsash8qzmi1xh6r4x606zy"; 13 + sha256 = "3b57eb7b3b332614dcba1fa53c8cc1253dbccf962b111517ea16cbecce9a11d5"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ ipykernel ];
+2 -2
pkgs/development/python-modules/mlflow/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "mlflow"; 27 - version = "1.20.2"; 27 + version = "1.21.0"; 28 28 disabled = isPy27; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "b15ff0c7e5e64f864a0b40c99b9a582227315eca2065d9f831db9aeb8f24637b"; 32 + sha256 = "5524a371f19c66a18e7ebe9b1085a77f63a6ae514271e487428f28187d79fc8f"; 33 33 }; 34 34 35 35 # run into https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config
+2 -2
pkgs/development/python-modules/mocket/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "mocket"; 22 - version = "3.10.0"; 22 + version = "3.10.1"; 23 23 disabled = !isPy3k; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "1fcb4203ae257145b97c865135b3a064b47f20f42dde88c8579f43d88f1a7dfb"; 27 + sha256 = "c77e75432c21108e5a28a529793eb2b82753b6f7050ac9f59fc5d7a72fa74c0f"; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/more-itertools/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "more-itertools"; 12 - version = "8.10.0"; 12 + version = "8.12.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-HevKvrHfeTgUhZ1kqBrXyxBQTCQ0k2jM8hTGZMR09B8="; 16 + sha256 = "7dc6ad46f05f545f900dd59e8dfb4e84a4827b97b3cfecb175ea0c7d247f6064"; 17 17 }; 18 18 19 19 checkInputs = [ nose ];
+2 -2
pkgs/development/python-modules/msgpack/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "msgpack"; 9 - version = "1.0.2"; 9 + version = "1.0.3"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "1109s2yynrahwi64ikax68hx0mbclz8p35afmpphw5dwynb49q7s"; 13 + sha256 = "51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e"; 14 14 }; 15 15 16 16 checkPhase = ''
+2 -2
pkgs/development/python-modules/mysqlclient/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "mysqlclient"; 5 - version = "2.0.3"; 5 + version = "2.1.0"; 6 6 7 7 nativeBuildInputs = [ 8 8 libmysqlclient ··· 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432"; 20 + sha256 = "973235686f1b720536d417bf0a0d39b4ab3d5086b2b6ad5e6752393428c02b12"; 21 21 }; 22 22 23 23 meta = with lib; {
+2 -2
pkgs/development/python-modules/natsort/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "natsort"; 15 - version = "7.1.1"; 15 + version = "7.2.0"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "00c603a42365830c4722a2eb7663a25919551217ec09a243d3399fa8dd4ac403"; 22 + sha256 = "e7054b4e1f47365f141602a742685165a552291b643a214652d0dd9d6cea58d1"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/nbconvert/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "nbconvert"; 26 - version = "6.2.0"; 26 + version = "6.3.0"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "16ceecd0afaa8fd26c245fa32e2c52066c02f13aa73387fffafd84750baea863"; 30 + sha256 = "5e77d6203854944520105e38f2563a813a4a3708e8563aa598928a3b5ee1081a"; 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/nipype/default.nix
··· 49 49 50 50 buildPythonPackage rec { 51 51 pname = "nipype"; 52 - version = "1.6.1"; 52 + version = "1.7.0"; 53 53 disabled = isPy27; 54 54 55 55 src = fetchPypi { 56 56 inherit pname version; 57 - sha256 = "8428cfc633d8e3b8c5650e241e9eedcf637b7969bcd40f3423334d4c6b0992b5"; 57 + sha256 = "e689fe2e5049598c9cd3708e8df1cac732fa1a88696f283e3bc0a70fecb8ab51"; 58 58 }; 59 59 60 60 postPatch = ''
+2 -2
pkgs/development/python-modules/notebook/default.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "notebook"; 30 - version = "6.4.4"; 30 + version = "6.4.6"; 31 31 disabled = !isPy3k; 32 32 33 33 src = fetchPypi { 34 34 inherit pname version; 35 - sha256 = "26b0095c568e307a310fd78818ad8ebade4f00462dada4c0e34cbad632b9085d"; 35 + sha256 = "7bcdf79bd1cda534735bd9830d2cbedab4ee34d8fe1df6e7b946b3aab0902ba3"; 36 36 }; 37 37 38 38 LC_ALL = "en_US.utf8";
+2 -2
pkgs/development/python-modules/numpy/default.nix
··· 40 40 }; 41 41 in buildPythonPackage rec { 42 42 pname = "numpy"; 43 - version = "1.21.2"; 43 + version = "1.21.4"; 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 = "423216d8afc5923b15df86037c6053bf030d15cc9e3224206ef868c2d63dd6dc"; 50 + sha256 = "e6c76a87633aa3fa16614b61ccedfae45b91df2767cf097aa9c933932a7ed1e0"; 51 51 }; 52 52 53 53 patches = lib.optionals python.hasDistutilsCxxPatch [
+2 -2
pkgs/development/python-modules/openstacksdk/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "openstacksdk"; 21 - version = "0.59.0"; 21 + version = "0.60.0"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "sha256-PfdgzScjmKv6yM6+Yu64LLxJe7JdTdcHV290qM6avw0="; 25 + sha256 = "aa6efead2ac116482f29aecc2c14ba3b4c76a6f8dede93bf296a2b65492ef420"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/packet-python/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "packet-python"; 15 - version = "1.44.1"; 15 + version = "1.44.2"; 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "ec0f40465fad5260a1b2c1ad39dc12c5df65828e171bf2aafb13c1c3883628ba"; 18 + sha256 = "4ce0827bc41d5bf5558284c18048344343f7c4c6e280b64bbe53fb51ab454892"; 19 19 }; 20 20 nativeBuildInputs = [ pytest-runner ]; 21 21 propagatedBuildInputs = [ requests ];
+5 -2
pkgs/development/python-modules/pandas/default.nix
··· 27 27 28 28 buildPythonPackage rec { 29 29 pname = "pandas"; 30 - version = "1.3.3"; 30 + version = "1.3.4"; 31 + format = "setuptools"; 31 32 32 33 src = fetchPypi { 33 34 inherit pname version; 34 - sha256 = "272c8cb14aa9793eada6b1ebe81994616e647b5892a370c7135efb2924b701df"; 35 + sha256 = "a2aa18d3f0b7d538e21932f637fbfe8518d085238b429e4790a35e1e44a96ffc"; 35 36 }; 36 37 37 38 nativeBuildInputs = [ cython ]; ··· 91 92 "test_from_coo" 92 93 # AssertionError: No common DType exists for the given inputs 93 94 "test_comparison_invalid" 95 + # AssertionError: Regex pattern '"quotechar" must be string, not int' 96 + "python-kwargs2" 94 97 ] ++ lib.optionals stdenv.isDarwin [ 95 98 "test_locale" 96 99 "test_clipboard"
+2 -2
pkgs/development/python-modules/panel/default.nix
··· 17 17 in 18 18 buildPythonPackage rec { 19 19 pname = "panel"; 20 - version = "0.12.1"; 20 + version = "0.12.5"; 21 21 22 22 # Don't forget to also update the node packages 23 23 # 1. retrieve the package.json file ··· 25 25 # 3. node2nix 26 26 src = fetchPypi { 27 27 inherit pname version; 28 - sha256 = "e4898d60abdb82f8a429df7f59dbf8bcaf7e19b3e633555512ceb4ce06678458"; 28 + sha256 = "351481f2a2176359b28effa64c9d9fce487d6758514109cab96f9ed84787ae99"; 29 29 }; 30 30 31 31 # Since 0.10.0 panel attempts to fetch from the web.
+5 -2
pkgs/development/python-modules/paramiko/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "paramiko"; 16 - version = "2.7.2"; 16 + version = "2.8.0"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035"; 20 + sha256 = "e673b10ee0f1c80d46182d3af7751d033d9b573dd7054d2d0aa46be186c3c1d2"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ bcrypt cryptography pynacl pyasn1 ]; 24 24 25 + # with python 3.9.6+, the deprecation warnings will fail the test suite 26 + # see: https://github.com/pyinvoke/invoke/issues/829 27 + doCheck = false; 25 28 checkInputs = [ invoke pytestCheckHook pytest-relaxed mock ]; 26 29 27 30 disabledTestPaths = [
+2 -2
pkgs/development/python-modules/parsy/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "parsy"; 5 - version = "1.3.0"; 5 + version = "1.4.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "bfc941ea5a69e6ac16bd4f7d9f807bbc17e35edd8b95bcd2499a25b059359012"; 9 + sha256 = "7c411373e520e97431f0b390db9d2cfc5089bc1d33f4f1584d2cdc9e6368f302"; 10 10 }; 11 11 12 12 checkInputs = [ pytest ];
+15 -1
pkgs/development/python-modules/pastescript/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , nose 5 + , python 6 + , pytestCheckHook 5 7 , six 6 8 , paste 7 9 , pastedeploy ··· 23 25 six 24 26 ]; 25 27 26 - checkInputs = [ nose ]; 28 + # test suite seems to unset PYTHONPATH 29 + doCheck = false; 30 + checkInputs = [ nose pytestCheckHook ]; 27 31 28 32 pythonNamespaces = [ "paste" ]; 33 + 34 + disabledTestPaths = [ 35 + "appsetup/testfiles" 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "paste.script" 40 + "paste.deploy" 41 + "paste.util" 42 + ]; 29 43 30 44 meta = with lib; { 31 45 description = "A pluggable command-line frontend, including commands to setup package file layouts";
+2 -2
pkgs/development/python-modules/pbr/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pbr"; 10 - version = "5.7.0"; 10 + version = "5.8.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1dvkqixz227bhhk7c9r2bwcm7kmkfqyxw1bkha0jf3z88laclla6"; 14 + sha256 = "672d8ebee84921862110f23fcec2acea191ef58543d34dfe9ef3d9f13c31cddf"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ setuptools ];
+2 -2
pkgs/development/python-modules/pc-ble-driver-py/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pc-ble-driver-py"; 19 - version = "0.16.1"; 19 + version = "0.16.2"; 20 20 21 21 disabled = pythonOlder "3.7" || pythonAtLeast "3.10"; 22 22 ··· 24 24 owner = "NordicSemiconductor"; 25 25 repo = "pc-ble-driver-py"; 26 26 rev = "v${version}"; 27 - sha256 = "0q2zag77drcjkjm0cbvy2sf6fq2a4yl5li1zv1xfwmy53ami9b5l"; 27 + sha256 = "013kpj2df5grkrzxak22k01mskpmwf7g3aa1fmxdwi90bb1sabs5"; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pdftotext/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pdftotext"; 5 - version = "2.2.1"; 5 + version = "2.2.2"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "a067c121654917ecbe07fbd71c807c34bbdb1ea029e269ddd11925ee7e191d3f"; 9 + sha256 = "2a9aa89bc62022408781b39d188fabf5a3ad1103b6630f32c4e27e395f7966ee"; 10 10 }; 11 11 12 12 postPatch = lib.optionalString stdenv.isDarwin ''
+5 -5
pkgs/development/python-modules/pex/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , setuptools 4 + , flit-core 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pex"; 9 - version = "2.1.55"; 10 - format = "setuptools"; 9 + version = "2.1.56"; 10 + format = "flit"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1f6b60b9c50996ec3476e36dddff34afa98dc2d68fa73ed121d3c41232df1379"; 14 + sha256 = "8dfb7ef551cc9d3d03a6e2dc1b1ba6183cd94f3cde7431836f017d60cc992d53"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ 18 - setuptools 18 + flit-core 19 19 ]; 20 20 21 21 # A few more dependencies I don't want to handle right now...
+2 -2
pkgs/development/python-modules/pillow/default.nix
··· 5 5 6 6 import ./generic.nix (rec { 7 7 pname = "Pillow"; 8 - version = "8.3.2"; 8 + version = "8.4.0"; 9 9 10 10 disabled = !isPy3k; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1361y215ydmdh4il1vay5831aqivmpwgzjqrphqjdiq0ipnz7qyx"; 14 + sha256 = "b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed"; 15 15 }; 16 16 17 17 meta = with lib; {
+2 -2
pkgs/development/python-modules/pip-tools/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pip-tools"; 15 - version = "6.3.1"; 15 + version = "6.4.0"; 16 16 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "992d968df6f1a19d4d37c53b68b3d4b601b894fb3ee0926d1fa762ebc7c7e9e9"; 21 + sha256 = "65553a15b1ba34be5e43889345062e38fb9b219ffa23b084ca0d4c4039b6f53b"; 22 22 }; 23 23 24 24 checkInputs = [
+2 -2
pkgs/development/python-modules/plotly/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "plotly"; 12 - version = "5.3.1"; 12 + version = "5.4.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "6598393e898a9c5ae78397f76f07002ec41fd92e5f746d3b9806248d53885643"; 16 + sha256 = "735d50738c760ecbf3a38e2336b8c1b119bff2d857096e4f68af31089b798161"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [
+7 -2
pkgs/development/python-modules/plugwise/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "plugwise"; 22 - version = "0.15.2"; 22 + version = "0.15.3"; 23 23 format = "setuptools"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = pname; 27 27 repo = "python-plugwise"; 28 28 rev = "v${version}"; 29 - sha256 = "sha256-VmLQ3L9FTHgdRPYmMg7ZoUApLEGKd5NANrSofhP1OQY="; 29 + sha256 = "sha256-HaH0LcH6L3R9vLT0vlM1absMTbfqgEeVi/aP2FqdnQY="; 30 30 }; 31 + 32 + postPatch = '' 33 + substituteInPlace setup.py \ 34 + --replace "aiohttp==3.8.0" "aiohttp>=3.8.0" 35 + ''; 31 36 32 37 propagatedBuildInputs = [ 33 38 aiohttp
+2 -2
pkgs/development/python-modules/plumbum/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "plumbum"; 8 - version = "1.7.0"; 8 + version = "1.7.1"; 9 9 10 10 checkInputs = [ pytest ]; 11 11 ··· 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "317744342c755319907c773cc87c3a30adaa3a41b0d34c0ce02d9d1904922dce"; 17 + sha256 = "3c0ac8c4ee57b2adddc82909d3c738a62ef5f77faf24ec7cb6f0a117e1679740"; 18 18 }; 19 19 }
+2 -2
pkgs/development/python-modules/policy-sentry/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "policy-sentry"; 15 - version = "0.11.18"; 15 + version = "0.11.19"; 16 16 disabled = pythonOlder "3.6"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "salesforce"; 20 20 repo = "policy_sentry"; 21 21 rev = version; 22 - sha256 = "sha256-1wpy4WofqrPusOI2BHRqSHfXlRpbuLOx97egzSAbB8E="; 22 + sha256 = "sha256-zYX2MMFIgts5brFb/hsgLHZbY5mncqnCmk7nGdxj/BM="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/prettytable/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "prettytable"; 13 - version = "2.2.1"; 13 + version = "2.4.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "6d465005573a5c058d4ca343449a5b28c21252b86afcdfa168cdc6a440f0b24c"; 17 + sha256 = "18e56447f636b447096977d468849c1e2d3cfa0af8e7b5acfcf83a64790c0aca"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/prometheus-client/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "prometheus-client"; 9 - version = "0.11.0"; 9 + version = "0.12.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "prometheus"; 13 13 repo = "client_python"; 14 14 rev = "v${version}"; 15 - sha256 = "14swmy4dgpk6cyjsm2advgc2c8api7xaca1sl7swznblh5fyzgzg"; 15 + sha256 = "1a0kllal5vkkdv325k0mx1mha2l9808mcz4dqx6qrgfskz8c2xjl"; 16 16 }; 17 17 18 18 checkInputs = [
+2 -2
pkgs/development/python-modules/proto-plus/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "proto-plus"; 13 - version = "1.19.4"; 13 + version = "1.19.8"; 14 14 disabled = !isPy3k; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "416dc38b090ca2093f6fac74977ac4a5599e496483a43c0076e6f6a4dd77ed9c"; 18 + sha256 = "bdf45f0e0be71510eb2ec9db4da78afde7b5fb8b0a507a36340a9b6ce8e48e58"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ protobuf ];
+2 -2
pkgs/development/python-modules/psycopg2/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "psycopg2"; 13 - version = "2.9.1"; 13 + version = "2.9.2"; 14 14 15 15 # Extension modules don't work well with PyPy. Use psycopg2cffi instead. 16 16 # c.f. https://github.com/NixOS/nixpkgs/pull/104151#issuecomment-729750892 ··· 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "0z0v2d5gpgy0wf2ypqxv955c9k44yszd7r20km5s79yhy6k06lyy"; 21 + sha256 = "a84da9fa891848e0270e8e04dcca073bc9046441eeb47069f5c0e36783debbea"; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+17 -5
pkgs/development/python-modules/pudb/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , dataclasses 3 4 , isPy3k 4 5 , fetchPypi 5 6 , jedi 6 7 , pygments 7 8 , urwid 9 + , urwid-readline 8 10 , pytest-mock 9 11 , pytestCheckHook 12 + , pythonOlder 10 13 }: 11 14 12 15 buildPythonPackage rec { 13 16 pname = "pudb"; 14 - version = "2021.1"; 17 + version = "2021.2.2"; 18 + format = "setuptools"; 19 + 15 20 disabled = !isPy3k; 16 21 17 22 src = fetchPypi { 18 23 inherit pname version; 19 - sha256 = "309ee82b45a0ffca0bc4c7f521fd3e357589c764f339bdf9dcabb7ad40692d6e"; 24 + sha256 = "82a524ab4b89d2c701b089071ccc6afa9c8a838504e3d68eb33faa8a8abbe4cb"; 20 25 }; 21 26 22 27 propagatedBuildInputs = [ 23 28 jedi 24 29 pygments 25 30 urwid 31 + urwid-readline 32 + ] ++ lib.optionals (pythonOlder "3.7") [ 33 + dataclasses 34 + ]; 35 + 36 + checkInputs = [ 37 + pytest-mock 38 + pytestCheckHook 26 39 ]; 27 40 28 41 preCheck = '' 29 42 export HOME=$TMPDIR 30 43 ''; 31 44 32 - checkInputs = [ 33 - pytest-mock 34 - pytestCheckHook 45 + pythonImportsCheck = [ 46 + "pudb" 35 47 ]; 36 48 37 49 meta = with lib; {
+2 -2
pkgs/development/python-modules/py/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "py"; 5 - version = "1.10.0"; 5 + version = "1.11.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"; 9 + sha256 = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"; 10 10 }; 11 11 12 12 # Circular dependency on pytest
+2 -2
pkgs/development/python-modules/py4j/default.nix
··· 3 3 buildPythonPackage rec { 4 4 pname = "py4j"; 5 5 6 - version = "0.10.9.2"; 6 + version = "0.10.9.3"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "624f97c363b8dd84822bc666b12fa7f7d97824632b2ff3d852cc491359ce7615"; 10 + sha256 = "0d92844da4cb747155b9563c44fc322c9a1562b3ef0979ae692dbde732d784dd"; 11 11 }; 12 12 13 13 # No tests in archive
+2 -2
pkgs/development/python-modules/pyaml/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pyaml"; 10 - version = "21.8.3"; 10 + version = "21.10.1"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-oWNtY8R2MooHIT0LcRG7Y1cPGrij7d9gUiYwJQwj2XU="; 14 + sha256 = "c6519fee13bf06e3bb3f20cacdea8eba9140385a7c2546df5dbae4887f768383"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pybids/default.nix
··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - version = "0.13.2"; 17 + version = "0.14.0"; 18 18 pname = "pybids"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "9692013af3b86b096b5423b88179c6c9b604baff5a6b6f89ba5f40429feb7a3e"; 22 + sha256 = "73c4d03aad333f2a7cb4405abe96f55a33cffa4b5a2d23fad6ac5767c45562ef"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pycparser/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pycparser"; 5 - version = "2.20"; 5 + version = "2.21"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0"; 9 + sha256 = "e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"; 10 10 }; 11 11 12 12 checkPhase = ''
+2 -2
pkgs/development/python-modules/pydeck/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pydeck"; 5 - version = "0.7.0"; 5 + version = "0.7.1"; 6 6 7 7 disabled = pythonOlder "3.7"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "1zi0gqzd0byj16ja74m2dm99a1hmrlhk26y0x7am07vb1d8lvvsy"; 11 + sha256 = "907601c99f7510e16d27d7cb62bfa145216d166a2b5c9c50cfe2b65b032ebd2e"; 12 12 }; 13 13 14 14 pythonImportsCheck = [ "pydeck" ];
+2 -2
pkgs/development/python-modules/pydmd/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pydmd"; 15 - version = "0.3.3"; 15 + version = "0.4"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "mathLab"; 19 19 repo = "PyDMD"; 20 20 rev = "v${version}"; 21 - sha256 = "1516dhmpwi12v9ly9jj18wpz9k696q5k6aamlrbby8wp8smajgrv"; 21 + sha256 = "1qwa3dyrrm20x0pzr7rklcw7433fd822n4m8bbbdd7z83xh6xm8g"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ future numpy scipy matplotlib ];
-33
pkgs/development/python-modules/pydocstyle/2.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder 2 - , snowballstemmer, six, configparser 3 - , pytest, mock, pathlib }: 4 - 5 - buildPythonPackage rec { 6 - pname = "pydocstyle"; 7 - version = "2.1.1"; 8 - 9 - # no tests on PyPI 10 - # https://github.com/PyCQA/pydocstyle/issues/302 11 - src = fetchFromGitHub { 12 - owner = "PyCQA"; 13 - repo = pname; 14 - rev = version; 15 - sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l"; 16 - }; 17 - 18 - propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser; 19 - 20 - checkInputs = [ pytest mock ] ++ lib.optional (pythonOlder "3.4") pathlib; 21 - 22 - checkPhase = '' 23 - # test_integration.py installs packages via pip 24 - py.test --cache-clear -vv src/tests -k "not test_integration" 25 - ''; 26 - 27 - meta = with lib; { 28 - description = "Python docstring style checker"; 29 - homepage = "https://github.com/PyCQA/pydocstyle/"; 30 - license = licenses.mit; 31 - maintainers = with maintainers; [ dzabraev ]; 32 - }; 33 - }
+19 -12
pkgs/development/python-modules/pydocstyle/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy3k 2 - , mock 3 - , pytest 1 + { lib 2 + , buildPythonPackage 3 + , isPy3k 4 + , fetchFromGitHub 4 5 , snowballstemmer 6 + , pytestCheckHook 5 7 }: 6 8 7 9 buildPythonPackage rec { 8 10 pname = "pydocstyle"; 9 - version = "5.0.2"; 11 + version = "6.1.1"; 10 12 disabled = !isPy3k; 13 + 14 + format = "setuptools"; 11 15 12 16 src = fetchFromGitHub { 13 17 owner = "PyCQA"; 14 18 repo = pname; 15 19 rev = version; 16 - sha256 = "03z8miyppm2xncrc9yjilwl7z5c5cpv51zha580v64p8sb2l0j7j"; 20 + sha256 = "sha256-j0WMD2qKDdMaKG2FxrrM/O7zX4waJ1afaRPRv70djkE="; 17 21 }; 18 22 19 - propagatedBuildInputs = [ snowballstemmer ]; 23 + propagatedBuildInputs = [ 24 + snowballstemmer 25 + ]; 20 26 21 - checkInputs = [ pytest mock ]; 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 22 30 23 - checkPhase = '' 24 - # test_integration.py installs packages via pip 25 - py.test --cache-clear -vv src/tests -k "not test_integration" 26 - ''; 31 + disabledTestPaths = [ 32 + "src/tests/test_integration.py" # runs pip install 33 + ]; 27 34 28 35 meta = with lib; { 29 36 description = "Python docstring style checker"; 30 - homepage = "https://github.com/PyCQA/pydocstyle/"; 37 + homepage = "https://github.com/PyCQA/pydocstyle"; 31 38 license = licenses.mit; 32 39 maintainers = with maintainers; [ dzabraev ]; 33 40 };
+32 -4
pkgs/development/python-modules/pyfaidx/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , nose 5 + , numpy 6 + , setuptools-scm 4 7 , six 8 + , pytestCheckHook 5 9 }: 6 10 7 11 buildPythonPackage rec { 8 12 pname = "pyfaidx"; 9 - version = "0.6.2"; 13 + version = "0.6.3.1"; 14 + format = "setuptools"; 10 15 11 16 src = fetchPypi { 12 17 inherit pname version; 13 - sha256 = "d1258f8d053cba0c90fe329254e8ec59eb28b535b48d9d06e8c7f1d74b8e4531"; 18 + sha256 = "93adf036a75e08dc9b1dcd59de6a4db2f65a48c603edabe2e499764b6535ed50"; 14 19 }; 15 20 16 - propagatedBuildInputs = [ six ]; 21 + nativeBuildInputs = [ 22 + setuptools-scm 23 + ]; 24 + 25 + propagatedBuildInputs = [ 26 + six 27 + ]; 28 + 29 + checkInputs = [ 30 + nose 31 + numpy 32 + pytestCheckHook 33 + ]; 34 + 35 + disabledTests = [ 36 + # PyPI releases don't ship all the needed files for the tests 37 + "test_index_zero_length" 38 + "test_fetch_zero_length" 39 + "test_read_back_index" 40 + ]; 41 + 42 + pythonImportsCheck = [ 43 + "pyfaidx" 44 + ]; 17 45 18 46 meta = with lib; { 19 47 homepage = "https://github.com/mdshw5/pyfaidx"; 20 48 description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index"; 21 49 license = licenses.bsd3; 22 - maintainers = [ maintainers.jbedo ]; 50 + maintainers = with maintainers; [ jbedo ]; 23 51 }; 24 52 }
+2 -2
pkgs/development/python-modules/pyfakefs/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "4.5.1"; 10 + version = "4.5.3"; 11 11 pname = "pyfakefs"; 12 12 disabled = pythonOlder "3.5"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "002a065dcbf59c2caa039e4fc4ba01d1d636aa63ee9c794d4c9fc01f0e2d6dc0"; 16 + sha256 = "f49db689c1d5db6172131479ca77bd474ba2cb886c869b9867fb89cdab2df397"; 17 17 }; 18 18 19 19 postPatch = ''
+2 -2
pkgs/development/python-modules/pygit2/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pygit2"; 5 - version = "1.7.0"; 5 + version = "1.7.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "602bffa8b4dbc185a6c7f36515563b600e0ee9002583c97ae3150eedaf340edb"; 9 + sha256 = "d7faa29558436decc2e78110f38d6677eb366b683ba5cdc2803d47195711165d"; 10 10 }; 11 11 12 12 preConfigure = lib.optionalString stdenv.isDarwin ''
+44 -12
pkgs/development/python-modules/pylama/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , eradicate, mccabe, pycodestyle, pydocstyle, pyflakes 3 - , pytest, ipdb }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , substituteAll 5 + , git 6 + , eradicate 7 + , mccabe 8 + , mypy 9 + , pycodestyle 10 + , pydocstyle 11 + , pyflakes 12 + , vulture 13 + , pytestCheckHook 14 + }: 4 15 5 16 buildPythonPackage rec { 6 17 pname = "pylama"; 7 - version = "7.7.1"; 18 + version = "8.0.6"; 8 19 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "9bae53ef9c1a431371d6a8dca406816a60d547147b60a4934721898f553b7d8f"; 20 + format = "setuptools"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "klen"; 24 + repo = "pylama"; 25 + rev = version; 26 + sha256 = "sha256-Olq/CZ/t1wqACoknAKsvdDKnyLZkxRtHokpu33I3trg="; 12 27 }; 13 28 29 + patches = [ 30 + (substituteAll { 31 + src = ./paths.patch; 32 + git = "${lib.getBin git}/bin/git"; 33 + }) 34 + ]; 35 + 14 36 propagatedBuildInputs = [ 15 37 eradicate 16 38 mccabe 39 + mypy 17 40 pycodestyle 18 41 pydocstyle 19 42 pyflakes 43 + vulture 20 44 ]; 21 45 22 - checkInputs = [ pytest ipdb ]; 46 + checkInputs = [ 47 + pytestCheckHook 48 + ]; 23 49 24 - # tries to mess with the file system 25 - doCheck = false; 50 + disabledTests = [ 51 + "test_pylint" # infinite recursion 52 + "test_quotes" # FIXME package pylama-quotes 53 + "test_radon" # FIXME package radon 54 + ]; 55 + 56 + pythonImportsCheck = [ 57 + "pylama.main" 58 + ]; 26 59 27 60 meta = with lib; { 28 61 description = "Code audit tool for python"; 29 62 homepage = "https://github.com/klen/pylama"; 30 - # ambiguous license declarations: https://github.com/klen/pylama/issues/64 31 - license = [ licenses.lgpl3 ]; 63 + license = licenses.mit; 32 64 maintainers = with maintainers; [ dotlambda ]; 33 65 }; 34 66 }
+13
pkgs/development/python-modules/pylama/paths.patch
··· 1 + diff --git a/pylama/hook.py b/pylama/hook.py 2 + index 029c9dc..9f1a9b9 100644 3 + --- a/pylama/hook.py 4 + +++ b/pylama/hook.py 5 + @@ -26,7 +26,7 @@ def run(command: str) -> Tuple[int, List[bytes], List[bytes]]: 6 + 7 + def git_hook(error=True): 8 + """Run pylama after git commit.""" 9 + - _, files_modified, _ = run("git diff-index --cached --name-only HEAD") 10 + + _, files_modified, _ = run("@git@ diff-index --cached --name-only HEAD") 11 + 12 + options = parse_options() 13 + setup_logger(options)
+5 -2
pkgs/development/python-modules/pylint/default.nix
··· 6 6 , installShellFiles 7 7 , astroid 8 8 , isort 9 + , GitPython 9 10 , mccabe 10 11 , platformdirs 11 12 , toml ··· 16 17 17 18 buildPythonPackage rec { 18 19 pname = "pylint"; 19 - version = "2.11.1"; 20 + version = "2.12.1"; 20 21 21 22 disabled = pythonOlder "3.6"; 22 23 ··· 24 25 owner = "PyCQA"; 25 26 repo = pname; 26 27 rev = "v${version}"; 27 - sha256 = "08kc9139v1sd0vhna0rqikyds0xq8hxv0j9707n2i1nbv2z6xhsv"; 28 + sha256 = "0vvf5b9cwp85mcz7j7zn2pa1m5avmnadi4z50jh3dga9njp8hl97"; 28 29 }; 29 30 30 31 nativeBuildInputs = [ ··· 46 47 ''; 47 48 48 49 checkInputs = [ 50 + GitPython 49 51 pytest-benchmark 50 52 pytest-xdist 51 53 pytestCheckHook ··· 56 58 # calls executable in one of the tests 57 59 preCheck = '' 58 60 export PATH=$PATH:$out/bin 61 + export HOME=$TEMPDIR 59 62 ''; 60 63 61 64 pytestFlagsArray = [
+2 -2
pkgs/development/python-modules/pymavlink/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pymavlink"; 5 - version = "2.4.17"; 5 + version = "2.4.18"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "84e2af4d8099afd37c5d887261a168e7bde4ec2354f12f65c72dad1a4cd8f21d"; 9 + sha256 = "ee40af9fad9c054237800cc835df5c0975504de13e5c29001be496893083fa83"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ future lxml ];
+2 -2
pkgs/development/python-modules/pymongo/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pymongo"; 9 - version = "3.12.0"; 9 + version = "3.12.1"; 10 10 disabled = pythonOlder "3.6"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-uI0XQhWbyToHhzP5eJ9WPO8m9eNw66gQR2pxqpjl+8I="; 14 + sha256 = "704879b6a54c45ad76cea7c6789c1ae7185050acea7afd15b58318fa1932ed45"; 15 15 }; 16 16 17 17 # Tests call a running mongodb instance
+2 -2
pkgs/development/python-modules/pymunk/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pymunk"; 13 - version = "6.2.0"; 13 + version = "6.2.1"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 17 extension = "zip"; 18 - sha256 = "1r3jfjg4cpdilrmlyml514hqmjgabyrrs4cvmdr56rylg1sp4gf3"; 18 + sha256 = "18ae0f83ec2dc20892b98c84127ce9149ab40fa3c3120097377e1506884b27b8"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ cffi ];
+2 -2
pkgs/development/python-modules/pysam/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "pysam"; 18 - version = "0.17.0"; 18 + version = "0.18.0"; 19 19 20 20 # Fetching from GitHub instead of PyPi cause the 0.13 src release on PyPi is 21 21 # missing some files which cause test failures. ··· 24 24 owner = "pysam-developers"; 25 25 repo = "pysam"; 26 26 rev = "v${version}"; 27 - sha256 = "sha256-RDeBq6pwBGCBNIn8YOPQr96GuL6FKEYeLAPQD6XN0iE="; 27 + sha256 = "042ca27r6634xg2ixgvq1079cp714wmm6ml7bwc1snn0wxxzywfg"; 28 28 }; 29 29 30 30 nativeBuildInputs = [ samtools ];
+2 -2
pkgs/development/python-modules/pytest-asyncio/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, pytest, isPy3k, isPy35, async_generator }: 2 2 buildPythonPackage rec { 3 3 pname = "pytest-asyncio"; 4 - version = "0.15.1"; 4 + version = "0.16.0"; 5 5 6 6 disabled = !isPy3k; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "2564ceb9612bbd560d19ca4b41347b54e7835c2f792c504f698e05395ed63f6f"; 10 + sha256 = "7496c5977ce88c34379df64a66459fe395cd05543f0a2f837016e7144391fcfb"; 11 11 }; 12 12 13 13 buildInputs = [ pytest ]
+2 -2
pkgs/development/python-modules/pytest-doctestplus/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pytest-doctestplus"; 13 - version = "0.11.0"; 13 + version = "0.11.1"; 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "efcb24a366d3b033d343298c2a60eae418b06803c85373450f10306815c7c632"; 18 + sha256 = "b7a0aeb79b85ee81a3c72c49019b4bfeb57fa920abaa6c17ba8be3be9c5290f1"; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pytest-httpx/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pytest-httpx"; 12 - version = "0.13.0"; 12 + version = "0.15.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Colin-b"; 16 16 repo = "pytest_httpx"; 17 17 rev = "v${version}"; 18 - sha256 = "0lh7df3ysxmjzvx6242xb6qiwpfxrnj70kjmw5sndvzmy5dfpxfc"; 18 + sha256 = "08dxvjkxlnam3r0yp17495d1vksyawzzkpykacjql1gi6hqlfrwg"; 19 19 }; 20 20 21 21 buildInputs = [ pytest ];
+2 -2
pkgs/development/python-modules/pytest-localserver/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "pytest-localserver"; 9 - version = "0.5.0"; 9 + version = "0.5.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "3a5427909d1dfda10772c1bae4b9803679c0a8f04adb66c338ac607773bfefc2"; 13 + sha256 = "ef6f04193dc0f7e8df5b27b3a8834318fa12eaf025436d2a99afff1b73cde761"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ werkzeug ];
+2
pkgs/development/python-modules/pytest-xdist/default.nix
··· 36 36 "test_rsync_report" 37 37 "test_init_rsync_roots" 38 38 "test_rsyncignore" 39 + # flakey 40 + "test_internal_errors_propagate_to_controller" 39 41 ]; 40 42 41 43 meta = with lib; {
+2 -2
pkgs/development/python-modules/python-cinderclient/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "python-cinderclient"; 20 - version = "8.1.0"; 20 + version = "8.2.0"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "b57b432b2ac9161c2482a569a023211d2d3d0ada81c4da62c8f6e47f0b2bf82d"; 24 + sha256 = "7b2f08a2d1cc05d2c1f84f02fadb2208678b1acb501acfe2de33720078ec7b9f"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/python-dotenv/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "python-dotenv"; 14 - version = "0.19.0"; 14 + version = "0.19.2"; 15 15 disabled = pythonOlder "3.5"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "f521bc2ac9a8e03c736f62911605c5d83970021e3fa95b37d769e2bbbe9b6172"; 19 + sha256 = "a5de49a31e953b45ff2d2fd434bbc2670e8db5273606c1e737cc6b93eff3655f"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [ click ];
+2 -2
pkgs/development/python-modules/python-gnupg/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "python-gnupg"; 5 - version = "0.4.7"; 5 + version = "0.4.8"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "2061f56b1942c29b92727bf9aecbd3cea3893acc9cccbdc7eb4604285efe4ac7"; 9 + sha256 = "b64de1ae5cedf872b437201a566fa2c62ce0c95ea2e30177eb53aee1258507d7"; 10 10 }; 11 11 12 12 # Let's make the library default to our gpg binary
+2 -2
pkgs/development/python-modules/python-lsp-server/default.nix
··· 35 35 36 36 buildPythonPackage rec { 37 37 pname = "python-lsp-server"; 38 - version = "1.2.4"; 38 + version = "1.3.1"; 39 39 disabled = pythonOlder "3.6"; 40 40 41 41 src = fetchFromGitHub { 42 42 owner = "python-lsp"; 43 43 repo = pname; 44 44 rev = "v${version}"; 45 - sha256 = "0c1g46hpzjhqbjcmv6xm3by3jprcjhzjslqzrp95hdkbykvrgs5x"; 45 + sha256 = "067dlhwwv4mkrirnmqinrvkbfx59hf7fiah081d62a46vxvpnv9s"; 46 46 }; 47 47 48 48 postPatch = ''
+2 -2
pkgs/development/python-modules/python-manilaclient/default.nix
··· 18 18 19 19 buildPythonApplication rec { 20 20 pname = "python-manilaclient"; 21 - version = "3.0.0"; 21 + version = "3.1.0"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "2d90af35c5beccc53fa6b0f5a3c4b330a065e86924c33c42b017f18943ab2b05"; 25 + sha256 = "d53f69238cdc454c0297f513e0b481a039d0bac723990ebd5ab9d3d29633956e"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+38 -7
pkgs/development/python-modules/python-socks/default.nix
··· 1 - { lib, buildPythonPackage, trio, curio, async-timeout, fetchPypi, pythonOlder }: 1 + { lib 2 + , async-timeout 3 + , buildPythonPackage 4 + , curio 5 + , fetchFromGitHub 6 + , flask 7 + , pytest-asyncio 8 + , pytest-trio 9 + , pythonOlder 10 + , pytestCheckHook 11 + , trio 12 + , yarl 13 + }: 2 14 3 15 buildPythonPackage rec { 4 16 pname = "python-socks"; 5 - version = "1.2.4"; 17 + version = "2.0.0"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.6.1"; 6 21 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx"; 22 + src = fetchFromGitHub { 23 + owner = "romis2012"; 24 + repo = pname; 25 + rev = "v${version}"; 26 + sha256 = "sha256-iTwlUyfTD2ZhOvBX3IDqjkeW4Z2tfKxvQjIV7GGBVJA="; 10 27 }; 11 28 12 - disabled = pythonOlder "3.6.1"; 29 + propagatedBuildInputs = [ 30 + trio 31 + curio 32 + async-timeout 33 + ]; 13 34 14 - propagatedBuildInputs = [ trio curio async-timeout ]; 35 + checkInputs = [ 36 + flask 37 + pytest-asyncio 38 + pytest-trio 39 + pytestCheckHook 40 + yarl 41 + ]; 42 + 43 + pythonImportsCheck = [ 44 + "python_socks" 45 + ]; 15 46 16 47 meta = with lib; { 17 48 description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
+2 -2
pkgs/development/python-modules/python-swiftclient/default.nix
··· 10 10 11 11 buildPythonApplication rec { 12 12 pname = "python-swiftclient"; 13 - version = "3.12.0"; 13 + version = "3.13.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-MTtEShTQ+bYoy/PoxS8sQnFlj56KM9QiKFHC5PD3t6A="; 17 + sha256 = "b200dcfbc6842bd4cac29efd0ea9ef34d3b8625957472ba7aa3ae0242437e2cc"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ pbr python-keystoneclient ];
+2 -2
pkgs/development/python-modules/pytwitchapi/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pytwitchapi"; 13 - version = "2.5.0"; 13 + version = "2.5.1"; 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "Teekeks"; 18 18 repo = "pyTwitchAPI"; 19 19 rev = "v${version}"; 20 - sha256 = "0sbzl9a4zxnvnvkmmmfc9c157dgq7y6qfb2cid5nym6jhxkixnqk"; 20 + sha256 = "091p9yx0cc7aclj76s1n1jdzkypicy9b2mxgmk2fym5viqlgpbkk"; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyvips/default.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pyvips"; 6 - version = "2.1.15"; 6 + version = "2.1.16"; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "8bca4077dbdc1434dcbc6759407367b6561e3505aa9555b1bc0b45989dcf50b2"; 10 + sha256 = "654c03014a15f846786807a2ece6f525a8fec883d1c857742c8e37da149a81ed"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ pytest-runner pkgconfig pkg-config ];
+2 -2
pkgs/development/python-modules/pywavelets/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "PyWavelets"; 13 - version = "1.1.1"; 13 + version = "1.2.0"; 14 14 disabled = isPy27; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "1a64b40f6acb4ffbaccce0545d7fc641744f95351f62e4c6aaa40549326008c9"; 18 + sha256 = "6cbd69b047bb4e00873097472133425f5f08a4e6bc8b3f0ae709274d4d5e9a8d"; 19 19 }; 20 20 21 21 checkInputs = [ nose pytest ];
+2 -2
pkgs/development/python-modules/pywick/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "pywick"; 19 - version = "0.5.6"; 19 + version = "0.6.5"; 20 20 21 21 disabled = pythonOlder "3.6"; 22 22 ··· 24 24 owner = "achaiah"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "1gmlifnv9kji0d1jwg1pa8d96zg48w17qg0sgxwy1y1jf3hn37bm"; 27 + sha256 = "0wnijdvqgdpzfdsy1cga3bsr0n7zzsl8hp4dskqwxx087g5h1r84"; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/qtconsole/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "qtconsole"; 18 - version = "5.1.1"; 18 + version = "5.2.1"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "bbc34bca14f65535afcb401bc74b752bac955e5313001ba640383f7e5857dc49"; 22 + sha256 = "bb3b9f0d674055e627c1097779c0d5e028176706d3b6be39cf52235f6ddcc88e"; 23 23 }; 24 24 25 25 checkInputs = [ nose ] ++ lib.optionals isPy27 [mock];
+2 -2
pkgs/development/python-modules/r2pipe/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "r2pipe"; 12 - version = "1.6.4"; 12 + version = "1.6.5"; 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 = "a79877781b8e8e9bd5612faebd3991d75d7189f2941021d2adea9b4b4c5b9b7b"; 30 + sha256 = "512d2aca27c4515e55743852e0ab227190739d9595d2c4b6ae97b23d1a2bdd26"; 31 31 }; 32 32 33 33 # Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't
+2 -2
pkgs/development/python-modules/rcssmin/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "rcssmin"; 4 - version = "1.0.6"; 4 + version = "1.1.0"; 5 5 6 6 src = fetchPypi { 7 7 inherit pname version; 8 - sha256 = "0w42l4dhxghcz7pj3q7hkxp015mvb8z2cq9sfxbl31npsfavd1ya"; 8 + sha256 = "27fc400627fd3d328b7fe95af2a01f5d0af6b5af39731af5d071826a1f08e362"; 9 9 }; 10 10 11 11 # The package does not ship tests, and the setup machinary confuses
+2 -2
pkgs/development/python-modules/reikna/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "reikna"; 16 - version = "0.7.5"; 16 + version = "0.7.6"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "d01f4264c8379ef2962a93aacb002d491b92ef9b5b22b45f77e7821dfa87bef7"; 20 + sha256 = "722fefbd253d0bbcbf5250b7b9c4aca5722cde4ca38bfbf863a551a5fc26edfa"; 21 21 }; 22 22 23 23 checkInputs = [ sphinx pytest-cov pytest ];
+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.6.1"; 14 + version = "3.6.2"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "68f9324000cfc5570b5a59a92306691b5d655078a399f20bc72c2581fe903261"; 18 + sha256 = "f0c4b47b012d893b0b9f5703cf6f01b5593714a3fc1e7dc73efbbfe26bb7e16a"; 19 19 }; 20 20 21 21 checkInputs = [ glibcLocales ];
+12 -5
pkgs/development/python-modules/requests-kerberos/default.nix
··· 4 4 , cryptography 5 5 , requests 6 6 , pykerberos 7 + , pyspnego 7 8 , pytestCheckHook 9 + , pytest-mock 8 10 , mock 9 11 }: 10 12 11 13 buildPythonPackage rec { 12 14 pname = "requests-kerberos"; 13 - version = "0.12.0"; 15 + version = "0.13.0"; 14 16 15 17 # tests are not present in the PyPI version 16 18 src = fetchFromGitHub { 17 19 owner = "requests"; 18 20 repo = pname; 19 21 rev = "v${version}"; 20 - sha256 = "1qw96aw84nljh9cip372mfv50p1yyirfgigavvavgpc3c5g278s6"; 22 + sha256 = "0yvfg2cj3d10l8fd8kyal4hmpd7fd1c3bca13cj9ril5l573in76"; 21 23 }; 22 24 25 + # avoid needing to package krb5 26 + postPatch = '' 27 + substituteInPlace setup.py \ 28 + --replace "pyspnego[kerberos]" "pyspnego" 29 + ''; 30 + 23 31 propagatedBuildInputs = [ 24 32 cryptography 25 33 requests 26 34 pykerberos 35 + pyspnego 27 36 ]; 28 37 29 38 checkInputs = [ 30 39 mock 31 40 pytestCheckHook 41 + pytest-mock 32 42 ]; 33 - 34 - # they have a setup.py which mentions a test suite that doesn't exist... 35 - patches = [ ./fix_setup.patch ]; 36 43 37 44 pythonImportsCheck = [ "requests_kerberos" ]; 38 45
-9
pkgs/development/python-modules/requests-kerberos/fix_setup.patch
··· 1 - --- ./setup.py 1980-01-02 00:00:00.000000000 +0000 2 - +++ ./setup.py 1980-01-02 00:00:00.000000000 +0000 3 - @@ -56,6 +56,5 @@ 4 - ':sys_platform=="win32"': ['winkerberos>=0.5.0'], 5 - ':sys_platform!="win32"': ['pykerberos>=1.1.8,<2.0.0'], 6 - }, 7 - - test_suite='test_requests_kerberos', 8 - tests_require=['mock'], 9 - )
+2 -2
pkgs/development/python-modules/respx/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "respx"; 15 - version = "0.17.1"; 15 + version = "0.19.0"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "lundberg"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "0w8idh6l2iq04ydz7r2qisq9jsxq8wszkx97kx4g3yjwg4ypvc6k"; 21 + sha256 = "sha256-xiAt42kc1+rro99KMwzYKi3XC+wxYVqOY11tM+M/uV8="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+29 -14
pkgs/development/python-modules/rfc6555/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pythonPackages }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , selectors2 6 + }: 2 7 3 8 buildPythonPackage rec { 4 9 pname = "rfc6555"; 5 - version = "0.0.0"; 10 + version = "0.1.0"; 11 + format = "setuptools"; 6 12 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "05sjrd6jc0sdvx0z7d3llk82rx366jlmc7ijam0nalsv66hbn70r"; 13 + src = fetchFromGitHub { 14 + owner = "sethmlarson"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + sha256 = "Lmwgusc4EQlF0GHmMTUxWzUCjBk19cvurNwbOnT+1jM="; 10 18 }; 11 19 12 - propagatedBuildInputs = with pythonPackages; [ selectors2 ]; 20 + propagatedBuildInputs = [ 21 + selectors2 22 + ]; 23 + 24 + checkInputs = [ 25 + pytestCheckHook 26 + ]; 27 + 28 + disabledTests = [ 29 + # Disabling tests that require a functional DNS IPv{4,6} stack to pass 30 + "test_create_connection_has_proper_timeout" 31 + ]; 13 32 14 - checkInputs = with pythonPackages; [ mock pytest ]; 15 - # disabling tests that require a functional DNS IPv{4,6} stack to pass. 16 - patches = [ ./disable_network_tests.patch ]; 17 - # default doCheck = true; is not enough, apparently 18 - postCheck = '' 19 - py.test tests/ 20 - ''; 33 + pythonImportsCheck = [ 34 + "rfc6555" 35 + ]; 21 36 22 37 meta = with lib; { 23 38 description = "Python implementation of the Happy Eyeballs Algorithm"; 24 - homepage = "https://pypi.org/project/rfc6555"; 39 + homepage = "https://github.com/sethmlarson/rfc6555"; 25 40 license = licenses.asl20; 26 41 maintainers = with maintainers; [ endocrimes ]; 27 42 };
-31
pkgs/development/python-modules/rfc6555/disable_network_tests.patch
··· 1 - diff --git a/tests/test_create_connection.py b/tests/test_create_connection.py 2 - index fe38026..cdb26b4 100644 3 - --- a/tests/test_create_connection.py 4 - +++ b/tests/test_create_connection.py 5 - @@ -6,10 +6,12 @@ from .test_utils import requires_network 6 - 7 - 8 - class _BasicCreateConnectionTests(object): 9 - + 10 - @requires_network 11 - def test_create_connection_google(self): 12 - sock = rfc6555.create_connection(('www.google.com', 80)) 13 - 14 - + @requires_network 15 - @pytest.mark.parametrize('timeout', [None, 5.0]) 16 - def test_create_connection_has_proper_timeout(self, timeout): 17 - sock = rfc6555.create_connection(('www.google.com', 80), timeout=timeout) 18 - diff --git a/tests/test_ipv6.py b/tests/test_ipv6.py 19 - index 3ee8564..f0db28e 100644 20 - --- a/tests/test_ipv6.py 21 - +++ b/tests/test_ipv6.py 22 - @@ -2,7 +2,9 @@ import socket 23 - import mock 24 - import rfc6555 25 - 26 - +from .test_utils import requires_network 27 - 28 - +@requires_network 29 - def test_ipv6_available(): 30 - assert rfc6555._detect_ipv6() 31 -
+2 -2
pkgs/development/python-modules/rich/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "rich"; 16 - version = "10.12.0"; 16 + version = "10.14.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 = "1qq4k0pxq3r0463z4h65i9rb8cvilpnqmparklj5y5qk6svz0y2n"; 24 + sha256 = "1j1m1064gmy07ah4crds5sd0k7dcwvf2b1z6rvjfvq4v9fx962qv"; 25 25 }; 26 26 27 27 nativeBuildInputs = [ poetry-core ];
+2 -2
pkgs/development/python-modules/rjsmin/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi }: 2 2 buildPythonPackage rec { 3 3 pname = "rjsmin"; 4 - version = "1.1.0"; 4 + version = "1.2.0"; 5 5 6 6 src = fetchPypi { 7 7 inherit pname version; 8 - sha256 = "0cmc72rlkvzz8fl89bc83czkx0pcvhzj7yn7m29r8pgnf5fcfpdi"; 8 + sha256 = "6c529feb6c400984452494c52dd9fdf59185afeacca2afc5174a28ab37751a1b"; 9 9 }; 10 10 11 11 # The package does not ship tests, and the setup machinary confuses
+2 -2
pkgs/development/python-modules/robotframework-sshlibrary/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "3.7.0"; 10 + version = "3.8.0"; 11 11 pname = "robotframework-sshlibrary"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "55bd5a11bb1fe60a5a83446e6a3e1e81b13fc671e3b660aa55912a263c1f63aa"; 15 + sha256 = "aedf8a02bcb7344404cf8575d0ada25d6c7dc2fcb65de2113c4e07c63d2446c2"; 16 16 }; 17 17 18 18 # unit tests are impure
+9 -1
pkgs/development/python-modules/rpcq/default.nix
··· 14 14 buildPythonPackage rec { 15 15 pname = "rpcq"; 16 16 version = "3.9.2"; 17 + format = "setuptools"; 17 18 18 19 disabled = pythonOlder "3.6"; 19 20 ··· 42 43 --replace "msgpack>=0.6,<1.0" "msgpack" 43 44 ''; 44 45 45 - pythonImportsCheck = [ "rpcq" ]; 46 + disabledTests = [ 47 + # Test doesn't work properly on Hydra 48 + "test_client_backlog" 49 + ]; 50 + 51 + pythonImportsCheck = [ 52 + "rpcq" 53 + ]; 46 54 47 55 meta = with lib; { 48 56 description = "The RPC framework and message specification for rigetti Quantum Cloud services";
+2 -2
pkgs/development/python-modules/rsa/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "rsa"; 13 - version = "4.7.2"; 13 + version = "4.8"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9"; 17 + sha256 = "5c6bd9dc7a543b7fe4304a631f8a8a3b674e2bbfc49c2ae96200cdbe55df6b17"; 18 18 }; 19 19 20 20 checkInputs = [ unittest2 mock ];
+2 -2
pkgs/development/python-modules/s3fs/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "s3fs"; 11 - version = "2021.10.1"; 11 + version = "2021.11.0"; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "sha256-STriUFPlJiVSokep8cOiyPvNIPWQf85jp0kSa6WP4F4="; 15 + sha256 = "3c23eac1fa5b685c9d507950b24f75929e8bcd1ea98b9a95cf2a9cb66ee6c9f5"; 16 16 }; 17 17 18 18 buildInputs = [
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "sagemaker"; 19 - version = "2.63.1"; 19 + version = "2.69.0"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "924847e9793b76d188049718aabbcad975296bb267812ad18e0279e7af0cb748"; 23 + sha256 = "8e9051a44a82be07e32d83cfc12d724fd1cb76f83ade34cd9e69c45a8d37c676"; 24 24 }; 25 25 26 26 pythonImportsCheck = [
+25 -5
pkgs/development/python-modules/sanic-auth/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, sanic, sanic-testing, pytestCheckHook }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , sanic 5 + , sanic-testing 6 + , pytestCheckHook 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "Sanic-Auth"; 5 11 version = "0.3.0"; 12 + format = "setuptools"; 6 13 7 14 src = fetchPypi { 8 15 inherit pname version; 9 16 sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198"; 10 17 }; 11 18 12 - propagatedBuildInputs = [ sanic ]; 19 + propagatedBuildInputs = [ 20 + sanic 21 + ]; 13 22 14 - checkInputs = [ pytestCheckHook sanic-testing ]; 23 + checkInputs = [ 24 + pytestCheckHook 25 + sanic-testing 26 + ]; 15 27 16 - pythonImportsCheck = [ "sanic_auth" ]; 28 + postPatch = '' 29 + # Support for httpx>=0.20.0 30 + substituteInPlace tests/test_auth.py \ 31 + --replace "allow_redirects=False" "follow_redirects=False" 32 + ''; 33 + 34 + pythonImportsCheck = [ 35 + "sanic_auth" 36 + ]; 17 37 18 38 meta = with lib; { 19 39 description = "Simple Authentication for Sanic"; 20 40 homepage = "https://github.com/pyx/sanic-auth/"; 21 41 license = licenses.bsdOriginal; 22 - maintainers = [ maintainers.arnoldfarkas ]; 42 + maintainers = with maintainers; [ arnoldfarkas ]; 23 43 }; 24 44 }
+13 -3
pkgs/development/python-modules/sanic/default.nix
··· 12 12 , pytest-benchmark 13 13 , pytest-sugar 14 14 , pytestCheckHook 15 + , pythonOlder 15 16 , sanic-routing 16 17 , sanic-testing 17 18 , ujson ··· 22 23 23 24 buildPythonPackage rec { 24 25 pname = "sanic"; 25 - version = "21.9.1"; 26 + version = "21.9.3"; 27 + format = "setuptools"; 28 + 29 + disabled = pythonOlder "3.7"; 26 30 27 31 src = fetchFromGitHub { 28 32 owner = "sanic-org"; 29 33 repo = pname; 30 34 rev = "v${version}"; 31 - sha256 = "sha256-TRrJr/L8AXLAARPjhBi2FxNh+jvxxdeMN24cT1njmqY="; 35 + sha256 = "0m18jdw1mvf7jhpnrxhm96p24pxvv0h9m71a8c7sqqkwnnpa3p5i"; 32 36 }; 33 37 34 38 postPatch = '' ··· 85 89 "test_auto_reload" 86 90 "test_no_exceptions_when_cancel_pending_request" 87 91 "test_ipv6_address_is_not_wrapped" 92 + # Failure of the redirect tests seems to be related to httpx>0.20.0 93 + "test_redirect" 94 + "test_chained_redirect" 95 + "test_unix_connection" 88 96 # These appear to be very sensitive to output of commands 89 97 "test_access_logs" 90 98 "test_auto_reload" ··· 99 107 # for the same local port 100 108 __darwinAllowLocalNetworking = true; 101 109 102 - pythonImportsCheck = [ "sanic" ]; 110 + pythonImportsCheck = [ 111 + "sanic" 112 + ]; 103 113 104 114 meta = with lib; { 105 115 description = "Web server and web framework";
+35
pkgs/development/python-modules/sarif-om/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi 2 + , attrs 3 + , pbr 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "sarif-om"; 8 + version = "1.0.4"; 9 + 10 + src = fetchPypi { 11 + pname = "sarif_om"; 12 + inherit version; 13 + sha256 = "cd5f416b3083e00d402a92e449a7ff67af46f11241073eea0461802a3b5aef98"; 14 + }; 15 + 16 + nativeBuildInputs = [ 17 + pbr 18 + ]; 19 + 20 + propagatedBuildInputs = [ 21 + attrs 22 + ]; 23 + 24 + pythonImportsCheck = [ "sarif_om" ]; 25 + 26 + # no tests included with tarball 27 + doCheck = false; 28 + 29 + meta = with lib; { 30 + description = "Classes implementing the SARIF 2.1.0 object model"; 31 + homepage = "https://github.com/microsoft/sarif-python-om"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ jonringer ]; 34 + }; 35 + }
+2 -2
pkgs/development/python-modules/schema-salad/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "schema-salad"; 16 - version = "8.2.20211104054942"; 16 + version = "8.2.20211116214159"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.6"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "sha256-1crKyAON8iZBYxP6bhj0MxV3fSpnCh3Lqp8x91KLBT8="; 23 + sha256 = "0c737af600e0a03dd97c93b9867e862463b65d95580ba711fd22f542bc80ad00"; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/scikit-hep-testdata/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "scikit-hep-testdata"; 13 - version = "0.4.10"; 13 + version = "0.4.11"; 14 14 format = "pyproject"; 15 15 16 16 # fetch from github as we want the data files ··· 19 19 owner = "scikit-hep"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "0x6ba02f3sba9341nhyg9jdcbl9c1h880d8m75ybdpbn7zlaya1d"; 22 + sha256 = "18r5nk8d5y79ihzjkjm5l0hiw2sjgj87px7vwb0bxbs73f5v353b"; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -11
pkgs/development/python-modules/scikit-learn/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "scikit-learn"; 22 - version = "0.24.1"; 22 + version = "1.0.1"; 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "oDNKGALmTWVgIsO/q1anP71r9LEpg0PzaIryFRgQu98="; 27 + sha256 = "sha256-rCyp27dU1hz+HIO6hINJjvlR0puT7AnW8AKEfyEKmdo="; 28 28 }; 29 - 30 - patches = [ 31 - # This patch fixes compatibility with numpy 1.20. It was merged before 0.24.1 was released, 32 - # but for some reason was not included in the 0.24.1 release tarball. 33 - (fetchpatch { 34 - url = "https://github.com/scikit-learn/scikit-learn/commit/e7ef22c3ba2334cb3b476e95d7c083cf6b48ce56.patch"; 35 - sha256 = "174554k1pbf92bj7wgq0xjj16bkib32ailyhwavdxaknh4bd9nmv"; 36 - }) 37 - ]; 38 29 39 30 buildInputs = [ 40 31 pillow
+2 -2
pkgs/development/python-modules/scipy/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "scipy"; 18 - version = "1.7.1"; 18 + version = "1.7.3"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764"; 22 + sha256 = "ab5875facfdef77e0a47d5fd39ea178b58e60e454a4c85aa1e52fcb80db7babf"; 23 23 }; 24 24 25 25 nativeBuildInputs = [ cython gfortran pythran ];
+2
pkgs/development/python-modules/screenlogicpy/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pythonOlder 5 + , pytest-asyncio 5 6 , pytestCheckHook 6 7 }: 7 8 ··· 20 21 }; 21 22 22 23 checkInputs = [ 24 + pytest-asyncio 23 25 pytestCheckHook 24 26 ]; 25 27
+13 -3
pkgs/development/python-modules/seaborn/default.nix
··· 32 32 pytestCheckHook 33 33 ]; 34 34 35 + disabledTests = [ 36 + # Tests fail because of AttributeError:... 37 + "TestKDEPlotBivariate" 38 + "TestBoxPlotter" 39 + "TestCatPlot" 40 + "TestKDEPlotUnivariate" 41 + "test_with_rug" 42 + "test_bivariate_kde_norm" 43 + ]; 44 + 35 45 pythonImportsCheck= [ 36 46 "seaborn" 37 47 ]; 38 48 39 - meta = { 49 + meta = with lib; { 40 50 description = "Statisitical data visualization"; 41 51 homepage = "https://seaborn.pydata.org/"; 42 - license = with lib.licenses; [ bsd3 ]; 43 - maintainers = with lib.maintainers; [ fridh ]; 52 + license = with licenses; [ bsd3 ]; 53 + maintainers = with maintainers; [ fridh ]; 44 54 }; 45 55 }
+2 -2
pkgs/development/python-modules/secp256k1/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "secp256k1"; 13 - version = "0.13.2"; 13 + version = "0.14.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "a3b43e02d321c09eafa769a6fc2c156f555cab3a7db62175ef2fd21e16cdf20c"; 17 + sha256 = "82c06712d69ef945220c8b53c1a0d424c2ff6a1f64aee609030df79ad8383397"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ pkg-config ];
+3 -2
pkgs/development/python-modules/send2trash/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "Send2Trash"; 9 - version = "1.5.0"; 9 + version = "1.8.1b0"; 10 + format = "pyproject"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "hsoft"; 13 14 repo = "send2trash"; 14 15 rev = version; 15 - sha256 = "1c76zldhw2ay7q7r00nnzcampjz9lkqfcbzqpm0iqp5i6bmmv30v"; 16 + sha256 = "sha256-kDUEfyMTk8CXSxTEi7E6kl09ohnWHeaoif+EIaIJh9Q="; 16 17 }; 17 18 18 19 doCheck = !stdenv.isDarwin;
+2 -2
pkgs/development/python-modules/sentry-sdk/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "sentry-sdk"; 32 - version = "1.4.3"; 32 + version = "1.5.0"; 33 33 34 34 src = fetchPypi { 35 35 inherit pname version; 36 - sha256 = "b9844751e40710e84a457c5bc29b21c383ccb2b63d76eeaad72f7f1c808c8828"; 36 + sha256 = "789a11a87ca02491896e121efdd64e8fd93327b69e8f2f7d42f03e2569648e88"; 37 37 }; 38 38 39 39 checkInputs = [ blinker botocore chalice django flask tornado bottle rq falcon sqlalchemy werkzeug trytond
+2 -2
pkgs/development/python-modules/shap/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "shap"; 20 - version = "0.39.0"; 20 + version = "0.40.0"; 21 21 disabled = isPy27; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "slundberg"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "065c40k6g8sy6ynzk4k8k7iddl18g2b6kb9kg4m6g7npclmn5wvp"; 27 + sha256 = "0ra0dp319qj13wxaqh2vz4xhn59m9h3bfg1m6wf3cxsix737b1k4"; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+7 -3
pkgs/development/python-modules/shortuuid/default.nix
··· 2 2 , buildPythonPackage 3 3 , isPy3k 4 4 , fetchPypi 5 + , django 5 6 , pep8 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "shortuuid"; 10 - version = "1.0.1"; 11 + version = "1.0.8"; 11 12 12 13 disabled = !isPy3k; 13 14 14 15 src = fetchPypi { 15 16 inherit pname version; 16 - sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f"; 17 + sha256 = "9435e87e5a64f3b92f7110c81f989a3b7bdb9358e22d2359829167da476cfc23"; 17 18 }; 18 19 19 - buildInputs = [pep8]; 20 + checkInputs = [ 21 + django 22 + pep8 23 + ]; 20 24 21 25 meta = with lib; { 22 26 description = "A generator library for concise, unambiguous and URL-safe UUIDs";
+2 -2
pkgs/development/python-modules/simple-di/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "simple_di"; 12 - version = "0.1.2"; 12 + version = "0.1.4"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "0wqbfbajnwmkzih0jl3mncalr7dslvmwhb5mk11asqvmbp1xhn30"; 17 + sha256 = "2667f2b9095e86c7726b3853c30b37f527f7d247282c7dd0b3428a7fb5d1a8a9"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/simplejson/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "simplejson"; 10 - version = "3.17.5"; 10 + version = "3.17.6"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = pname; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "1vljsd5bk12gasadkxcddwhmp38fj64x1aqi4frk3frq9lp8h3a1"; 16 + sha256 = "1irlp5sakbdfcf717qmrx0r9rjlmwk0vza6zm3y55d32zw5c1cxg"; 17 17 }; 18 18 19 19 checkInputs = [
+2 -2
pkgs/development/python-modules/smpplib/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "smpplib"; 5 - version = "2.2.0"; 5 + version = "2.2.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "3d513178a35573f66faac4ef2127c4bd73307ddb463d145b17b013cf709d9ddd"; 9 + sha256 = "c0b01947b47e404f42ccb59e906b6e4eb507963c971d59b44350db0f29c76166"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ six ];
+2 -2
pkgs/development/python-modules/snowballstemmer/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "snowballstemmer"; 5 - version = "2.1.0"; 5 + version = "2.2.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "e997baa4f2e9139951b6f4c631bad912dfd3c792467e2f03d7239464af90e914"; 9 + sha256 = "09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"; 10 10 }; 11 11 12 12 # No tests included
+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.6.2"; 27 + version = "2.7.1"; 28 28 disabled = pythonOlder "3.6"; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "ce131b1dd059a4d081e78595d618654bf9b9fc184d78352f24512375467257d1"; 32 + sha256 = "81175ff9fe0355a7e9007a087458dddc0816985ec10dc122e690de03549afbff"; 33 33 }; 34 34 35 35 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/soupsieve/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "soupsieve"; 12 - version = "2.2.1"; 12 + version = "2.3.1"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "052774848f448cf19c7e959adf5566904d525f33a3f8b6ba6f6f8f26ec7de0cc"; 16 + sha256 = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9"; 17 17 }; 18 18 19 19 checkPhase = ''
+4 -14
pkgs/development/python-modules/spacy-alignments/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "spacy-alignments"; 14 - version = "0.8.3"; 14 + version = "0.8.4"; 15 15 16 16 disabled = !isPy3k; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - hash = "sha256-zrqBjaIjtF6bJMbmw7Zo+BeApN6sxxfLkrzsDjdvC78="; 20 + sha256 = "sha256-1HApl/RZ0w5Tf2OPu1QBUa36uIqilp+dDbPjujn0e9s="; 21 21 }; 22 22 23 23 cargoDeps = rustPlatform.fetchCargoTarball { 24 - inherit patches src; 24 + inherit src; 25 25 name = "${pname}-${version}"; 26 - hash = "sha256-YRyG2yflEXKklNqXiDD9oK3J1lq4o704+Eeu2hyY3xI="; 26 + sha256 = "sha256-oFSruBnoodv6/0/OrmJ/2SVoWm3u3FGtzVJ9xgp0+Cg="; 27 27 }; 28 - 29 - patches = [ 30 - # Add Cargo.lock, from upstream PR: 31 - # https://github.com/explosion/spacy-alignments/pull/3 32 - (fetchpatch { 33 - url = "https://github.com/explosion/spacy-alignments/commit/7b0ba13ff0d245bfbbe344a36fb7bbd311dd4906.diff"; 34 - sha256 = "sha256-jx97SSC+3z+ByInNs8Uq58H50eCo4fDCwEi6VKxRs2k="; 35 - excludes = [ ".gitignore" ]; 36 - }) 37 - ]; 38 28 39 29 nativeBuildInputs = [ 40 30 setuptools-rust
+2 -2
pkgs/development/python-modules/spacy/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "spacy"; 32 - version = "3.1.3"; 32 + version = "3.2.0"; 33 33 34 34 disabled = pythonOlder "3.6"; 35 35 36 36 src = fetchPypi { 37 37 inherit pname version; 38 - sha256 = "sha256-WAhOZKJ5lxkupI8Yq7MOwUjFu+edBNF7pNL8JiEAwqI="; 38 + sha256 = "68e54b2a14ce74eeecea9bfb0b9bdadf8a4a8157765dbefa7e50d25a1bf0f2f3"; 39 39 }; 40 40 41 41 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sphinx/default.nix
··· 29 29 30 30 buildPythonPackage rec { 31 31 pname = "sphinx"; 32 - version = "4.2.0"; 32 + version = "4.3.1"; 33 33 disabled = pythonOlder "3.5"; 34 34 35 35 src = fetchFromGitHub { 36 36 owner = "sphinx-doc"; 37 37 repo = pname; 38 38 rev = "v${version}"; 39 - sha256 = "129x3kljxq7sbg5cc12z3cmjsili6l3qrsxllkx97id1a85f7zmj"; 39 + sha256 = "sha256-8Yj6cPZFG8ycbbZtMR+fsIAOX0brxroi6nYjP+WhnxA="; 40 40 extraPostFetch = '' 41 41 cd $out 42 42 mv tests/roots/test-images/testimäge.png \
+2 -2
pkgs/development/python-modules/sphinxext-opengraph/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "sphinxext-opengraph"; 9 - version = "0.4.2"; 9 + version = "0.5.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "wpilibsuite"; 13 13 repo = "sphinxext-opengraph"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-978aPtaqUDHcswDdFynzi+IjDYaBmCZDZk+dmDkhajY="; 15 + sha256 = "0iri6sh6h7l1p8xg04bj3bphs1hwxh43sfnrv1c8b1wy84w988y9"; 16 16 }; 17 17 18 18 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/spyder/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "spyder"; 11 - version = "5.1.5"; 11 + version = "5.2.0"; 12 12 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "f9ce23187f5de18f489fb03c38d884e4484b9c7292f9831faaa029fb7752fc93"; 17 + sha256 = "cd04acc88426acee9c4ce6bb91f50c13fc161a437e68bca701243b3415ce9d08"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
+2 -2
pkgs/development/python-modules/sqlite-utils/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "sqlite-utils"; 16 - version = "3.17.1"; 16 + version = "3.19"; 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "0cfde0c46a2d4c09d6df8609fe53642bc3ab443bcef3106d8f1eabeb3fccbe3d"; 21 + sha256 = "509099fce5f25faada6e76b6fb90e8ef5ba0f1715177933a816718be0c8e7244"; 22 22 }; 23 23 24 24 postPatch = ''
+2 -2
pkgs/development/python-modules/strictyaml/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - version = "1.5.0"; 10 + version = "1.6.0"; 11 11 pname = "strictyaml"; 12 12 disabled = isPy27; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "273a6382cc98a404d20779351cd5bb12e746397fbe18a8e9ccec4ae3c0ffa0e2"; 16 + sha256 = "73fa9769214a310486d7916453a09bd38b07d28a9dcbdf27719183c1d7d949f6"; 17 17 }; 18 18 19 19 postPatch = ''
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "stripe"; 5 - version = "2.62.0"; 5 + version = "2.63.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "1fb51d67a961ea889c5be324f020535ed511c6f483bd13a07f48f6e369fa8df0"; 9 + sha256 = "816c935e31d82737a9e4362c662e8702bdf9000ea1bd36882cd4cbd23eb81ae1"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ requests ];
+12 -15
pkgs/development/python-modules/structlog/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 - , pytest 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 5 , pytest-asyncio 6 - , python-rapidjson 7 6 , pretend 8 7 , freezegun 9 8 , twisted ··· 14 13 15 14 buildPythonPackage rec { 16 15 pname = "structlog"; 17 - version = "21.2.0"; 16 + version = "21.4.0"; 17 + format = "flit"; 18 18 19 - src = fetchPypi { 20 - inherit pname version; 21 - sha256 = "7ac42b565e1295712313f91edbcb64e0840a9037d888c8954f11fa6c43270e99"; 19 + # sdist is missing conftest.py 20 + src = fetchFromGitHub { 21 + owner = "hynek"; 22 + repo = "structlog"; 23 + rev = version; 24 + sha256 = "sha256-uXFSrC1TvQV46uu0sadC3eMq7yk5TnrpQE8m6NSv1Bg="; 22 25 }; 23 26 24 - checkInputs = [ pytest pytest-asyncio pretend freezegun simplejson twisted ] 25 - ++ lib.optionals (pythonAtLeast "3.6") [ python-rapidjson ]; 27 + checkInputs = [ pytestCheckHook pytest-asyncio pretend freezegun simplejson twisted ]; 26 28 propagatedBuildInputs = [ six ]; 27 29 28 - checkPhase = '' 29 - # rm tests/test_twisted.py* 30 - py.test 31 - ''; 32 - 33 30 meta = { 34 31 description = "Painless structural logging"; 35 - homepage = "http://www.structlog.org/"; 32 + homepage = "https://github.com/hynek/structlog"; 36 33 license = lib.licenses.asl20; 37 34 }; 38 35 }
+2 -2
pkgs/development/python-modules/stumpy/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "stumpy"; 19 - version = "1.9.2"; 19 + version = "1.10.0"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "TDAmeritrade"; 23 23 repo = "stumpy"; 24 24 rev = "v${version}"; 25 - sha256 = "0x5kac8fqsi3fkfwjdn0d7anslprxaz6cizky9cyj0rpbp0b0yc3"; 25 + sha256 = "1h3mqz570s9rc45d217xrykcy8f4fnpyk178smam2fzynlr90gd8"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/taskw/default.nix
··· 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 - version = "1.3.0"; 14 + version = "1.3.1"; 15 15 pname = "taskw"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "7673d80b3d5bace5b35eb71f5035e313a92daab6e437694128d8ce7dcdaf66fb"; 19 + sha256 = "1a68e49cac2d4f6da73c0ce554fd6f94932d95e20596f2ee44a769a28c12ba7d"; 20 20 }; 21 21 22 22 patches = [ ./use-template-for-taskwarrior-install-path.patch ];
+19 -8
pkgs/development/python-modules/thinc/default.nix
··· 1 - { stdenv 2 - , lib 1 + { lib 2 + , stdenv 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , pytestCheckHook ··· 7 7 , catalogue 8 8 , cymem 9 9 , cython 10 + , contextvars 11 + , dataclasses 10 12 , Accelerate 11 13 , CoreFoundation 12 14 , CoreGraphics ··· 27 29 28 30 buildPythonPackage rec { 29 31 pname = "thinc"; 30 - version = "8.0.10"; 32 + version = "8.0.13"; 33 + format = "setuptools"; 31 34 32 35 disabled = pythonOlder "3.6"; 33 36 34 37 src = fetchPypi { 35 38 inherit pname version; 36 - hash = "sha256-teTbjSTmvopfHkoXhUdyt5orVgIkUZ9Qoh85UcokAB8="; 39 + sha256 = "sha256-R2YqOuM9RFp3tup7dyREgFx7uomR8SLjUNr3Le3IFxo="; 37 40 }; 38 41 39 - buildInputs = [ cython ] 40 - ++ lib.optionals stdenv.isDarwin [ 42 + buildInputs = [ 43 + cython 44 + ] ++ lib.optionals stdenv.isDarwin [ 41 45 Accelerate 42 46 CoreFoundation 43 47 CoreGraphics ··· 56 60 tqdm 57 61 pydantic 58 62 wasabi 59 - ] ++ lib.optional (pythonOlder "3.8") typing-extensions; 63 + ] ++ lib.optional (pythonOlder "3.8") [ 64 + typing-extensions 65 + ] ++ lib.optional (pythonOlder "3.7") [ 66 + contextvars 67 + dataclasses 68 + ]; 60 69 61 70 checkInputs = [ 62 71 hypothesis ··· 71 80 "thinc/tests" 72 81 ]; 73 82 74 - pythonImportsCheck = [ "thinc" ]; 83 + pythonImportsCheck = [ 84 + "thinc" 85 + ]; 75 86 76 87 meta = with lib; { 77 88 description = "Practical Machine Learning for NLP in Python";
+2 -2
pkgs/development/python-modules/tifffile/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "tifffile"; 16 - version = "2021.8.30"; 16 + version = "2021.11.2"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "8760e61e30106ea0dab9ec42a238d70a3ff55dde9c54456e7b748fe717cb782d"; 20 + sha256 = "153e31fa1d892f482fabb2ae9f2561fa429ee42d01a6f67e58cee13637d9285b"; 21 21 }; 22 22 23 23 patches = lib.optional isPy27 ./python2-regex-compat.patch;
+4 -8
pkgs/development/python-modules/toolz/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , nose 4 + , pytestCheckHook 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 8 pname = "toolz"; 9 - version = "0.11.1"; 9 + version = "0.11.2"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "1grz3zvw5ixwqqlbv0n7j11mlcxb66cirh5i9x9zw8kqy0hpk967"; 13 + sha256 = "6b312d5e15138552f1bda8a4e66c30e236c831b612b2bf0005f8a1df10a4bc33"; 14 14 }; 15 15 16 - checkInputs = [ nose ]; 17 - 18 - checkPhase = '' 19 - nosetests toolz/tests 20 - ''; 16 + checkInputs = [ pytestCheckHook ]; 21 17 22 18 meta = with lib; { 23 19 homepage = "https://github.com/pytoolz/toolz";
+2 -2
pkgs/development/python-modules/transformers/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "transformers"; 22 - version = "4.12.2"; 22 + version = "4.12.5"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "huggingface"; 26 26 repo = pname; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-SndnMiXWiDW+E1G+WaUTVv3lySavJWF0nFDZLOxzObc="; 28 + sha256 = "07v72fyhm1s3bzg2kvaff15d7d8na39nlqpf5gyxaqvp3hglc3qy"; 29 29 }; 30 30 31 31 nativeBuildInputs = [ packaging ];
+1 -2
pkgs/development/python-modules/trio/default.nix
··· 11 11 , sniffio 12 12 , stdenv 13 13 , jedi 14 - , pylint 15 14 , astor 16 15 , yapf 17 16 }: ··· 26 25 sha256 = "895e318e5ec5e8cea9f60b473b6edb95b215e82d99556a03eb2d20c5e027efe1"; 27 26 }; 28 27 29 - checkInputs = [ astor pytestCheckHook pyopenssl trustme jedi pylint yapf ]; 28 + checkInputs = [ astor pytestCheckHook pyopenssl trustme jedi yapf ]; 30 29 # It appears that the build sandbox doesn't include /etc/services, and these tests try to use it. 31 30 disabledTests = [ 32 31 "getnameinfo"
+2 -2
pkgs/development/python-modules/trytond/default.nix
··· 24 24 25 25 buildPythonApplication rec { 26 26 pname = "trytond"; 27 - version = "6.2.0"; 27 + version = "6.2.1"; 28 28 format = "setuptools"; 29 29 30 30 disabled = pythonOlder "3.6"; 31 31 32 32 src = fetchPypi { 33 33 inherit pname version; 34 - sha256 = "sha256-U73dzLTUJnOw24/ELQzjnxJ0PvjV+zE/PNuQHXbEukw="; 34 + sha256 = "418f16c45b7130555447af901639b92bb188d39f46ce7fe4dfcd941c5959ed7e"; 35 35 }; 36 36 37 37 # Tells the tests which database to use
+14 -2
pkgs/development/python-modules/twentemilieu/default.nix
··· 5 5 , aiohttp 6 6 , yarl 7 7 , aresponses 8 + , poetry-core 8 9 , pytest-asyncio 9 10 , pytestCheckHook 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "twentemilieu"; 14 - version = "0.3.0"; 15 + version = "0.4.2"; 16 + format = "pyproject"; 15 17 disabled = pythonOlder "3.7"; 16 18 17 19 src = fetchFromGitHub { 18 20 owner = "frenck"; 19 21 repo = "python-twentemilieu"; 20 22 rev = "v${version}"; 21 - sha256 = "1ff35sh73m2s7fh4d8p2pjwdbfljswr8b8lpcjybz8nsh0286xph"; 23 + sha256 = "1lf31ldbrsmxhbrcg284pwpvjfmwnssv3gqwd5vm2hvd9lwqn6ii"; 22 24 }; 25 + 26 + # coverage tests aren't useful when consuming releases 27 + postPatch = '' 28 + substituteInPlace pyproject.toml \ 29 + --replace '--cov' "" 30 + ''; 31 + 32 + nativeBuildInputs = [ 33 + poetry-core 34 + ]; 23 35 24 36 propagatedBuildInputs = [ 25 37 aiohttp
+2 -2
pkgs/development/python-modules/typeguard/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "typeguard"; 13 - version = "2.12.1"; 13 + version = "2.13.2"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "c2af8b9bdd7657f4bd27b45336e7930171aead796711bc4cfc99b4731bb9d051"; 17 + sha256 = "7e50071590ab997509aa0977609eb5cf9d73d84c1f416cb4fab78b77a9d15326"; 18 18 }; 19 19 20 20 buildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/types-protobuf/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "types-protobuf"; 5 - version = "3.18.0"; 5 + version = "3.18.1"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "a391d1a9138fe53fe08aeb6aa15ca7f1a188659b9a6c12af5313c55730eccd6c"; 9 + sha256 = "6696bf3cabc51dcc076e8de025c405dbdea7488c5268c2febd14527dac82c233"; 10 10 }; 11 11 12 12 propagatedBuildInputs = [ types-futures ];
+23 -12
pkgs/development/python-modules/typical/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , fastjsonschema 3 4 , fetchFromGitHub 4 - , pytestCheckHook 5 + , future-typing 5 6 , inflection 6 - , pendulum 7 - , fastjsonschema 8 - , typing-extensions 7 + , mypy 9 8 , orjson 10 - , future-typing 9 + , pandas 10 + , pendulum 11 11 , poetry-core 12 12 , pydantic 13 + , pytestCheckHook 14 + , pythonOlder 13 15 , sqlalchemy 14 - , pandas 15 - , mypy 16 + , typing-extensions 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "typical"; 20 21 version = "2.7.9"; 21 22 format = "pyproject"; 23 + 24 + disabled = pythonOlder "3.7"; 22 25 23 26 src = fetchFromGitHub { 24 27 owner = "seandstewart"; ··· 31 34 ./use-poetry-core.patch 32 35 ]; 33 36 34 - nativeBuildInputs = [ poetry-core ]; 37 + nativeBuildInputs = [ 38 + poetry-core 39 + ]; 35 40 36 41 propagatedBuildInputs = [ 37 42 inflection 38 43 pendulum 39 44 fastjsonschema 40 45 orjson 46 + future-typing 47 + ] ++ lib.optionals (pythonOlder "3.10") [ 41 48 typing-extensions 42 - future-typing 43 49 ]; 44 50 45 51 checkInputs = [ ··· 51 57 ]; 52 58 53 59 disabledTests = [ 54 - "test_ujson" # We use orjson 60 + # We use orjson 61 + "test_ujson" 62 + # ConstraintValueError: Given value <{'key... 63 + "test_tagged_union_validate" 55 64 ]; 56 65 57 66 disabledTestPaths = [ 58 67 "benchmark/" 59 68 ]; 60 69 61 - pythonImportsCheck = [ "typic" ]; 70 + pythonImportsCheck = [ 71 + "typic" 72 + ]; 62 73 63 74 meta = with lib; { 75 + description = "Python library for runtime analysis, inference and validation of Python types"; 64 76 homepage = "https://python-typical.org/"; 65 - description = "Typical: Python's Typing Toolkit."; 66 77 license = licenses.mit; 67 78 maintainers = with maintainers; [ kfollesdal ]; 68 79 };
+2 -2
pkgs/development/python-modules/ujson/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "ujson"; 12 - version = "4.2.0"; 12 + version = "4.3.0"; 13 13 disabled = isPyPy || pythonOlder "3.5"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883"; 17 + sha256 = "baee56eca35cb5fbe02c28bd9c0936be41a96fa5c0812d9d4b7edeb5c3d568a0"; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/virtualenv/default.nix
··· 23 23 24 24 buildPythonPackage rec { 25 25 pname = "virtualenv"; 26 - version = "20.8.1"; 26 + version = "20.10.0"; 27 27 28 28 src = fetchPypi { 29 29 inherit pname version; 30 - sha256 = "bcc17f0b3a29670dd777d6f0755a4c04f28815395bca279cdcb213b97199a6b8"; 30 + sha256 = "576d05b46eace16a9c348085f7d0dc8ef28713a2cabaa1cf0aea41e8f12c9218"; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/vispy/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "vispy"; 19 - version = "0.9.3"; 19 + version = "0.9.4"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "bc3aec042637947d4e999121bab224077a6f7ede4af745102f41737f7c81c05a"; 23 + sha256 = "8561e41bbcca5fadce4a8d974ca2f96cbe7710d835bfed6a55ed6d10900ef5d5"; 24 24 }; 25 25 26 26 patches = [
+9 -1
pkgs/development/python-modules/watchdog/default.nix
··· 13 13 buildPythonPackage rec { 14 14 pname = "watchdog"; 15 15 version = "2.1.6"; 16 + format = "setuptools"; 16 17 17 18 src = fetchPypi { 18 19 inherit pname version; ··· 38 39 --replace "--cov-report=term-missing" "" 39 40 ''; 40 41 41 - pythonImportsCheck = [ "watchdog" ]; 42 + disabledTestPaths = [ 43 + # Tests are flaky 44 + "tests/test_inotify_buffer.py" 45 + ]; 46 + 47 + pythonImportsCheck = [ 48 + "watchdog" 49 + ]; 42 50 43 51 meta = with lib; { 44 52 description = "Python API and shell utilities to monitor file system events";
+8 -4
pkgs/development/python-modules/websockets/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 5 , python 5 6 , pythonOlder 6 - , stdenv 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 10 pname = "websockets"; 11 - version = "10.0"; 11 + version = "10.1"; 12 + format = "setuptools"; 13 + 12 14 disabled = pythonOlder "3.7"; 13 15 14 16 src = fetchFromGitHub { 15 17 owner = "aaugustin"; 16 18 repo = pname; 17 19 rev = version; 18 - sha256 = "sha256-F10C8ukjYfbn2X2PMzrdSDqvs51/A9lx8Y3kv8YJ8Cw="; 20 + sha256 = "sha256-FFaoqxa+TmKJ+P6T7HrwodjbVCir+2qJSfZsoj6deJU="; 19 21 }; 20 22 21 23 # Tests fail on Darwin with `OSError: AF_UNIX path too long` ··· 34 36 runHook postCheck 35 37 ''; 36 38 37 - pythonImportsCheck = [ "websockets" ]; 39 + pythonImportsCheck = [ 40 + "websockets" 41 + ]; 38 42 39 43 meta = with lib; { 40 44 description = "WebSocket implementation in Python";
+20 -4
pkgs/development/python-modules/webssh/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, tornado, paramiko }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , paramiko 5 + , pytestCheckHook 6 + , tornado 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "webssh"; 5 11 version = "1.5.3"; 12 + format = "setuptools"; 6 13 7 14 src = fetchPypi { 8 15 inherit pname version; 9 16 hash = "sha256-Au6PE8jYm8LkEp0B1ymW//ZkrkcV0BauwufQmrHLEU4="; 10 17 }; 11 18 12 - propagatedBuildInputs = [ tornado paramiko ]; 19 + propagatedBuildInputs = [ 20 + paramiko 21 + tornado 22 + ]; 13 23 14 - pythonImportsCheck = [ "webssh" ]; 24 + checkInputs = [ 25 + pytestCheckHook 26 + ]; 27 + 28 + pythonImportsCheck = [ 29 + "webssh" 30 + ]; 15 31 16 32 meta = with lib; { 33 + description = "Web based SSH client"; 17 34 homepage = "https://github.com/huashengdun/webssh/"; 18 - description = "Web based ssh client"; 19 35 license = licenses.mit; 20 36 maintainers = with maintainers; [ davidtwco ]; 21 37 };
+5 -2
pkgs/development/python-modules/werkzeug/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "werkzeug"; 15 - version = "2.0.1"; 15 + version = "2.0.2"; 16 + format = "setuptools"; 17 + 16 18 disabled = pythonOlder "3.6"; 17 19 18 20 src = fetchPypi { 19 21 pname = "Werkzeug"; 20 22 inherit version; 21 - sha256 = "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"; 23 + sha256 = "sha256-qiu2/I3ujWxQTArB5/X33FgQqZA+eTtvcVqfAVva25o="; 22 24 }; 23 25 24 26 propagatedBuildInputs = lib.optionals (!stdenv.isDarwin) [ ··· 54 56 utility libraries. 55 57 ''; 56 58 license = licenses.bsd3; 59 + maintainers = with maintainers; [ ]; 57 60 }; 58 61 }
+2 -2
pkgs/development/python-modules/widgetsnbextension/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "widgetsnbextension"; 10 - version = "3.5.1"; 10 + version = "3.5.2"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7"; 14 + sha256 = "e0731a60ba540cd19bbbefe771a9076dcd2dde90713a8f87f27f53f2d1db7727"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ notebook ];
+16 -11
pkgs/development/python-modules/wled/default.nix
··· 1 1 { lib 2 - , buildPythonPackage 3 - , pythonOlder 4 - , fetchFromGitHub 5 2 , aiohttp 3 + , aresponses 4 + , awesomeversion 6 5 , backoff 6 + , buildPythonPackage 7 + , cachetools 8 + , fetchFromGitHub 7 9 , poetry-core 8 - , packaging 9 - , yarl 10 - , aresponses 11 10 , pytest-asyncio 12 11 , pytestCheckHook 12 + , pythonOlder 13 + , yarl 13 14 }: 14 15 15 16 buildPythonPackage rec { 16 17 pname = "wled"; 17 - version = "0.8.0"; 18 - disabled = pythonOlder "3.8"; 18 + version = "0.10.0"; 19 19 format = "pyproject"; 20 + 21 + disabled = pythonOlder "3.8"; 20 22 21 23 src = fetchFromGitHub { 22 24 owner = "frenck"; 23 25 repo = "python-wled"; 24 26 rev = "v${version}"; 25 - sha256 = "1jhykilb81sp1srxk91222qglwdlr993ssvgfnl837nbcx6ws1hw"; 27 + sha256 = "0ivh6yxpswz730i33fwr4hj8nwdmdyw4n6p89x9sxmvjmd7ihkgm"; 26 28 }; 27 29 28 30 nativeBuildInputs = [ ··· 31 33 32 34 propagatedBuildInputs = [ 33 35 aiohttp 36 + awesomeversion 34 37 backoff 35 - packaging 38 + cachetools 36 39 yarl 37 40 ]; 38 41 ··· 49 52 --replace "--cov" "" 50 53 ''; 51 54 52 - pythonImportsCheck = [ "wled" ]; 55 + pythonImportsCheck = [ 56 + "wled" 57 + ]; 53 58 54 59 meta = with lib; { 55 60 description = "Asynchronous Python client for WLED";
+2 -2
pkgs/development/python-modules/wrapt/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "wrapt"; 8 - version = "1.13.1"; 8 + version = "1.13.3"; 9 9 10 10 # No tests in archive 11 11 doCheck = false; 12 12 13 13 src = fetchPypi { 14 14 inherit pname version; 15 - sha256 = "909a80ce028821c7ad01bdcaa588126825931d177cdccd00b3545818d4a195ce"; 15 + sha256 = "1fea9cd438686e6682271d36f3481a9f3636195578bab9ca3382e2f5f01fc185"; 16 16 }; 17 17 18 18 meta = {
+2 -2
pkgs/development/python-modules/xattr/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "xattr"; 10 - version = "0.9.7"; 10 + version = "0.9.8"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "b0bbca828e04ef2d484a6522ae7b3a7ccad5e43fa1c6f54d78e24bb870f49d44"; 14 + sha256 = "bf11c8c857215e3ef60b031e7807264f30af4348d7565a7e9b8dca70593753c7"; 15 15 }; 16 16 17 17 propagatedBuildInputs = [ cffi ];
+2 -2
pkgs/development/python-modules/xstatic-jquery-ui/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "XStatic-jquery-ui"; 9 - version = "1.12.1.1"; 9 + version = "1.13.0.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit version pname; 13 - sha256 = "d6ba48bb474420a8bcb2be02eef6ae96281ec24eff6befa54f04ebc9e4cc8910"; 13 + sha256 = "3697e5f0ef355b8f4a1c724221592683c2db031935cbb57b46224eef474bd294"; 14 14 }; 15 15 16 16 # no tests implemented
+2 -2
pkgs/development/python-modules/youtube-search-python/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "youtube-search-python"; 5 - version = "1.5.1"; 5 + version = "1.5.2"; 6 6 7 7 disabled = pythonOlder "3.6"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "68c70e1b6a2ce5c2c0ee64ba9c63efc9ab6e6f8acb2f51e19d570b0287e61cc9"; 11 + sha256 = "33f0d58f4803b0b2badf860cd31fb83d3f7edecdd2c01dd09cd6511abbf0e6b9"; 12 12 }; 13 13 14 14 propagatedBuildInputs = [ httpx ];
+2 -2
pkgs/development/python-modules/zarr/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "zarr"; 15 - version = "2.10.2"; 15 + version = "2.10.3"; 16 16 disabled = isPy27; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "5c6ae914ab9215631bb95c09e76b9b9b4fffa70fec0c7bca26b68387d858ebe2"; 20 + sha256 = "76932665c2146ebdf15f6dba254f9e0030552fbfcf9322dea822bff96fbce693"; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/zope_proxy/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "zope.proxy"; 9 - version = "4.4.0"; 9 + version = "4.5.0"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "b244904c5148067c3f1899d29a2c1a28faca747b143192c0f825e6bf3170a347"; 13 + sha256 = "1329846261cf6c552b05579f3cfad199b2d178510d0b4703eb5f7cdd6ebad01a"; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ zope_interface ];
+2 -2
pkgs/development/python-modules/zope_schema/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zope.schema"; 12 - version = "6.1.0"; 12 + version = "6.2.0"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "9fa04d95e8e7e9056091eed9819da6e65dde68de39c2b93617d361d1eb8a7c0c"; 16 + sha256 = "2201aef8ad75ee5a881284d7a6acd384661d6dca7bde5e80a22839a77124595b"; 17 17 }; 18 18 19 19 propagatedBuildInputs = [ zope_location zope_event zope_interface zope_testing ];
+2 -2
pkgs/development/python-modules/zope_testrunner/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "zope.testrunner"; 13 - version = "5.3.0"; 13 + version = "5.4.0"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "39a5ba631830703ea011383447135063db6d182794487dda9b8c1f515bb70b0f"; 17 + sha256 = "4869229fc909e4aa8e76665a718f90dc88f73858b32ca5fa3dea6840e9210fb4"; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ zope_interface zope_exceptions zope_testing six ];
+4 -3
pkgs/tools/admin/awscli/default.nix
··· 20 20 in 21 21 with py.pkgs; buildPythonApplication rec { 22 22 pname = "awscli"; 23 - version = "1.20.54"; # N.B: if you change this, change botocore and boto3 to a matching version too 23 + version = "1.22.14"; # N.B: if you change this, change botocore and boto3 to a matching version too 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "sha256-stnuPobBKIpKA4iTKGTO5kmMEl7grFdZNryz40S599M="; 27 + sha256 = "sha256-FTGtUqdjZel8XqSrO3s3XQNqR6fyTO3mc1gyIQfk9n8="; 28 28 }; 29 29 30 30 # https://github.com/aws/aws-cli/issues/4837 31 31 postPatch = '' 32 32 substituteInPlace setup.py \ 33 - --replace "docutils>=0.10,<0.16" "docutils>=0.10" 33 + --replace "docutils>=0.10,<0.16" "docutils>=0.10" \ 34 + --replace "rsa>=3.1.2,<4.8" "rsa<5,>=3.1.2" 34 35 ''; 35 36 36 37 propagatedBuildInputs = [
+11 -3
pkgs/tools/admin/azure-cli/python-packages.nix
··· 119 119 ''; 120 120 }; 121 121 122 - azure-appconfiguration = overrideAzureMgmtPackage super.azure-appconfiguration "1.1.1" "zip" 123 - "sha256-uDzSy2PZMiXehOJ6u/wFkhL43id2b0xY3Tq7g53/C+Q="; 124 - 125 122 azure-batch = overrideAzureMgmtPackage super.azure-batch "11.0.0" "zip" 126 123 "83d7a2b0be42ca456ac2b56fa3dc6ce704c130e888d37d924072c1d3718f32da"; 127 124 ··· 310 307 311 308 azure-multiapi-storage = overrideAzureMgmtPackage super.azure-multiapi-storage "0.7.0" "tar.gz" 312 309 "cd4f184be8c9ca8aca969f93ed50dc7fe556d28ca11520440fc182cf876abdf9"; 310 + 311 + azure-appconfiguration = super.azure-appconfiguration.overrideAttrs(oldAttrs: rec { 312 + version = "1.1.1"; 313 + 314 + src = super.fetchPypi { 315 + inherit (oldAttrs) pname; 316 + inherit version; 317 + sha256 = "sha256-uDzSy2PZMiXehOJ6u/wFkhL43id2b0xY3Tq7g53/C+Q="; 318 + extension = "zip"; 319 + }; 320 + }); 313 321 314 322 azure-graphrbac = super.azure-graphrbac.overrideAttrs(oldAttrs: rec { 315 323 version = "0.60.0";
+28 -9
pkgs/tools/security/wapiti/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "wapiti"; 8 - version = "3.0.5"; 8 + version = "3.0.7"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "wapiti-scanner"; 12 12 repo = pname; 13 13 rev = version; 14 - sha256 = "0663hzpmn6p5xh65d2gk4yk2zh992lfd9lhdwwabhpv3n85nza75"; 14 + sha256 = "0kya9a2zs1c518z4p34pfjx2sms6843gh3c9qc9zvk4lr4g7hw3x"; 15 15 }; 16 16 17 17 nativeBuildInputs = with python3.pkgs; [ ··· 19 19 ]; 20 20 21 21 propagatedBuildInputs = with python3.pkgs; [ 22 + aiocache 23 + aiosqlite 22 24 beautifulsoup4 23 25 browser-cookie3 24 26 cryptography 27 + dnspython 28 + httpx 29 + httpx-ntlm 30 + httpx-socks 31 + loguru 25 32 Mako 26 33 markupsafe 27 34 pysocks 28 - httpx 29 - httpx-ntlm 30 - httpx-socks 31 35 six 36 + sqlalchemy 32 37 tld 33 38 yaswfp 34 - ] ++ lib.optionals (python3.pythonOlder "3.8") [ importlib-metadata ]; 39 + ] ++ lib.optionals (python3.pythonOlder "3.8") [ 40 + importlib-metadata 41 + ]; 35 42 36 43 checkInputs = with python3.pkgs; [ 37 44 respx ··· 42 49 postPatch = '' 43 50 # Ignore pinned versions 44 51 substituteInPlace setup.py \ 45 - --replace "==" ">=" 52 + --replace "httpx-socks[asyncio] == 0.5.1" "httpx-socks[asyncio]" \ 53 + --replace "markupsafe==1.1.1" "markupsafe" \ 54 + --replace "importlib_metadata==3.7.2" "importlib_metadata" \ 55 + --replace "browser-cookie3==0.11.4" "browser-cookie3" \ 56 + --replace "cryptography==3.3.2" "cryptography" \ 57 + --replace "httpx[brotli]==0.20.0" "httpx" \ 58 + --replace "sqlalchemy>=1.4.26" "sqlalchemy" \ 59 + --replace "aiocache==0.11.1" "aiocache" \ 60 + --replace "aiosqlite==0.17.0" "aiosqlite" \ 61 + --replace "dnspython==2.1.0" "dnspython" 46 62 substituteInPlace setup.cfg \ 47 - --replace " --cov" "" 63 + --replace " --cov --cov-report=xml" "" 48 64 ''; 49 65 50 66 preCheck = '' ··· 92 108 "test_title_false_positive" 93 109 "test_title_positive" 94 110 "test_true_positive_request_count" 111 + "test_unregistered_cname" 95 112 "test_url_detection" 96 113 "test_warning" 97 114 "test_whole" ··· 108 125 "test_persister_upload" 109 126 ]; 110 127 111 - pythonImportsCheck = [ "wapitiCore" ]; 128 + pythonImportsCheck = [ 129 + "wapitiCore" 130 + ]; 112 131 113 132 meta = with lib; { 114 133 description = "Web application vulnerability scanner";
+10
pkgs/top-level/python-packages.nix
··· 3398 3398 3399 3399 grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { }; 3400 3400 3401 + grpcio-status = callPackage ../development/python-modules/grpcio-status { }; 3402 + 3401 3403 grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; 3402 3404 3403 3405 gruut = callPackage ../development/python-modules/gruut { }; ··· 3960 3962 3961 3963 jaraco_collections = callPackage ../development/python-modules/jaraco_collections { }; 3962 3964 3965 + jaraco-context = callPackage ../development/python-modules/jaraco-context { }; 3966 + 3963 3967 jaraco_functools = callPackage ../development/python-modules/jaraco_functools { }; 3964 3968 3965 3969 jaraco_itertools = callPackage ../development/python-modules/jaraco_itertools { }; ··· 4035 4039 }; 4036 4040 4037 4041 jsbeautifier = callPackage ../development/python-modules/jsbeautifier { }; 4042 + 4043 + jschema-to-python = callPackage ../development/python-modules/jschema-to-python { }; 4038 4044 4039 4045 jsmin = callPackage ../development/python-modules/jsmin { }; 4040 4046 ··· 4266 4272 langcodes = callPackage ../development/python-modules/langcodes { }; 4267 4273 4268 4274 langdetect = callPackage ../development/python-modules/langdetect { }; 4275 + 4276 + language-data = callPackage ../development/python-modules/language-data { }; 4269 4277 4270 4278 lark-parser = callPackage ../development/python-modules/lark-parser { }; 4271 4279 ··· 8460 8468 sanic-testing = callPackage ../development/python-modules/sanic-testing { }; 8461 8469 8462 8470 sapi-python-client = callPackage ../development/python-modules/sapi-python-client { }; 8471 + 8472 + sarif-om = callPackage ../development/python-modules/sarif-om { }; 8463 8473 8464 8474 sarge = callPackage ../development/python-modules/sarge { }; 8465 8475
-2
pkgs/top-level/python2-packages.nix
··· 438 438 439 439 pydns = callPackage ../development/python-modules/pydns { }; 440 440 441 - pydocstyle = callPackage ../development/python-modules/pydocstyle/2.nix { }; 442 - 443 441 pyechonest = callPackage ../development/python-modules/pyechonest { }; 444 442 445 443 pyexcelerator = callPackage ../development/python-modules/pyexcelerator { };