Bug#744154: pu: package tweepy/1.7.1-2

2014-04-13 Thread Adam D. Barratt
Control: tags -1 + pending

On Sat, 2014-04-12 at 12:44 -0300, Miguel Landaeta wrote:
 On Sat, Apr 12, 2014 at 11:37:52AM +0100, Adam D. Barratt wrote:
  Control: tags -1 + wheezy confirmed
  
  Please go ahead; thanks.
 
 Thanks, I already uploaded it.

Flagged for acceptance.

Regards,

Adam


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#744154: pu: package tweepy/1.7.1-2

2014-04-12 Thread Adam D. Barratt
Control: tags -1 + wheezy confirmed

On Thu, 2014-04-10 at 17:56 -0300, Miguel Landaeta wrote:
 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.

Please go ahead; thanks.

Regards,

Adam


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#744154: pu: package tweepy/1.7.1-2

2014-04-12 Thread Miguel Landaeta
On Sat, Apr 12, 2014 at 11:37:52AM +0100, Adam D. Barratt wrote:
 Control: tags -1 + wheezy confirmed
 
 Please go ahead; thanks.

Thanks, I already uploaded it.

Cheers,

-- 
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


signature.asc
Description: Digital signature


Bug#744154: pu: package tweepy/1.7.1-2

2014-04-11 Thread Cyril Brulebois
Hi Miguel,

Miguel Landaeta nomad...@debian.org (2014-04-10):
 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).

according to version tracking in the BTS, this isn't fixed yet in
testing/unstable; but looking at the source, it is (tweepy/api.py says
/1.1, but not docs/api.rst BTW; ditto for the secure change). So
please adjust found/fixed versions accordingly, this helps us figure out
what to do with pu requests. ;-)

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#744154: pu: package tweepy/1.7.1-2

2014-04-11 Thread Miguel Landaeta
tags  736174 + confirmed
fixed 736174 2.3-1
fixed 736174 2.3-1~bpo70+1
found 736174 1.7.1-2
found 736174 2.0-1
found 736174 2.1-1
thanks

On Fri, Apr 11, 2014 at 10:33:30AM +0200, Cyril Brulebois wrote:
 
 according to version tracking in the BTS, this isn't fixed yet in
 testing/unstable; but looking at the source, it is (tweepy/api.py says
 /1.1, but not docs/api.rst BTW; ditto for the secure change). So
 please adjust found/fixed versions accordingly, this helps us figure out
 what to do with pu requests. ;-)

Hi Cyril,

Sorry about that. I already documented which versions are affected and
which ones contain a fix for #736174.

Cheers,

-- 
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


signature.asc
Description: Digital signature


Bug#744154: pu: package tweepy/1.7.1-2

2014-04-10 Thread Miguel Landaeta
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.0 -0300
+++ tweepy-1.7.1/debian/changelog   2014-04-10 17:47:56.0 -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.0 -0300
+++ tweepy-1.7.1/debian/patches/02_change_twitter_api_defaults.diff 
2014-04-10 17:45:37.0 -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.0 -0300
+++ tweepy-1.7.1/debian/patches/series  2014-04-10 17:44:38.0 -0300
@@ -1 +1,2 @@
 01_use_python_oauth.diff
+02_change_twitter_api_defaults.diff


signature.asc
Description: Digital signature