summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2022-01-26 22:04:42 +0100
committerGitHub <noreply@github.com>2022-01-26 22:04:42 +0100
commita930bc7f4b18c32f44687af68a2cfadc262bd9f1 (patch)
tree6b8364093f7fa4fe8f136d091f7bed41febfcc6b
parent3ef24939882c4b424c7a8a104a86dcabba986679 (diff)
parent210b3ba8984b6ac3627ff666ba6e5995786354db (diff)
Merge pull request #156777 from fabaff/bump-pubnub
python3Packages.pubnub: 5.5.0 -> 6.0.0
-rw-r--r--pkgs/development/python-modules/pubnub/default.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pubnub/default.nix b/pkgs/development/python-modules/pubnub/default.nix
index 40a4bf497f46..6464b376d60e 100644
--- a/pkgs/development/python-modules/pubnub/default.nix
+++ b/pkgs/development/python-modules/pubnub/default.nix
@@ -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";