File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
pkgs/development/python-modules/twilio Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3- aiohttp ,
43 aiohttp-retry ,
4+ aiohttp ,
55 aiounittest ,
66 buildPythonPackage ,
77 cryptography ,
88 django ,
99 fetchFromGitHub ,
1010 mock ,
1111 multidict ,
12- pyngrok ,
1312 pyjwt ,
13+ pyngrok ,
1414 pytestCheckHook ,
15+ pythonAtLeast ,
1516 pythonOlder ,
1617 pytz ,
1718 requests ,
@@ -43,9 +44,6 @@ buildPythonPackage rec {
4344 requests
4445 ] ;
4546
46- # aiounittest is not supported on 3.12
47- doCheck = pythonOlder "3.12" ;
48-
4947 nativeCheckInputs = [
5048 aiounittest
5149 cryptography
@@ -61,11 +59,16 @@ buildPythonPackage rec {
6159 "test_set_user_agent_extensions"
6260 ] ;
6361
64- disabledTestPaths = [
65- # Tests require API token
66- "tests/cluster/test_webhook.py"
67- "tests/cluster/test_cluster.py"
68- ] ;
62+ disabledTestPaths =
63+ [
64+ # Tests require API token
65+ "tests/cluster/test_webhook.py"
66+ "tests/cluster/test_cluster.py"
67+ ]
68+ ++ lib . optionals ( pythonAtLeast "3.11" ) [
69+ # aiounittest is not supported on Python 3.12
70+ "tests/unit/http/test_async_http_client.py"
71+ ] ;
6972
7073 pythonImportsCheck = [ "twilio" ] ;
7174
You can’t perform that action at this time.
0 commit comments