Path: csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.maint.python Subject: Re: can pip be made using local Debian packages for any dependencies Date: Wed, 15 Feb 2023 17:40:02 +0100 Message-ID: References: X-Original-To: Philippe Cerfon X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Feb 15 16:36:17 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-106.863 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, LDO_WHITELIST=-5, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6 Mail-Followup-To: Philippe Cerfon , Donald Stufft , Ian Norton , debian-python@lists.debian.org X-Gpg-Public-Key: http://www.rivera.za.net/stefano.gpg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20201127 X-Mailing-List: archive/latest/20821 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20230215163553.dky22eeiwdwdabnm@satie.tumbleweed.org.za Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Donald Stufft , Ian Norton , debian-python@lists.debian.org X-Original-Date: Wed, 15 Feb 2023 16:35:53 +0000 X-Original-Message-ID: <20230215163553.dky22eeiwdwdabnm@satie.tumbleweed.org.za> X-Original-References: Xref: csiph.com linux.debian.maint.python:14922 Hi Philippe (2023.02.13_01:11:28_+0000) > On Sun, Feb 12, 2023 at 7:31 PM Donald Stufft wrote: > > > > I'm pretty sure that most if not all debian packages already ship > > the required information for pip to see them as installed, and if > > they are installed and they satisfy the dependency constraints that > > pip has for those projects, then they'll be used. Yeah, most packages should ship .egg-info/.dist-info. > Also: > $ dpkg -l python3-setuptools > ... > ii python3-setuptools 66.1.1-1 all Python3 Distutils Enhancements > > Yet when I do e.g.: > $ pip install --editable . > Defaulting to user installation because normal site-packages is not writeable > Obtaining file:///home/test/example > Installing build dependencies ... error > error: subprocess-exited-with-error You sure it isn't doing an isolated build? Try --no-build-isolation. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272