Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12739
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Matthias Klose <doko@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | The python command in Debian |
| Date | Thu, 09 Jul 2020 15:30:01 +0200 |
| Message-ID | <AqEMF-3CH-3@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Jul 9 13:27:02 2020 |
| Old-Return-Path | <doko@debian.org> |
| X-Amavis-Spam-Status | No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -3.5 |
| Old-X-Envelope-From | doko@debian.org |
| Old-X-Envelope-To | <debian-python@lists.debian.org> |
| Autocrypt | addr=doko@debian.org; prefer-encrypt=mutual; keydata= mQINBFSG0WgBEADcWrLbnzkO07eqpkPsp0fRr2Tuhp+MABPwSS0msANqPiy9eWYGIXf2zHam Z77aKC+dykpnHn5ibvgOa70P5PBT+Ydk5EzI6Y98FvPQkuPFxkE29NK3Gn3DPHuAyfVpE0FM lMr9e10K+ZhY++nG4ZzHQUkg52iwlZ5twjpF0nwbtfHUMAPStCGC+orXnqcdmUq96r94+lZ2 Dsb2S67TM2umnqkzuIHlbhBXtnFiDtql+wW/Axqa6hGAVqks6OTX5NxGr+FTQ0UuptxhADZ2 S4cpftUROB7DgpDl3lGicvuOwW/UWJZMp0MwKJqu56Ajgu3IQM2oTTNmDLRP243gR5PxC1Yw VXhCG+juCO4Y1ous5fwCthiOE/3vOtF+GHRDVgikNKjv5MnsqbMJytAMIZS2uN07SPZKC4vX Vcw6KCBOBQhlrLTeffmPpnQzSUFwPJAySFFWjjpGLngglGM75zRa59PkVkPkeXKqz0O33xXm q6v3YNJNQgNVLAfn6rWmAckUly9mX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j/xSWjnKmST nNtaJnxEfFxjEFF6dhZ7cNaIZ2tQCjqMElhSe7JjmVHIxfGKbHJ4tyV9G6wSk++igbWWZNG9 3kZ/4mWpAlAzdStGACmErgfm+zlK3UgKzGWHsiwNB+OFdxmZVXnwCLdRkbvd4vT0PzBrjFOk c55kiQ/DTONVrsniWlttHvaYrlai6IbsUd2krqQcGJJeI4cnHX4pTDcZ2VLowJpDsfV05BV7 WthbUjKgI55iI3ZE5WATelv8dWV8zdLVlWjvYraTxtpSwdkle4wQNntkOdYAsw== |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Language | en-US |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18471 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/8658a8a4-82fb-030d-57d8-81c95ba5158e@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 31 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 9 Jul 2020 15:26:47 +0200 |
| X-Original-Message-ID | <8658a8a4-82fb-030d-57d8-81c95ba5158e@debian.org> |
| Xref | csiph.com linux.debian.maint.python:12739 |
Show key headers only | View raw
As written in [1], bullseye will not see unversioned python packages and the unversioned python command being built from the python-defaults package. It seems to be a little bit more controversial what should happen to the python command in the long term. Some people argue that python should never point to python3, because it's incompatible, however Debian will have difficulties to explain that decision to users who start with Python3 and are not aware of the 2 to 3 transition. So yes, in the long term, Debian should have a python command again. One solution could be not to ship the python command in bullseye, forcing users to adjust their local installations. This has the advantage that the error of an unknown interpreter should be pretty clear. But leaves users without a python command for the next two years until bullseye+1. Describing here a solution which is implemented for Ubuntu focal (20.04 LTS). A new source package what-is-python (-perl-dont-hurt-me) ships binary packages python-is-python2, python-dev-is-python2, python-is-python3 and python-dev-is-python3. The python-is-python2 package provides the python package, such that packages that still depend on python are not removed on a distro upgrade. On new installs, python-is-python3 is not installed by default, but the user gets a hint from command-not-found to install the package if he tries to run python. Package dependencies on the new four binary packages have to be disallowed in the Python policy. Note that such a package including the Provides should only be uploaded once all dependencies on the unversioned python packages are gone. Matthias [1] https://lists.debian.org/debian-python/2020/07/msg00039.html [2] https://launchpad.net/ubuntu/+source/what-is-python
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-09 15:30 +0200
Re: The python command in Debian Jeremy Stanley <fungi@yuggoth.org> - 2020-07-09 19:00 +0200
Re: The python command in Debian paultag@debian.org - 2020-07-09 19:50 +0200
Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-09 21:50 +0200
Re: The python command in Debian Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2020-07-13 18:30 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-13 19:30 +0200
Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-14 11:00 +0200
Re: The python command in Debian Piotr Ożarowski <piotr@debian.org> - 2020-07-14 11:20 +0200
Re: The python command in Debian Rene Engelhard <rene.engelhard@mailbox.org> - 2020-07-18 08:50 +0200
Re: The python command in Debian Sebastian Humenda <shumenda@gmx.de> - 2020-07-18 10:30 +0200
Re: The python command in Debian debacle@debian.org - 2020-07-18 10:40 +0200
Re: The python command in Debian Dmitry Shachnev <mitya57@debian.org> - 2020-07-18 11:30 +0200
Re: The python command in Debian Sandro Tosi <morph@debian.org> - 2020-07-16 18:10 +0200
Re: The python command in Debian "Nicolas Dandrimont" <olasd@debian.org> - 2020-09-17 15:20 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-09-17 15:40 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2021-03-02 10:50 +0100
csiph-web