Merge pull request #173778 from fabaff/twilio-bump

main
Sandro 2 years ago committed by GitHub
commit 8a773cfd25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      pkgs/development/python-modules/twilio/default.nix

@ -1,19 +1,17 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , mock
, pyjwt , pyjwt
, pytestCheckHook
, pythonOlder
, pytz , pytz
, requests , requests
, mock
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "twilio"; pname = "twilio";
version = "7.8.0"; version = "7.9.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -22,7 +20,7 @@ buildPythonPackage rec {
owner = "twilio"; owner = "twilio";
repo = "twilio-python"; repo = "twilio-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-r28iKUv+i8D6JLvsJA7x8T2KFzK26limIwqsXC5jjSE="; hash = "sha256-oi8LqyeqN8gn06B/m1wNI9iNu7hU3NrdkL7xTsImYPI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -36,6 +34,12 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
disabledTests = [
# Tests require network access
"test_set_default_user_agent"
"test_set_user_agent_extensions"
];
pythonImportsCheck = [ pythonImportsCheck = [
"twilio" "twilio"
]; ];
@ -44,6 +48,6 @@ buildPythonPackage rec {
description = "Twilio API client and TwiML generator"; description = "Twilio API client and TwiML generator";
homepage = "https://github.com/twilio/twilio-python/"; homepage = "https://github.com/twilio/twilio-python/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ fab ];
}; };
} }

Loading…
Cancel
Save