Package: python-aiortc
Version: python3-aiortc
Severity: normal
X-Debbugs-Cc: [email protected]

python3-aiortc originally requires google-crc32c>=1.1 (see dependencies in
[1]), which is not available in Debian. Using entry points, I get the following
error:

  pkg_resources.DistributionNotFound: The 'google-crc32c>=1.1' distribution was
not found and is required by aiortc

To reproduce the error, run:

$ python3
>>> import pkg_resources
>>> pkg_resources.require("aiortc")

The module is imported in rtcsctptransport.py [2] but the source is patched to
use python3-crc32c instead.  If I understand the issue correctly, the patch
should also change pyproject.toml and update the crc32c dependency to crc32c >=
2.7.1 to allow pkg_resources to correctly resolve its dependencies.

[1] https://salsa.debian.org/debian/python-
aiortc/-/blob/debian/latest/pyproject.toml?ref_type=heads
[2] https://salsa.debian.org/debian/python-
aiortc/-/blob/debian/latest/src/aiortc/rtcsctptransport.py?ref_type=heads


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to