Hi,

On Tue, Dec 21, 2021 at 05:15:47PM +0100, Lucas Nussbaum wrote:
> > I: dh_python3 pydist:313: Cannot find package that provides dataclasses. 
> > Please add package that provides it to Build-Depends or add "dataclasses 
> > python3-dataclasses" line to debian/py3dist-overrides or add proper 
> > dependency to Depends by hand and ignore this info.

That seems like a false-positive: The dataclasses backport is only
required for Python 3.6, but Debian sets "Depends: python3 (>= 3.7)"
already. 

> > Traceback (most recent call last):
> >   File "/usr/bin/dh_python3", line 280, in <module>
> >     main()
> >   File "/usr/bin/dh_python3", line 201, in main
> >     dependencies.parse(stats, options)
> >   File "/usr/share/dh-python/dhpython/depends.py", line 242, in parse
> >     deps = parse_pydep(self.impl, fn, bdep=self.bdep, **section_options)
> >   File "/usr/share/dh-python/dhpython/pydist.py", line 522, in parse_pydep
> >     for part in dependency.split(','))
> > AttributeError: 'NoneType' object has no attribute 'split'

That smells like a bug in dh-python.

Florian (upstream maintainer)

-- 
            m...@the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature

Reply via email to