Package: dh-python
Version: 2.20150826
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

If a setup.py has dependencies in test_require or extras_require, they
don't seem to get satisfied by py3dist-override or the built-in
cpython3_fallback.

For example, when building zope.schema, which has a test_require and
extras_require on zope.testing, when `python3.5 setup.py test` is run,
it still tries to download zope.testing from PyPI even though
python{,3}-zope.testing is a Build-Depends.

Here's a cat of requires.txt

# cat src/zope.schema.egg-info/requires.txt 
setuptools
zope.interface >= 3.6.0
zope.event

[docs]
Sphinx

[test]
zope.testing

[testing]
zope.testing
nose
coverage


Adding a debian/py3dist-overrides doesn't help.  Maybe dh_python3 just
doesn't read any [sections]?

- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
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 dh-python depends on:
ii  libdpkg-perl  1.18.3
pn  python3:any   <none>

dh-python recommends no packages.

dh-python suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWL6leAAoJEBJutWOnSwa/DZgP/2C4hRhJW46jrG74uFT2Tw+t
O2Z0RLk7fjOL7DeEJGDpNamffEtZjYSyZRBePyycOixcFJCAUE/WdAgfxzXqYt77
elnC6KHNkB/I2SOxWjPMM+TyI4wg2a1xYojzyE/oddeMmq7oGCbPG84oqVzdBOv5
qCNThDXs7ihTMQVBYyXOb32SidTn5GS1OazI9PnUICIrrzUoLwTDQibqcu8Hwp1U
5tGfIlJwRYY1MWqFqP4LvIqmRJNjuW46MgThFJY9qa+sXQvWdvohIdPWdKLiPL1X
SzyLKFhF2e4IFVL4TPcFFSR4MXhdHS7UhjHtctCp2sqkSJfDuAj9ioQDNrdfIQeW
QO+DVnTxghR3yVg/crcId3bZ/VzY7PnSfZh9PpxsrIarJvjb/hrNkGggs2Bvosgz
DoJVUEuQOQh+ND2sTfAslXD2LAqca4ZxAH/3T4IMQl4rnb2uST3dQuwGIs1UOe9Y
U0T8fkrw3qkMupKzZvZ085TVfugOze44fcbqQqDdv3NpBo/fx1WQ4BdwNKY9oQPG
wxN9MmNbUKB0KFz94ouca/5rylnkL6xV6HU1v62G7eD5lXeDDNG999B0CjW/d5lj
pYTNX/QGcDd57oXX7XQkKdAfn0T3btOy48PgIMHZiEvYu4nyVLcpI5zvjqfMDmDP
+4imkUc02nwJC1+0pbxL
=D2SX
-----END PGP SIGNATURE-----

Reply via email to