Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14931
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Philippe Cerfon <philcerf@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: can pip be made using local Debian packages for any dependencies |
| Date | Fri, 17 Feb 2023 03:40:01 +0100 |
| Message-ID | <FZYPf-6qXx-1@gated-at.bofh.it> (permalink) |
| References | <FYcD0-5f0N-1@gated-at.bofh.it> <FYfAR-5hCV-1@gated-at.bofh.it> <FYfKx-5hGe-1@gated-at.bofh.it> <FYfKx-5hGe-3@gated-at.bofh.it> <FYpqy-5nAX-11@gated-at.bofh.it> <FYvPj-5rC5-7@gated-at.bofh.it> <FZsZ4-66P7-13@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Feb 17 02:30:11 2023 |
| Old-Return-Path | <philcerf@gmail.com> |
| X-Amavis-Spam-Status | No, score=-2.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-pf1-x435.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Gm-Message-State | AO0yUKUc5lCLHUI7eoFhX0+SkXvYwA1NXhqCyR+YbqU0J0wA806fjk4l Mi3tBHV4/z/FEF+yibRfHgs7mvhRazar8BA0ztflY53m |
| X-Google-SMTP-Source | AK7set/Xxxg/CyVo3SlI9s76EE1HrKpGz+SXiSbthEQBcF4rvBiIg7T8fZiBdzWwEU0DQvpd9qxX2QaIYGGDCmshhQo= |
| X-Received | by 2002:a05:6a00:1629:b0:5a8:bf8a:ce96 with SMTP id e9-20020a056a00162900b005a8bf8ace96mr51880pfc.1.1676600069665; Thu, 16 Feb 2023 18:14:29 -0800 (PST) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/20830 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAN+za=Mq_=+1p-SLTFVhsR+BxXmq_Bj9TZMzRi2k4hxmMxi+Ng@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 38 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 17 Feb 2023 03:14:18 +0100 |
| X-Original-Message-ID | <CAN+za=Mq_=+1p-SLTFVhsR+BxXmq_Bj9TZMzRi2k4hxmMxi+Ng@mail.gmail.com> |
| X-Original-References | <CAN+za=M3QvK2eb_OPoxYpCA2_gtejXDMcY0kH+U6s+x_hJomCg@mail.gmail.com> <CAGUnuBF1BxOyrx1_GGEOtJONf=j08UgE9T2-juUXQnTp8p-8Mg@mail.gmail.com> <CAGUnuBGzeH3Uy8Fe6fJvoxsi9yCJXHvLYss4FKR+V+9XTut35Q@mail.gmail.com> <CAGUnuBGCqzqR-h5=rtCLD0RNTiVNHP_d+GFjtTDNE05cPCwN7g@mail.gmail.com> <Mailbird-3d2f35ae-00ad-4864-a8f9-a39876df65ae@stufft.io> <CAN+za=Nh9jMfUKmvvoJUZ3rhaPBvXFxC7PGJVc0c5euEwTmWXg@mail.gmail.com> <20230215163553.dky22eeiwdwdabnm@satie.tumbleweed.org.za> |
| Xref | csiph.com linux.debian.maint.python:14931 |
Show key headers only | View raw
On Wed, Feb 15, 2023 at 5:35 PM Stefano Rivera <stefanor@debian.org> wrote: > You sure it isn't doing an isolated build? Try --no-build-isolation. I absolutely am not :D (I'm really not a Python expert... or about it's various build systems, pip, etc.). And that seems to have done the trick. And it further seems that there's a counter part with which I can do python3 -m build namely: --no-isolation Am I right that these options simply mean that it doesn't use a venv for the build, thereby "seeing" Debian's already installed packages (or better said the eggs/wheels/whatsoever from them)? Just for my confirmation: If my goal is to simply never ever have pip/build/etc. download anything from some location, but only use local sources (e.g. stuff from Debian package) is the following safe? I set /etc/pip.conf to: [global] no-index = true index-url = https://localhost/ cert = /usr/local/share/ca-certificates/dummy.crt (guess in principle the no-index should already be enough) It seems to work (in the sense of blocking downloads) for both, pip and python -m build ... but I don't quite understand why it also works for build (thought that was independent of pip). Awesome! Thanks guys :-) Philippe
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-12 06:00 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-12 09:10 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-12 09:20 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-12 09:20 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-12 09:30 +0100
Re: can pip be made using local Debian packages for any dependencies "Donald Stufft" <donald@stufft.io> - 2023-02-12 19:40 +0100
Re: can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-13 02:30 +0100
Re: can pip be made using local Debian packages for any dependencies Stefano Rivera <stefanor@debian.org> - 2023-02-15 17:40 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-15 19:10 +0100
Re: can pip be made using local Debian packages for any dependencies Stefano Rivera <stefanor@debian.org> - 2023-02-15 21:20 +0100
Re: can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-17 03:40 +0100
Re: can pip be made using local Debian packages for any dependencies Stefano Rivera <stefanor@debian.org> - 2023-02-17 15:40 +0100
Re: can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-18 06:20 +0100
Re: can pip be made using local Debian packages for any dependencies Andrey Rakhmatullin <wrar@wrar.name> - 2023-02-17 19:30 +0100
Re: can pip be made using local Debian packages for any dependencies Jeremy Stanley <fungi@yuggoth.org> - 2023-02-15 23:10 +0100
Re: can pip be made using local Debian packages for any dependencies Ian Norton <inorton@gmail.com> - 2023-02-16 02:20 +0100
Re: can pip be made using local Debian packages for any dependencies Andrey Rakhmatullin <wrar@wrar.name> - 2023-02-16 10:20 +0100
Re: can pip be made using local Debian packages for any dependencies Jeremy Stanley <fungi@yuggoth.org> - 2023-02-16 14:50 +0100
Re: can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-17 03:40 +0100
Re: can pip be made using local Debian packages for any dependencies Philippe Cerfon <philcerf@gmail.com> - 2023-02-13 02:20 +0100
csiph-web