Your message dated Tue, 22 Jan 2019 16:22:25 +0000
with message-id <e1glyoj-000e80...@fasolo.debian.org>
and subject line Bug#916168: fixed in sphinx-autorun 1.1.0-3
has caused the Debian Bug report #916168,
regarding python3-sphinx-autorun: pycon calls "python" - not "python3"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
916168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916168
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-sphinx-autorun
Version: 1.1.0-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The extension called as

.. runblock pycon:

    <code>

always executes <code> with the interpreter "python" rather than the expect
"python3" for this build (python3-sphinx-autorun) of the package.

The problem is in line 28 of

  /usr/lib/python3/dist-packages/sphinx_autorun/__init__.py

where the code reads

      config = dict(
          pycon='python ' + pycon,
          ...

where it _should_ be

      config = dict(
          pycon='python3 ' + pycon,
          ...

Exactly how to fix this, is not clear to me.

There is a workaround by defining the autorun languages in the conf.py file

  import sphinx_autorun
  import inspect

  pycon = inspect.getfile(sphinx_autorun).replace("__init__","pycon")
  autorun_languages = dict(pycon='python3 ' + pycon,
                           pycon_prefix_chars=4,
                           pycon_show_source=False,
                           console='bash',
                           console_prefix_chars=1)

but it's a bit of a hack I think.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-sphinx-autorun depends on:
ii  python3         3.7.1-2
ii  python3-sphinx  1.7.9-1

python3-sphinx-autorun recommends no packages.

python3-sphinx-autorun suggests no packages.

-- no debconf information


--
Christian Holm Christensen -------------------------------------------------
 Niels Bohr Institute, Blegdamsvej 17, DK-2100 Copenhagen
 http://cern.ch/cholm, +4524618591

--- End Message ---
--- Begin Message ---
Source: sphinx-autorun
Source-Version: 1.1.0-3

We believe that the bug you reported is fixed in the latest version of
sphinx-autorun, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 916...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Félix Sipma <felix+deb...@gueux.org> (supplier of updated sphinx-autorun 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 24 Dec 2018 19:17:35 +0100
Source: sphinx-autorun
Binary: python3-sphinx-autorun
Architecture: source all
Version: 1.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Félix Sipma <felix+deb...@gueux.org>
Description:
 python3-sphinx-autorun - Code execution extension for Sphinx (Python 3)
Closes: 916168
Changes:
 sphinx-autorun (1.1.0-3) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
   * d/copyright: Use https protocol in Format field
 .
   [ Félix Sipma ]
   * let pycon call python3 instead of python. (Closes: #916168)
     Thanks, Christian Holm Christensen.
   * bump Standards-Version to 4.3.0 (no change required)
Checksums-Sha1:
 7950bd793a144e7df795914c8327d0d7944bc30c 2100 sphinx-autorun_1.1.0-3.dsc
 3d0622a6b1ad18a2ad2ac173c7148e359f529fb6 2944 
sphinx-autorun_1.1.0-3.debian.tar.xz
 a0b00472520e9095ac77b411ed7fd6bd989cb2be 6100 
python3-sphinx-autorun_1.1.0-3_all.deb
 a3f666da51d45f0c84c66e350c3a5122212d204e 7302 
sphinx-autorun_1.1.0-3_amd64.buildinfo
Checksums-Sha256:
 854d74aa184ea4bad3d0789c0c3985f2c774b766aae3a8f10ed3ba9b37f85695 2100 
sphinx-autorun_1.1.0-3.dsc
 7ecbd56d780d09248e5b626e7364752b6603452fc26eda72769c2054e79d25d4 2944 
sphinx-autorun_1.1.0-3.debian.tar.xz
 6e4baf190fa2db1b8fd4eba47eb7705d20fa3c269cd1516b9fbbf1e4c4b52105 6100 
python3-sphinx-autorun_1.1.0-3_all.deb
 318d4e9030ab438092b50ebd7dc57be6ca443734705630f7d7feefebdbdd12a6 7302 
sphinx-autorun_1.1.0-3_amd64.buildinfo
Files:
 ea287732f28abdfde5d8bd23e3d47684 2100 python optional 
sphinx-autorun_1.1.0-3.dsc
 d47edb4efc658dd1b0563c26201fe5ad 2944 python optional 
sphinx-autorun_1.1.0-3.debian.tar.xz
 d18981f43c2bcb015abcc5a1b44bfedf 6100 python optional 
python3-sphinx-autorun_1.1.0-3_all.deb
 eceef993adfab193cb15ca8d3438550d 7302 python optional 
sphinx-autorun_1.1.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYR+GG65kxsFKJlIvpxCCPjO92oEFAlxHPPUACgkQpxCCPjO9
2oG/7Q//Z8jzAlTs5axf//Jl3+SLfQUjqhuo9u80r9bI9eHXikLo2dxZOEpDvTXQ
BdCaBVKGz/I8slDXNUx2GbnEgyiLBSJEGRhshcAJeZtqVMXFH69Rlc5ABp00BQ9M
Cnx4wlrQqWvRirJJciVqMsjMT8G6QYH+v4911tlKzUD43p7IfTDWwcB8QXQhpazd
QKIrRocyQcgav6KI5V2JbFXiTxQsFYATDTTHdfmmKj9b050jsS313/7DWWbOYW2g
BaVzt9LLvx42YciLcDC01Bto6v+nldHOzZApUTVg5Fu6k2E1VBXpYr95d7FxQ53O
QXuNZFkzzRJTCWjDcqBvwp77Zsnm7hBpXvt20JEkspBhy+mW2wsOCeJ66vcAIapm
k9Kj0KdeSGk8a9New9W1CgK99ie67G7wUUcs+GcISAv6OyfPKJU3aOITthnGQ1lc
uiRYAXu98k6nhiKwZyeD6whi2Pt7Wbe8u3io4924OpIDvuG9jt4jNsDUGPdcPxIU
VLWEEapP45Tn2XFZTt2ygG/obuy9cvJv/f/GdYjyMUyP4fhNdq0+TQsT011OdASb
iTGS5BtTloMDFLqMazfd1zvFxCnmqaWvdBK09ym+u3W5lf2DbLGNwyYxt8KXHCzG
YmaZ2iXpnJ1FYh9yWldIpyC3qRYWgBzLNwJAvEW80RgHNNKOpnw=
=d1vE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to