Your message dated Fri, 05 Apr 2019 15:18:32 +0000
with message-id <[email protected]>
and subject line Bug#902535: fixed in bpython 0.18-1
has caused the Debian Bug report #902535,
regarding bpython: Missing dependency (or recommend) on less
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 [email protected]
immediately.)


-- 
902535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bpython
Severity: normal

Dear Maintainer,

running bpython(3) inside a minimal installation and trying to read the
help of some module or function results in an ``OSError: [Errno 2] No
such file or directory`` | ``FileNotFoundError: [Errno 2] No such file
or directory: 'less'`` (python 2 or 3 respectively) because the pager of
choice (which seems to be less) can't be found.

Manually installing less results in the correct behaviour.

I agree that running bpython(3) on a system where less is not installed
is a niche case (it took me years of using bpython before I ever met
this issue), but I think that less should be added to the Recommends: of
both bpython and bpython3, as I consider reading help quite a common
activity inside an interactive interpreter. (not a Depends:, as it isn't
required for basic functionality, however).

To reproduce:

* debootstrap a chroot, forget to install basic tools such as less :)
* install bpython or bpython3 inside the chroot and run it::

    >>> import this
    [...]
    >>> help(this)
    Traceback (most recent call last):
      File "<input>", line 1, in <module>
        help(this)
      File 
"/usr/lib/python3/dist-packages/bpython/curtsiesfrontend/_internal.py", l
    ine 60, in __call__                                                         
   
        return super(_Helper, self).__call__(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/bpython/_internal.py", line 24, in 
__call
    __                                                                          
   
        self.helper(*args, **kwargs)
      File "/usr/lib/python3.5/pydoc.py", line 1853, in __call__
        self.help(request)                                      
      File "/usr/lib/python3.5/pydoc.py", line 1906, in help
        else: doc(request, 'Help on %s:', output=self._output)
      File "/usr/lib/python3.5/pydoc.py", line 1640, in doc   
        pager(render_doc(thing, title, forceload))         
      File 
"/usr/lib/python3/dist-packages/bpython/curtsiesfrontend/_internal.py", l
    ine 53, in pager                                                            
   
        self._repl.pager(output)
      File "/usr/lib/python3/dist-packages/bpython/curtsiesfrontend/repl.py", 
line 1
    699, in pager                                                               
   
        self.focus_on_subprocess(command + [tmp.name])
      File "/usr/lib/python3/dist-packages/bpython/curtsiesfrontend/repl.py", 
line 1
    684, in focus_on_subprocess                                                 
   
        stdout=sys.__stdout__) 
      File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
        restore_signals, start_new_session)                         
      File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
        raise child_exception_type(errno_num, err_msg)                     
    FileNotFoundError: [Errno 2] No such file or directory: 'less'

Thanks for your job maintaining bpython

--- End Message ---
--- Begin Message ---
Source: bpython
Source-Version: 0.18-1

We believe that the bug you reported is fixed in the latest version of
bpython, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <[email protected]> (supplier of updated bpython 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 [email protected])


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

Format: 1.8
Date: Fri, 05 Apr 2019 16:53:29 +0200
Source: bpython
Architecture: source
Version: 0.18-1
Distribution: experimental
Urgency: medium
Maintainer: Sebastian Ramacher <[email protected]>
Changed-By: Sebastian Ramacher <[email protected]>
Closes: 902535
Changes:
 bpython (0.18-1) experimental; urgency=medium
 .
   * New upstream release.
   * debian/control:
     - Depend on less. (Closes: #902535)
     - Remove ancient Python-Version fields.
     - Bump Standards-Version.
   * debian/:
     - Bump debhelper compat to 12.
     - Fix paths of .desktop files.
     - Install appdata info.
     - Remove obsolete maintainer scripts.
   * debian/copyright: Document appdata license.
Checksums-Sha1:
 954760ebb32d033858ab8779b09d3c62c96a681f 2183 bpython_0.18-1.dsc
 a5436d933e52839e4e7fc5b1316990b24902fe6e 213321 bpython_0.18.orig.tar.gz
 44130107354136ce51a7b3aeba8e4cdcdefa3381 8500 bpython_0.18-1.debian.tar.xz
Checksums-Sha256:
 374a3250b278140ccb626936c7e66a3a1133adb10d1d4d94aedad0719b9356bb 2183 
bpython_0.18-1.dsc
 56cc20dbe568c98c81de4990fddf5862c0d8d3ab0ad1cf7057988abc5f7686c2 213321 
bpython_0.18.orig.tar.gz
 09d71cf68dc816200ace94f2e50b0be985852f91ad2a73c81a736ca2adf3ec24 8500 
bpython_0.18-1.debian.tar.xz
Files:
 6a521d32c26219a43ff0ccf2c5975271 2183 python optional bpython_0.18-1.dsc
 a150a9ff3383013da1156dda4b44280d 213321 python optional 
bpython_0.18.orig.tar.gz
 2bedce51e048b4d2738598478ab0cc3a 8500 python optional 
bpython_0.18-1.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAlynbEQACgkQafL8UW6n
GZOraQ/8DaNq/LhsnysU/GNV6GIhJ/A24hfrmkt9nO9t72djhI8gO5WNzOZ2tAGS
NfmUp2AhKQNwi2rWAhoFAAzlrolZqiHjpKo2FC54baYESOGoTp+H51cXI2CTm3ZK
dAZQzp/k36RNsGxT3lvrePCkJv09a1GUd0EGtYJkH6O38Ew+a622oRk3CzfAO1tu
Tp4VB232Edpwx4GwQx4XjDLKOkrHEbYJpT1zw6gBl8IF47R1wXlnDd50U/upN62l
kzkX9K4Wzymlgy0geSSB7c7/rSi3zovT9/kpsjLKrWOqCwv4HPImRQzmFQS9fyOO
DDF9XLNB5KnlVEErENSJ6b3L0k26urzTZxprQbvM5d0gVisQ+W/y6Gusqmamw7gE
PWl3ai+ixn9ZLp0bMz9SnGRve6LwHcW8asm++IagTKtAXfx3eqR9bSK4gefFBQsV
jwKJmH786ejmdvNtXxbJScYLhSvfpEB9JY3OyAaNOjLDIw7K+h+1AViWEFxbxNqO
sCvjaVsAVG93bfEFibmSr0ZM2bg55EpvibkA9OaL1MWjEVuacEtYj/Er3Hqh2bKo
zNxwOAT3lc/tjlcdKsywcy4GLW8WfYBwN+ghVfZbUG+uT77W02JB0yfV7EGK8QPh
USWRUlKub9JLweBCFDGEx5fSteGawUs+gud53FGsfEBOWf+0vYA=
=FZh1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to