Package: dh-python Version: 2.20160721 Severity: normal
Problem occurs when building package using following method in setup.py to install conditional dependencies: extras_require={ ':python_version < "3.2"': 'futures' } During package build it will generate following requires.txt: [:python_version < "3.2"] futures Which is then not parsed correctly by dh-python - every line since line starting at [ is skipped as an optional section at dhpython/pydist.py:207 One of affected packages: https://github.com/click-contrib/click-threading https://anonscm.debian.org/cgit/python-modules/packages/python-click-threading.git/ Links on article/docs describing this approach: https://hynek.me/articles/conditional-python-dependencies/ https://wheel.readthedocs.io/en/latest/#defining-conditional-dependencies
signature.asc
Description: Digital signature