Control: tags 915756 + patch Control: tags 915756 + pending Dear maintainer,
I've prepared an NMU for tweepy (versioned as 3.6.0-1.1) and uploaded it to DELAYED/15. Please feel free to tell me if I should cancel it. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
diff -Nru tweepy-3.6.0/debian/changelog tweepy-3.6.0/debian/changelog --- tweepy-3.6.0/debian/changelog 2018-10-16 16:09:28.000000000 +0300 +++ tweepy-3.6.0/debian/changelog 2019-01-17 17:09:41.000000000 +0200 @@ -1,3 +1,10 @@ +tweepy (3.6.0-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for FTBFS with pip >= 10. (Closes: #915756) + + -- Adrian Bunk <b...@debian.org> Thu, 17 Jan 2019 17:09:41 +0200 + tweepy (3.6.0-1) unstable; urgency=medium * Team upload diff -Nru tweepy-3.6.0/debian/patches/0001-1029-migrate-requirements-to-setup.py-reference-in-r.patch tweepy-3.6.0/debian/patches/0001-1029-migrate-requirements-to-setup.py-reference-in-r.patch --- tweepy-3.6.0/debian/patches/0001-1029-migrate-requirements-to-setup.py-reference-in-r.patch 1970-01-01 02:00:00.000000000 +0200 +++ tweepy-3.6.0/debian/patches/0001-1029-migrate-requirements-to-setup.py-reference-in-r.patch 2019-01-17 17:09:41.000000000 +0200 @@ -0,0 +1,62 @@ +From 778bd7a31d2f5fae98652735e7844533589ca221 Mon Sep 17 00:00:00 2001 +From: Ben Cipollini <bcipoll...@classy.org> +Date: Wed, 18 Apr 2018 10:26:07 -0700 +Subject: #1029 - migrate requirements to setup.py, reference in + requirements.txt + +--- + requirements.txt | 7 +++---- + setup.py | 11 ++++++----- + 2 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/requirements.txt b/requirements.txt +index 1444031..cd8c47d 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,4 +1,3 @@ +-requests>=2.11.1 +-requests_oauthlib>=0.7.0 +-six>=1.10.0 +-PySocks>=1.5.7 ++--index-url https://pypi.python.org/simple/ ++ ++-e . +diff --git a/setup.py b/setup.py +index 18c5910..5688c2f 100644 +--- a/setup.py ++++ b/setup.py +@@ -2,7 +2,6 @@ + #from distutils.core import setup + import re, uuid + from setuptools import setup, find_packages +-from pip.req import parse_requirements + + VERSIONFILE = "tweepy/__init__.py" + ver_file = open(VERSIONFILE, "rt").read() +@@ -14,9 +13,6 @@ if mo: + else: + raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) + +-install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) +-reqs = [str(req.req) for req in install_reqs] +- + setup(name="tweepy", + version=version, + description="Twitter library for python", +@@ -25,7 +21,12 @@ setup(name="tweepy", + author_email="twe...@googlegroups.com", + url="http://github.com/tweepy/tweepy", + packages=find_packages(exclude=['tests','examples']), +- install_requires=reqs, ++ install_requires=[ ++ "requests>=2.11.1", ++ "requests_oauthlib>=0.7.0", ++ "six>=1.10.0", ++ "PySocks>=1.5.7", ++ ], + keywords="twitter library", + classifiers=[ + 'Development Status :: 4 - Beta', +-- +2.11.0 + diff -Nru tweepy-3.6.0/debian/patches/series tweepy-3.6.0/debian/patches/series --- tweepy-3.6.0/debian/patches/series 2018-10-16 16:09:28.000000000 +0300 +++ tweepy-3.6.0/debian/patches/series 2019-01-17 17:09:41.000000000 +0200 @@ -1,2 +1,3 @@ fix-python3-7.patch change-find-packages.patch +0001-1029-migrate-requirements-to-setup.py-reference-in-r.patch