Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
Hi, Since "wheezy" release, Twitter has made breaking changes to their APIs and this has broken some packages in the archive like tweepy (e.g. #736174). For this reason, I'm proposing an update to the stable version to change two default settings and make usable this package again. I'm attaching a .debdiff with the proposed change. Thanks, -- System Information: Debian Release: 7.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash -- Miguel Landaeta, nomadium at debian.org secure email with PGP 0x6E608B637D8967E9 available at http://db.debian.org/fetchkey.cgi?fingerprint=4CB7FE1E280ECC90F29A597E6E608B637D8967E9 "Faith means not wanting to know what is true." -- Nietzsche
diff -Nru tweepy-1.7.1/debian/changelog tweepy-1.7.1/debian/changelog --- tweepy-1.7.1/debian/changelog 2011-04-19 18:29:04.000000000 -0300 +++ tweepy-1.7.1/debian/changelog 2014-04-10 17:47:56.000000000 -0300 @@ -1,3 +1,15 @@ +tweepy (1.7.1-2+deb7u1) stable; urgency=low + + * Change Twitter API defaults to be able to keep using the library + (Closes: #736174): + - On Tuesday, June 11, 2013 Twitter retired API v1. + https://blog.twitter.com/2013/api-v1-is-retired + - On January 14th, 2014, connections to api.twitter.com were + restricted to TLS/SSL connections only. + https://dev.twitter.com/discussions/24239 + + -- Miguel Landaeta <nomad...@debian.org> Thu, 10 Apr 2014 17:43:25 -0300 + tweepy (1.7.1-2) unstable; urgency=low * Python transition: diff -Nru tweepy-1.7.1/debian/patches/02_change_twitter_api_defaults.diff tweepy-1.7.1/debian/patches/02_change_twitter_api_defaults.diff --- tweepy-1.7.1/debian/patches/02_change_twitter_api_defaults.diff 1969-12-31 21:00:00.000000000 -0300 +++ tweepy-1.7.1/debian/patches/02_change_twitter_api_defaults.diff 2014-04-10 17:45:37.000000000 -0300 @@ -0,0 +1,17 @@ +Description: Change default settings to connect with Twitter API +Author: Miguel Landaeta <nomad...@debian.org> +Bug-Debian: http://bugs.debian.org/736174 +Forwarded: not-needed +Last-Update: 2014-04-10 + +--- tweepy-1.7.1.orig/tweepy/api.py ++++ tweepy-1.7.1/tweepy/api.py +@@ -16,7 +16,7 @@ class API(object): + + def __init__(self, auth_handler=None, + host='api.twitter.com', search_host='search.twitter.com', +- cache=None, secure=False, api_root='/1', search_root='', ++ cache=None, secure=True, api_root='/1.1', search_root='', + retry_count=0, retry_delay=0, retry_errors=None, + parser=None): + self.auth = auth_handler diff -Nru tweepy-1.7.1/debian/patches/series tweepy-1.7.1/debian/patches/series --- tweepy-1.7.1/debian/patches/series 2011-03-23 18:59:02.000000000 -0300 +++ tweepy-1.7.1/debian/patches/series 2014-04-10 17:44:38.000000000 -0300 @@ -1 +1,2 @@ 01_use_python_oauth.diff +02_change_twitter_api_defaults.diff
signature.asc
Description: Digital signature