Package: python3-distro-info
Version: 1.5
Severity: normal

Dear Maintainer,

While trying to validate game-data-packager's annotations, mypy complains:

$ mypy --strict tools/ppa.py'
tools/ppa.py:11: error: Skipping analyzing "distro_info": module is installed, 
but missing library stubs or py.typed marker  [import-untyped]
tools/ppa.py:11: note: See 
https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports


After creating some py.typed - the locations _feels_ wrong,
but I don't know better - mypy will stop complaining:

~# mkdir /usr/lib/python3/dist-packages/distro_info
~# touch /usr/lib/python3/dist-packages/distro_info/py.typed

$ mypy --strict tools/ppa.py 
Success: no issues found in 1 source file


Greetings,


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-distro-info depends on:
ii  distro-info-data  0.58
ii  python3           3.11.4-5+b1

python3-distro-info recommends no packages.

python3-distro-info suggests no packages.

-- no debconf information

Reply via email to