Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-28 Thread Scott Kitterman
On Friday, July 28, 2023 3:42:50 PM EDT Emmanuel Arias wrote: > Control: reassign -1 poetry-core > > Hi, > > Sorry for this delay. Yes as you mentioned Scott, you need to add the > optional dependency in the extras section, not only marked it as > optional=true. > > Poetry documentation[0] is

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-28 Thread Emmanuel Arias
Control: reassign -1 poetry-core Hi, Sorry for this delay. Yes as you mentioned Scott, you need to add the optional dependency in the extras section, not only marked it as optional=true. Poetry documentation[0] is not very explicit with that. There's an issue open [1]. I can work in a patch to

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-21 Thread stefanor
Control: reassign -1 poetry Control: affects -1 dh-python > I'd call this an upstream poetry issue. > > It shouldn't declare optional dependencies as required. It should rather > create an extra to encapsulate any optional dependencies that aren't > part of a defined extra. Reassigning the bug.

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-20 Thread Stefano Rivera
Hi Piotr (2023.07.20_14:58:03_+) > can you show me how poetry / pyproject / whatever parsed this file > interpreted it? I.e. what's in installed requires.txt > > (I suspect it's a hard dependency there) Yep, that's the issue, METEDATA contains: Requires-Dist: httpcore (>=0.17.3) ;

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-20 Thread Scott Kitterman
On Thursday, July 20, 2023 10:58:03 AM EDT Piotr Ożarowski wrote: > [Scott Kitterman, 2023-07-20] > > > I had to override dh_python3 to add --no-guessing-deps in the latest > > FTR: you can override detection with debian/py3dist-overrides (see > dh_python3's manpage or

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-20 Thread Piotr Ożarowski
[Scott Kitterman, 2023-07-20] > I had to override dh_python3 to add --no-guessing-deps in the latest FTR: you can override detection with debian/py3dist-overrides (see dh_python3's manpage or /usr/share/doc/dh-python/README.PyDist for more details) > dnspython upload because it was getting

Bug#1041538: dh-python: Unhelpful inclusion of optional packages in Depends

2023-07-20 Thread Scott Kitterman
Package: dh-python Version: 5.20230603 Severity: normal I had to override dh_python3 to add --no-guessing-deps in the latest dnspython upload because it was getting things wrong. Here's what it generated: python3-httpcore | python3 (<< 3.8), python3-sniffio, python3:any The correct answer here