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