From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Circular dependencies in python modules Date: Thu, 22 Jan 2015 20:37:57 +0100 Message-ID: <20150122193757.GA19075@debian.math.u-bordeaux1.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YENZu-0007Co-T6 for guix-devel@gnu.org; Thu, 22 Jan 2015 14:38:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YENZq-00021O-OZ for guix-devel@gnu.org; Thu, 22 Jan 2015 14:38:06 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:60807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YENZq-000216-Eo for guix-devel@gnu.org; Thu, 22 Jan 2015 14:38:02 -0500 Content-Disposition: inline In-Reply-To: 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: Federico Beffa Cc: Guix-devel 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. I would suggest to patch this 'SPARQLWrapper' away. What is the recommended way nowadays? A patch, I suppose? Or a snippet? There is another occurrence of SPARQLWrapper in rdflib.egg-info/requires.txt. But I suppose this is merely documentation? Andreas