From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: Circular dependencies in python modules Date: Thu, 22 Jan 2015 22:15:44 +0100 Message-ID: <54C16880.1010303@gmail.com> References: <20150122193757.GA19075@debian.math.u-bordeaux1.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEP6W-0001pg-Vz for guix-devel@gnu.org; Thu, 22 Jan 2015 16:15:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEP6R-0002ZW-Oz for guix-devel@gnu.org; Thu, 22 Jan 2015 16:15:52 -0500 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:33242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEP6R-0002ZS-GR for guix-devel@gnu.org; Thu, 22 Jan 2015 16:15:47 -0500 Received: by mail-we0-f175.google.com with SMTP id p10so593795wes.6 for ; Thu, 22 Jan 2015 13:15:46 -0800 (PST) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id u18sm5490017wjq.42.2015.01.22.13.15.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 13:15:45 -0800 (PST) In-Reply-To: <20150122193757.GA19075@debian.math.u-bordeaux1.fr> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org On 01/22/2015 08:37 PM, Andreas Enge wrote: > On Thu, Jan 22, 2015 at 09:50:35AM +0100, Federico Beffa wrote: >> It appears that SPARQLWrapper is not really needed and you can disable >> dependency guessing with '--no-guessing-deps'. See >> https://sources.debian.net/src/rdflib/4.1.2-3/debian/rules/ > > Thanks for the suggestion! This seems to be some debian specific macro in > their package recipes; I tried it as a configure flag, and setup.py chokes > on it. > > However, there are these lines in setup.py: > kwargs['install_requires'] = [ > 'isodate', > 'pyparsing', 'SPARQLWrapper'] > explicitly in the "else" branch of > if sys.version_info[0] >= 3: > So this would explain why there was no problem with python-3. > In Python 3, it is not in "install_requires", but it is in "requires": https://github.com/RDFLib/rdflib/blob/master/setup.py#L43 Not sure exactly what the difference is, though. Cyril.