Package: dh-python
Version: 2.20160818~bpo8+1
Severity: normal

Dear Maintainer,

according to the setuptools documentation
(https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-
dependencies), requirements can have multiple version specifiers, separated by
commas. However, when guessing dependencies, and even when PEP386 is declared
in pydist-overrides, only the first version specifier is looked at by the code
in dhpython/pydist.py. This forces the package maintainer to manually copy the
dependency over into the pydist-overrides or control files to ensure that the
full constraint is included in the binary package.

It would be handy if pydist were able to parse every version specifier in a
given requirement. Perhaps this would also be a good task for a newcomer to
work on.



-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (102, 'testing'), (101, 
'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dh-python depends on:
pn  python3:any  <none>

dh-python recommends no packages.

Versions of packages dh-python suggests:
ii  libdpkg-perl  1.17.27

-- no debconf information

Reply via email to