Source: google-apputils-python
Version: 0.4.0-2

Hi,

I'm trying to build protobuf 2.6.0's Python bindings against python3.
It's failing because
/usr/lib/python3/dist-packages/google_apputils-0.4.0.egg-info/requires.txt
says that google.apputils depends on "python-dateutil>=1.4,<2", while
the archive has version 2.0 of dateutil (at least for Python 3).

The package itself doesn't have the upper bound, only the lower one:

    Depends: python3-dateutil (>= 1.4)

(Interestingly, the python-google-apputils package does have the upper
bound: "python-dateutil (<< 2)".)

Could this dependency be relaxed?  E.g., as in the attached patch.

Thanks!

-- 
Robert Edmonds
[email protected]
>From bd58ab34d280a8e1ea1dbdb94201199fe8a90d6d Mon Sep 17 00:00:00 2001
From: "Robert S. Edmonds" <[email protected]>
Date: Sun, 31 Aug 2014 20:31:51 -0700
Subject: [PATCH] setup.py: loosen versioned install_requires dependency on
 python-dateutil

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index ac367d0..322e99b 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ from setuptools import setup, find_packages
 from setuptools.command import test
 
 REQUIRE = [
-    "python-dateutil>=1.4,<2",
+    "python-dateutil>=1.4",
     "python-gflags>=1.4",
     "pytz>=2010",
     ]
-- 
2.0.0

Reply via email to