Merge pull request #233962 from fabaff/twilio-bump

python310Packages.twilio: 7.17.0 -> 8.2.1
This commit is contained in:
Weijia Wang 2023-05-25 15:30:33 +03:00 committed by GitHub
commit dbed5711b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,14 @@
{ lib
, aiohttp
, aiohttp-retry
, aiounittest
, buildPythonPackage
, cryptography
, django
, fetchFromGitHub
, mock
, multidict
, pyngrok
, pyjwt
, pytestCheckHook
, pythonOlder
@ -14,25 +18,29 @@
buildPythonPackage rec {
pname = "twilio";
version = "7.17.0";
version = "8.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = "refs/tags/${version}";
hash = "sha256-14agJq7+fuQXqFDS8qfCj45XW/v3CekKmC5TA/5+eTk=";
hash = "sha256-joL+6+LfrF2bWkw3hViA97RYqcMVWw+MlHub+OaXlgI=";
};
propagatedBuildInputs = [
aiohttp
aiohttp-retry
pyjwt
pyngrok
pytz
requests
];
nativeCheckInputs = [
aiounittest
cryptography
django
mock
@ -46,6 +54,12 @@ buildPythonPackage rec {
"test_set_user_agent_extensions"
];
disabledTestPaths = [
# Tests require API token
"tests/cluster/test_webhook.py"
"tests/cluster/test_cluster.py"
];
pythonImportsCheck = [
"twilio"
];