Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.python,linux.debian.bugs.dist Subject: Re: The python command in Debian Date: Tue, 02 Mar 2021 10:50:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Mar 2 09:43:25 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.601 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 Old-X-Envelope-From: doko@debian.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/19027 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/3f2b02c8-aff2-faab-67e3-c3a56c09d187@debian.org Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 982924@bugs.debian.org, Dimitri John Ledkov X-Original-Date: Tue, 2 Mar 2021 10:43:04 +0100 X-Original-Message-ID: <3f2b02c8-aff2-faab-67e3-c3a56c09d187@debian.org> X-Original-References: <8658a8a4-82fb-030d-57d8-81c95ba5158e@debian.org> Xref: csiph.com linux.debian.maint.python:13243 linux.debian.bugs.dist:1050481 I am appending the following two sections to the python policy chapter 2, documenting what currently is in testing. There are different opinions, no perfect solutions, and if we disagree, we should delegate the final decision whether to include or to not include the binary packages python{,-dev}-is-python3 built from the what-is-python source to the CTTE. Matthias +Removal of the unversioned packages +----------------------------------- + +Starting with the Debian 11 release (bullseye), the binary packages +``python``, ``python-minimal``, ``python-dev``, ``python-dbg`` and +``python-doc`` are removed. No package in the archive must use any of +these packages as build dependencies, dependencies, recommendations or +suggestions. + + +Unversioned python commands +--------------------------- + +For the Debian 11 release (bullseye), the :file:`/usr/bin/python` +command is provided in the ``python-is-python2`` package (pointing to +:file:`/usr/bin/python2`). The :file:`/usr/bin/python-config` and +:file:`/usr/bin/pydoc` commands are provided in the +``python-dev-is-python2`` package. These package are not installed by +default for new installations, but only for upgrades from the Debian +10 release (buster). These packages should be removed after an +upgrade. These packages will not be part of the Debian 12 release +(bookworm). + +The packages ``python-is-python3`` and ``python-dev-is-python3`` +provide the :file:`/usr/bin/python`, :file:`/usr/bin/python-config` +and :file:`/usr/bin/pydoc` commands pointing to Python3. These +packages can be installed by developers and users to use the +unversioned commands. NOTE: Locally installed software not yet ported +to Python3 is likely to break when installing these packages. + +The packages ``python-is-python3``, ``python-dev-is-python3``, +``python-is-python2`` and ``python-dev-is-python2`` must not be used +as build dependencies, dependencies, recommendations or suggestions.