Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10839
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Stuart Prescott <stuart@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.maint.python, linux.debian.policy |
| Subject | Bug#906949: Clarify documentation location in a Python2-less distribution |
| Date | Wed, 22 Aug 2018 17:30:01 +0200 |
| Message-ID | <wpDf3-Je-5@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Wed Aug 22 15:21:16 2018 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -2.19 |
| Reply-To | Stuart Prescott <stuart@debian.org>, 906949@bugs.debian.org |
| Original-Sender | Stuart Prescott <stuart@nanonanonano.net> |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | debhelper-devel@lists.alioth.debian.org, debian-python@lists.debian.org, Debian Policy Editors <debian-policy@lists.debian.org> |
| X-Debian-Pr-Message | report 906949 |
| X-Debian-Pr-Package | debian-policy |
| X-Debian-Pr-Source | debian-policy |
| X-Spam-Bayes | score:0.0000 Tokens: new, 23; hammy, 150; neutral, 171; spammy, 0. spammytokens: hammytokens:0.000-+--debianpolicy, 0.000-+--debian-policy, 0.000-+--H*UA:5.2.3, 0.000-+--H*u:5.2.3, 0.000-+--U*debian-python |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nanonanonano-net.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=0j6Urkg5RkfepOfQUrgJGLLsZpvERC4csXxcsuaEBIU=; b=LuzJlxv1YITGx955VFjyc3RslMV0FdL9gfk0Kfiz3PY9LRqkx9XFUaXr4WM8LuYsXV +ZzpgW/YNTUDp6rqZIP7FN7Z48fzvFuzHxzPYzQO1jyqSW9rb1u2hICeaWBnYx34mSkO VzKobK8UkqRS6c6xfyfanODVAotTh3+YzJr8N76iXB90ZoOOfywaXuqIlLdpqEBFBStJ KlMVU5Nq1kwuL8uzOlPRxwwll6B5NVKfZm4iyiYZ+OS5WCTr5zcX/bo2t6RlqmuIyctL 2TiyFbL4qrKWd9w8ZmPsVXJeWtuzragrDWSqH+C76l6UtSJgFltWl1ImTki6SmH/8Efk uSaQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=0j6Urkg5RkfepOfQUrgJGLLsZpvERC4csXxcsuaEBIU=; b=VyC/9o8sewBMv6sl8liK6q5Tapk1H5lFxgEePatx3JX5v0P5pgIeVoArffwjVMboNX 9em1SFoN70NPyKz1Oxhx0kwla++OREIpFkmJYzpKeExP1Li48PB0Ex0FXam/5lwI3Wb7 U68sQpUrRYPZxNPn+w1m+jW1xYpXUruPc1iJC2q+zyecDq2sArObV6miNxwVqHU2ALkP OBXxwYtkZwFNsXbyeUZncQ9G0KrB3G8RcByKF/StXQaANk7BSxjZ4vcqaRdydYkDTGUG 465oBYz+5PODfBN5Y/NqkXOr76bFxEpIiSf7nTFcsbQAplYEjd/0DV/lD9E5D3UB+lCH +FyA== |
| X-Gm-Message-State | APzg51Ai6auiDskGOlGfRJZ/vFVi+s6Ha07ugUJucXrqynC4ezxoouKz FwUUsP2xBjprUCWeeDxaaVVoHKDYbNY= |
| X-Google-SMTP-Source | ANB0VdYpXaBy6ObEI5AdW214KJHFMTn66STDiN+rpDhelBfr4wqnCJ33EMYASPYes0npP9IOOlPFPQ== |
| X-Received | by 2002:a63:5c10:: with SMTP id q16-v6mr41766pgb.452.1534951249382; Wed, 22 Aug 2018 08:20:49 -0700 (PDT) |
| Sender | robomod@news.nic.it |
| User-Agent | KMail/5.2.3 (Linux/4.9.0-7-amd64; KDE/5.28.0; x86_64; ; ) |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | quoted-printable |
| Content-Type | text/plain; charset="iso-8859-1" |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1480764 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 82 |
| Organization | linux.* mail to news gateway |
| X-Original-Date | Thu, 23 Aug 2018 01:20:44 +1000 |
| X-Original-Message-ID | <5322612.sEOWlKWjuR@simurgh> |
| X-Original-Sender | Stuart Prescott <stuart@nanonanonano.net> |
| Xref | csiph.com linux.debian.bugs.dist:914137 linux.debian.maint.python:10839 linux.debian.policy:6811 |
Cross-posted to 3 groups.
Show key headers only | View raw
Package: debian-policy X-Debbugs-CC: debhelper-devel@lists.alioth.debian.org, debian-python@lists.debian.org Hi! [ Promised follow up to the Python BoF at DebConf ] For historical reasons, Python 2 modules are packaged as python-foo while Python 3 modules are python3-foo. Documentation was originally only for Python 2 modules (but in any event is normally interpreter independent) and so is found in python-foo-doc packages. Policy §12.3 (from version 3.9.7) recommends that documentation from the python-foo-doc package be installed in /usr/share/doc/python-foo/ and not in /usr/share/doc/python-foo-doc/. From debhelper 10.8, dh_installdocs now does this automatically. In buster, documentation in python-foo-doc is slowly drifting over to /usr/share/doc/python-foo as packages are updated to compat 11. After the release of buster, we can expect to see Python 2 modules being dropped from the archive. Policy §12.3 and debhelper's interpretation of "main package" will suddenly cause documentation move from /usr/share/doc/python-foo to /usr/share/doc/python3-foo. This seems somewhat perverse for the user, will require changes to packaging (doc-base, rules, links) and perhaps code patches to packages that can display their own documentation. The BoF felt it made sense to adopt a standardised approach and to have this sorted prior to the buster release in case any tooling changes are required. This affects about 700 packages. We seek some input from the policy and debhelper people in defining what this approach should be. The following options exist: a) do nothing: allow all the documentation to drift slowly over to /usr/share/doc/python3-foo, probably releasing buster and bullseye with a bit of a mess of locations: /usr/share/doc/python-foo-doc, /usr/share/doc/python-foo, /usr/share/doc/python3-foo. This seems pretty bad for our users. b) keep using /usr/share/doc/python-foo: do we stick with /usr/share/doc/python-foo as a version-independent path even though no such package exists once the Python 2 package is gone? (I think there are currently no /usr/share/doc/ paths that don't match /usr/share/doc/$package) c) coordinated move: do we try to switch the "main package" to the Python 3 variant now so that all documentation moves over to /usr/share/doc/python3-foo? Churning d/control on 700 packages doesn't seem fun, so perhaps debhelper can assist? d) revert to /usr/share/doc/python-foo-doc: do we ignore policy's recommendation, overriding (or changing) dh_installdocs? While /usr/share/doc/main-package is only a recommendation in policy, 700 python-foo-doc packages deliberately ignoring it seems wrong. Thanks in advance for your suggestions! Stuart (on behalf of the Python BoF at DebConf18) -- Stuart Prescott http://www.nanonanonano.net/ stuart@nanonanonano.net Debian Developer http://www.debian.org/ stuart@debian.org GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#906949: Clarify documentation location in a Python2-less distribution Stuart Prescott <stuart@debian.org> - 2018-08-22 17:30 +0200 Bug#906949: Clarify documentation location in a Python2-less distribution Simon McVittie <smcv@debian.org> - 2018-08-22 17:50 +0200
csiph-web