Bug#1001799: dh-python: python_version marker parsed incorrectly, adds a dependency that should be skipped

2021-12-16 Thread stefanor
Hi Luca (2021.12.16_13:15:58_+) Agreed, this is a regression, thanks. I meant to explicitly deal with <3, but forgot. SR > Package: dh-python > Version: 5.20211214 > Severity: serious > Justification: causes FTBFS in reverse deps > > Hi, > > With the following in setup.py's

Bug#1001799: dh-python: python_version marker parsed incorrectly, adds a dependency that should be skipped

2021-12-16 Thread Luca Boccassi
Package: dh-python Version: 5.20211214 Severity: serious Justification: causes FTBFS in reverse deps Hi, With the following in setup.py's install_requires: "pathlib2;python_version<'3.0'", dh-python does not skip the line, but tries to find the python3 module providing path2lib, which of