diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2021-11-09 22:33:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 22:33:40 +0100 |
commit | ec0ad1622c597af00fc7bc9945b46f889f450711 (patch) | |
tree | b7db8936439cbeb927abf708f378a9f0e5a1217c /pkgs/development/python-modules | |
parent | 96d51a3f085b4d4e3a0b0e115fd5c05a964add0d (diff) | |
parent | f64750dca6b7dde9029677487b66f2c1249a8054 (diff) |
Merge pull request #145215 from fabaff/bump-python-socketio
python3Packages.python-engineio: 4.2.1 -> 4.3.0, python3Packages.python-socketio: 5.4.0 -> 5.4.1
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/python-engineio/default.nix | 33 | ||||
-rw-r--r-- | pkgs/development/python-modules/python-socketio/default.nix | 18 |
2 files changed, 37 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/python-engineio/default.nix b/pkgs/development/python-modules/python-engineio/default.nix index 7f51ccac6a726..33f74d9324650 100644 --- a/pkgs/development/python-modules/python-engineio/default.nix +++ b/pkgs/development/python-modules/python-engineio/default.nix @@ -1,28 +1,32 @@ -{ lib, stdenv -, buildPythonPackage -, fetchFromGitHub +{ lib +, stdenv , aiohttp +, buildPythonPackage , eventlet +, fetchFromGitHub , iana-etc , libredirect , mock +, pytestCheckHook +, pythonOlder , requests , six , tornado , websocket-client -, websockets -, pytestCheckHook }: buildPythonPackage rec { pname = "python-engineio"; - version = "4.2.1"; + version = "4.3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "miguelgrinberg"; repo = "python-engineio"; rev = "v${version}"; - sha256 = "sha256-aAoTeQZCtxddVBPwlyv2j4aACMO9p0vQ/ESkkv4E3VE="; + sha256 = "sha256-ohNRtceh0bHBlnGSFUckG5KzoLY8Q1jvpFee7T78Vto="; }; checkInputs = [ @@ -32,7 +36,6 @@ buildPythonPackage rec { requests tornado websocket-client - websockets pytestCheckHook ]; @@ -43,11 +46,19 @@ buildPythonPackage rec { export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols:/etc/resolv.conf=$(realpath resolv.conf) \ LD_PRELOAD=${libredirect}/lib/libredirect.so ''; - postCheck = "unset NIX_REDIRECTS LD_PRELOAD"; + + postCheck = '' + unset NIX_REDIRECTS LD_PRELOAD + ''; # somehow effective log level does not change? - disabledTests = [ "test_logger" ]; - pythonImportsCheck = [ "engineio" ]; + disabledTests = [ + "test_logger" + ]; + + pythonImportsCheck = [ + "engineio" + ]; meta = with lib; { description = "Python based Engine.IO client and server"; diff --git a/pkgs/development/python-modules/python-socketio/default.nix b/pkgs/development/python-modules/python-socketio/default.nix index 5a672b2dec642..cd41899c58101 100644 --- a/pkgs/development/python-modules/python-socketio/default.nix +++ b/pkgs/development/python-modules/python-socketio/default.nix @@ -1,4 +1,5 @@ { lib +, aiohttp , bidict , buildPythonPackage , fetchFromGitHub @@ -6,22 +7,31 @@ , msgpack , pytestCheckHook , python-engineio +, pythonOlder +, requests +, websocket-client }: buildPythonPackage rec { pname = "python-socketio"; - version = "5.4.0"; + version = "5.4.1"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "miguelgrinberg"; repo = "python-socketio"; rev = "v${version}"; - sha256 = "sha256-0Q1R8XPciU5AEkj7Exlc906eyA5juYKzzA/Ygnzx7XU="; + sha256 = "sha256-qmC7AL2ZNB0D5p3c8ozacNMKc2COzYzPJfz6KXwWsd0="; }; propagatedBuildInputs = [ + aiohttp bidict python-engineio + requests + websocket-client ]; checkInputs = [ @@ -30,7 +40,9 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "socketio" ]; + pythonImportsCheck = [ + "socketio" + ]; meta = with lib; { description = "Python Socket.IO server and client"; |