Merge pull request #206825 from fabaff/python-socketio-bump

python310Packages.python-socketio: 5.7.1 -> 5.7.2
This commit is contained in:
Fabian Affolter 2022-12-19 12:08:24 +01:00 committed by GitHub
commit 94e02f5bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 14 deletions

View file

@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "miguelgrinberg"; owner = "miguelgrinberg";
repo = "python-engineio"; repo = "python-engineio";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-fymO9WqkYaRsHKCJHQJpySHqZor2t8BfVrfYUfYoJno="; hash = "sha256-fymO9WqkYaRsHKCJHQJpySHqZor2t8BfVrfYUfYoJno=";
}; };
checkInputs = [ checkInputs = [
@ -66,6 +66,7 @@ buildPythonPackage rec {
bidirectional event-based communication between clients and a server. bidirectional event-based communication between clients and a server.
''; '';
homepage = "https://github.com/miguelgrinberg/python-engineio/"; homepage = "https://github.com/miguelgrinberg/python-engineio/";
changelog = "https://github.com/miguelgrinberg/python-engineio/blob/v${version}/CHANGES.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ mic92 ]; maintainers = with maintainers; [ mic92 ];
}; };

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-socketio"; pname = "python-socketio";
version = "5.7.1"; version = "5.7.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -23,16 +23,23 @@ buildPythonPackage rec {
owner = "miguelgrinberg"; owner = "miguelgrinberg";
repo = "python-socketio"; repo = "python-socketio";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KVaBSBWLeFJYiNJYTwoExExUmUaeNJ40c/WTgTc2Y/w="; hash = "sha256-mSFs/k+3Lp5w4WdOLKj65kOA5b+Nc1uuksVmeeqV58E=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp
bidict bidict
python-engineio python-engineio
];
passthru.optional-dependencies = {
client = [
requests requests
websocket-client websocket-client
]; ];
asyncio_client = [
aiohttp
];
};
checkInputs = [ checkInputs = [
mock mock
@ -51,6 +58,7 @@ buildPythonPackage rec {
bidirectional event-based communication between clients and a server. bidirectional event-based communication between clients and a server.
''; '';
homepage = "https://github.com/miguelgrinberg/python-socketio/"; homepage = "https://github.com/miguelgrinberg/python-socketio/";
changelog = "https://github.com/miguelgrinberg/python-socketio/blob/v${version}/CHANGES.md";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ mic92 ]; maintainers = with maintainers; [ mic92 ];
}; };

View file

@ -1,24 +1,27 @@
{ lib { lib
, python-dateutil
, python-socketio
, requests
, jsonschema
, pythonOlder
, pytestCheckHook
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, jsonschema
, pytestCheckHook
, python-dateutil
, python-socketio
, pythonOlder
, requests
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ripe-atlas-cousteau"; pname = "ripe-atlas-cousteau";
version = "1.5.1"; version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RIPE-NCC"; owner = "RIPE-NCC";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-EHZt9Po/1wDwDacXUCVGcuVSOwcIkPCT2JCKGchu8G4="; hash = "sha256-EHZt9Po/1wDwDacXUCVGcuVSOwcIkPCT2JCKGchu8G4=";
}; };
postPatch = '' postPatch = ''
@ -30,7 +33,7 @@ buildPythonPackage rec {
python-dateutil python-dateutil
requests requests
python-socketio python-socketio
]; ] ++ python-socketio.optional-dependencies.client;
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
@ -44,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python client library for RIPE ATLAS API"; description = "Python client library for RIPE ATLAS API";
homepage = "https://github.com/RIPE-NCC/ripe-atlas-cousteau"; homepage = "https://github.com/RIPE-NCC/ripe-atlas-cousteau";
changelog = "https://github.com/RIPE-NCC/ripe-atlas-cousteau/blob/v${version}/CHANGES.rst";
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = with maintainers; [ raitobezarius ]; maintainers = with maintainers; [ raitobezarius ];
}; };