[Python-modules-commits] r28507 - in packages/tweepy/branches/wheezy/debian (3 files)

nomadium at users.alioth.debian.org nomadium at users.alioth.debian.org
Thu Apr 10 22:06:26 UTC 2014


    Date: Thursday, April 10, 2014 @ 22:06:25
  Author: nomadium
Revision: 28507

Change Twitter API defaults to be able to keep using the library in wheezy

Added:
  packages/tweepy/branches/wheezy/debian/patches/02_change_twitter_api_defaults.diff
Modified:
  packages/tweepy/branches/wheezy/debian/changelog
  packages/tweepy/branches/wheezy/debian/patches/series

Modified: packages/tweepy/branches/wheezy/debian/changelog
===================================================================
--- packages/tweepy/branches/wheezy/debian/changelog	2014-04-10 22:04:01 UTC (rev 28506)
+++ packages/tweepy/branches/wheezy/debian/changelog	2014-04-10 22:06:25 UTC (rev 28507)
@@ -1,3 +1,15 @@
+tweepy (1.7.1-2+deb7u1) UNRELEASED; 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 <nomadium at debian.org>  Thu, 10 Apr 2014 17:43:25 -0300
+
 tweepy (1.7.1-2) unstable; urgency=low
 
   * Python transition:

Added: packages/tweepy/branches/wheezy/debian/patches/02_change_twitter_api_defaults.diff
===================================================================
--- packages/tweepy/branches/wheezy/debian/patches/02_change_twitter_api_defaults.diff	                        (rev 0)
+++ packages/tweepy/branches/wheezy/debian/patches/02_change_twitter_api_defaults.diff	2014-04-10 22:06:25 UTC (rev 28507)
@@ -0,0 +1,17 @@
+Description: Change default settings to connect with Twitter API
+Author: Miguel Landaeta <nomadium at 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

Modified: packages/tweepy/branches/wheezy/debian/patches/series
===================================================================
--- packages/tweepy/branches/wheezy/debian/patches/series	2014-04-10 22:04:01 UTC (rev 28506)
+++ packages/tweepy/branches/wheezy/debian/patches/series	2014-04-10 22:06:25 UTC (rev 28507)
@@ -1 +1,2 @@
 01_use_python_oauth.diff
+02_change_twitter_api_defaults.diff




More information about the Python-modules-commits mailing list