[Debian-astro-maintainers] Bug#807834: astropy-utils: Astropy-utils depends on python-astropy 1.1, but it is not listed as dependency

Gabriel Perez-Cerezo gabriel at gpcf.eu
Sun Dec 13 16:35:58 UTC 2015


Package: astropy-utils
Version: 1.1-1
Severity: important

I am running Debian Jessie with some packages from unstable, including astropy-
utils. I tried running several utils from astropy-utils and they all output the
same message:
$ fits2bitmap
Traceback (most recent call last):
  File "/usr/bin/fits2bitmap", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in
<module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 451, in
_build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 464, in
_build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in
resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: astropy==1.1

This shows that these packages depend on python-astropy 1.1, but the Debian
package does not list any version information, just 'python-astropy'

My proposed fix is to simply state in the control file that astropy-utils
depends on python-astropy 1.1, so my system can install the required version of
python-astropy from unstable automatically.

Cheers,

Gabriel Pérez-Cerezo



-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages astropy-utils depends on:
ii  python-astropy  0.4.2-2
pn  python:any      <none>

astropy-utils recommends no packages.

astropy-utils suggests no packages.

-- no debconf information



More information about the Debian-astro-maintainers mailing list