Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13380
| Path | csiph.com!eternal-september.org!reader02.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Brian May <bam@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Re: Challenges packaging Python for a Linux distro - at Python Language Summit |
| Date | Tue, 18 May 2021 00:00:02 +0200 |
| Message-ID | <CfTrk-3zQ-3@gated-at.bofh.it> (permalink) |
| References | <CfFeF-3z3-1@gated-at.bofh.it> <CfKxH-6ML-1@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon May 17 21:58:33 2021 |
| Old-Return-Path | <bam@debian.org> |
| X-Amavis-Spam-Status | No, score=-5.187 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RDNS_NONE=0.793, RERE=1] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -3.5 |
| X-Greylist | delayed 85340 seconds by postgrey-1.36 at bendel; Mon, 17 May 2021 21:58:23 UTC |
| Organization | Debian |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/19167 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/874kf1rpje.fsf@canidae.wired.pri |
| Approved | robomod@news.nic.it |
| Lines | 39 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 18 May 2021 07:58:13 +1000 |
| X-Original-Message-ID | <874kf1rpje.fsf@canidae.wired.pri> |
| X-Original-References | <CAPweEDzP4pLyw36E4K3ULuBT8hcrVTh=x4eymBc7Av29pRNodQ@mail.gmail.com> <20210517122203.2wlsug663kqujtnt@yuggoth.org> |
| Xref | csiph.com linux.debian.maint.python:13380 |
Show key headers only | View raw
Jeremy Stanley <fungi@yuggoth.org> writes: > For software development work, I compile my own Python interpreters > and libraries, because I need to develop against a variety of > different versions of these, sometimes in chroots, to be able to > target other distros and releases thereof. I keep all these in my > homedir or otherwise outside of normal system-wide installation > paths. Bear in mind that this isn't just a Debian problem, for > decades Red Hat has also advised programmers not to rely on their > /usr/bin/python for custom development because it is patched and > tuned specifically for running system applications packaged for > their distro and not intended as a general-purpose Python > distribution. There are tools that will help you do this. e.g. pyenv, asdf, etc. But, yes, for my own software development, I gave up trying to use Debian python packages years ago, because I found I was spending way more time trying to package the required dependencies (and dependencies of dependencies of dependencies) then I spending developing my application. This gets even worse if you want to support rpm based distributions. Plus the fact that I was becoming increasingly concerned that if I upgraded library python3-L for application A, I might accidentally break applications B, C, and D also, and testing/fixing everything at the same time not really feasible. So now I use asdf + poetry/virtualenvs now, plus Docker for distribution. As a result, I can upgrade the dependencies in each application one application at a time. If an application breaks, I just need to fix that one application, without breaking everything else at the same time. I can upgrade the OS distribution, and not be concerned (mostly anyway) that it will break my applications in weird and wonderful ways that I could not predict. This isn't so useful for distribution of Python based desktop applications, but I don't do a lot of that (and probably would be looking for a good off-the-shelf solution if I did). -- Brian May <bam@debian.org>
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Re: Challenges packaging Python for a Linux distro - at Python Language Summit Luke Kenneth Casson Leighton <lkcl@lkcl.net> - 2021-05-17 08:50 +0200
Re: Re: Challenges packaging Python for a Linux distro - at Python Language Summit Jeremy Stanley <fungi@yuggoth.org> - 2021-05-17 14:30 +0200
Re: Re: Challenges packaging Python for a Linux distro - at Python Language Summit Brian May <bam@debian.org> - 2021-05-18 00:00 +0200
Re: Challenges packaging Python for a Linux distro - at Python Language Summit Thomas Goirand <zigo@debian.org> - 2021-05-17 16:20 +0200
csiph-web