Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Jeremy Stanley Newsgroups: linux.debian.maint.python Subject: Re: can pip be made using local Debian packages for any dependencies Date: Wed, 15 Feb 2023 23:10:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Feb 15 22:01:08 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] 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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ngneqmd24bub4rrl" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Sa-Exim-Connect-IP: 2001:4802:7801:102:be76:4eff:fe20:63e0 X-Sa-Exim-Rcpt-To: debian-python@lists.debian.org X-Sa-Exim-Mail-From: fungi@yuggoth.org X-Sa-Exim-Scanned: No (on azathoth.yuggoth.org); SAEximRunCond expanded to false X-Mailing-List: archive/latest/20825 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20230215220038.spc62azcb62rila2@yuggoth.org Approved: robomod@news.nic.it Lines: 42 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 15 Feb 2023 22:00:39 +0000 X-Original-Message-ID: <20230215220038.spc62azcb62rila2@yuggoth.org> X-Original-References: <20230215163553.dky22eeiwdwdabnm@satie.tumbleweed.org.za> Xref: csiph.com linux.debian.maint.python:14926 --ngneqmd24bub4rrl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As someone who does Python software development on Debian constantly for their $dayjob, my best advice is to just install things from PyPI into and run them from venvs/virtualenvs. The default "--user" install mode pip offers is fragile and leaves you with potential conflicts anyway if you need different versions of dependencies for different things. To your original question, if you really want to use some Debian-packaged libraries mixed with things installed from source or =66rom PyPI, make your venv with the --system-site-packages option. --=20 Jeremy Stanley --ngneqmd24bub4rrl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAmPtVf9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3 QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ WCkCpg//Rk39BAqwEaQfhacPJrYTzmdp9uSRPDnwVR3zQVQo+oUscK/ktZXm8xzx R/eF3voG60L0ZHkLTO3AnkUhGHShwy/wXLi7B9vvFpmZ45jrvIkNOAASmHh+Nb54 7FQ+w/rUrKcMP0p9v6PvDW7U66nsYM8vMmVmQmBpCCPBC42rTgDlRMtvCn8iWu/J fG4gdf3KFMMXAynAJHeuMJN2hrp3qn7L0NjCRk37VYPGUM9ws7HsQWXuCbkbNWm/ R+Z07sPReBynNhzQaoh5vbxjkXKOeE1pdnDwh4hDRBeXOMRHMJ4RI6WX6Oz3ZyCs 2x0yABhwWS4s/fFwqFiUkLAtvy6eCot8ynEtAEBrcZO2x4WeJGyM6XO1lOKKLvy/ nThEp5O5I9ktAgVROkjuZqyUau0tlqq9l29y4vMfbSzKiCEbsiPy4biyp87S8J8E 3uS+kTQ2TbNGhBqQQpL5gccNSlxaXyH6PbtpTg4R3Dr9NqA1wkoZ7PPzt7WFmIbS MGggsA2i+rt2Lj2fBJDqmZV6q6Qz5QTW1f42ADrXRx0ajBZRn5jH+r02xDVBPfB1 XgCk0TPwt3vKWunSKuQcmTXli9xTEkKsG+VCRLOwrh7EH7RcxItnL4LCsocTHlop g0CG0cXWFMYlKiesVWSZbCsA+xYOWm2wXDOSdaHdOC9sqKqryLk= =kwwo -----END PGP SIGNATURE----- --ngneqmd24bub4rrl--