python3Packages.pubnub: 4.8.0 -> 5.1.1

This commit is contained in:
Fabian Affolter 2021-04-08 01:14:19 +02:00
parent c33772a781
commit 712ab79af5

View file

@ -13,16 +13,17 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pubnub"; pname = "pubnub";
version = "4.8.0"; version = "5.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = "python"; repo = "python";
rev = "v${version}"; rev = "v${version}";
sha256 = "16wjal95042kh5fxhvji0rwmw892pacqcnyms520mw15wcwilqir"; sha256 = "sha256-ir8f8A6XuN1ZQIYQbArChLzTlYu4ZKpkoOXQtSLOvKg=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp
cbor2 cbor2
pycryptodomex pycryptodomex
requests requests
@ -30,19 +31,15 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
aiohttp
pycryptodomex
pytest-asyncio pytest-asyncio
pytestCheckHook pytestCheckHook
pytest-vcr pytest-vcr
]; ];
# Some tests don't pass with recent releases of tornado/twisted # Some tests don't pass with recent releases of twisted
pytestFlagsArray = [ disabledTestPaths = [
"--ignore tests/integrational" "tests/integrational"
"--ignore tests/manual/asyncio" "tests/manual/asyncio"
"--ignore tests/manual/tornado/test_reconnections.py"
]; ];
pythonImportsCheck = [ "pubnub" ]; pythonImportsCheck = [ "pubnub" ];