Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Thomas Goirand Newsgroups: linux.debian.maint.python Subject: Re: sphinx-build vs. Python 3 Date: Tue, 21 Aug 2018 12:40:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Aug 21 10:37:40 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.979 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no X-Policyd-Weight: DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 BL_NJABL=SKIP(-1.5) CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .mx.atlanta.gplhost. - helo-domain: .gplhost.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5 Organization: Debian User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/16247 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1af55d4b-7495-9a49-4efa-ba7ae199811f@debian.org Approved: robomod@news.nic.it Lines: 30 Sender: robomod@news.nic.it X-Original-Cc: debian-python X-Original-Date: Tue, 21 Aug 2018 12:37:19 +0200 X-Original-Message-ID: <1af55d4b-7495-9a49-4efa-ba7ae199811f@debian.org> X-Original-References: Xref: csiph.com linux.debian.maint.python:10827 On 08/21/2018 10:26 AM, Ondrej Novy wrote: > Hi, >=20 > po 20. 8. 2018 v=C2=A012:37 odes=C3=ADlatel Thomas Goirand > napsal: >=20 > If you do the later, then anyway, you'll have to do the former if y= ou > need backports. This bite me a few times with OpenStack already. So= , no > mater what the faith of the sphinx-build command, it's always best = to > use python3 -m sphinx, IMO. >=20 >=20 > agree. So: >=20 > https://salsa.debian.org/python-team/modules/python-pymysql/commit/b562= fc29c311249fcb34639cc2a7d3267dd1f818 > (only if python3-sphinx is in B-D) >=20 > Any thoughts? On top of this, I generally also do PYTHON=3Dpython3, just in case the Sphinx doc needs to invoke the interpreter... Cheers, Thomas Goirand (zigo)