Merge pull request #156777 from fabaff/bump-pubnub

python3Packages.pubnub: 5.5.0 -> 6.0.0
This commit is contained in:
Fabian Affolter 2022-01-26 22:04:42 +01:00 committed by GitHub
commit a930bc7f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,18 +8,21 @@
, pytest-vcr
, pytest-asyncio
, requests
, six
, pythonOlder
}:
buildPythonPackage rec {
pname = "pubnub";
version = "5.5.0";
version = "6.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = "python";
rev = "v${version}";
sha256 = "133sis24jd40yq4sgp8lmg2kac5wiiccisjpkhm50rb9wdbpn6kh";
hash = "sha256-ktwPut4FBkPMukUk00I1xNOuTvSJkbskPOjoYDJN5Eg=";
};
propagatedBuildInputs = [
@ -27,22 +30,24 @@ buildPythonPackage rec {
cbor2
pycryptodomex
requests
six
];
checkInputs = [
pytest-asyncio
pytestCheckHook
pytest-vcr
pytestCheckHook
];
# Some tests don't pass with recent releases of twisted
disabledTestPaths = [
# Tests require network access
"tests/integrational"
"tests/manual/asyncio"
"tests/manual"
"tests/functional/push"
];
pythonImportsCheck = [ "pubnub" ];
pythonImportsCheck = [
"pubnub"
];
meta = with lib; {
description = "Python-based APIs for PubNub";