1
0
Fork 0

Merging upstream version 5.0.0+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 20:24:12 +01:00
parent 894e74df77
commit e531b1b230
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
12 changed files with 153 additions and 26 deletions

View file

@ -115,7 +115,10 @@ def fix_requirements(f: IO[bytes]) -> int:
# which is automatically added by broken pip package under Debian
requirements = [
req for req in requirements
if req.value != b'pkg-resources==0.0.0\n'
if req.value not in [
b'pkg-resources==0.0.0\n',
b'pkg_resources==0.0.0\n',
]
]
# sort the requirements and remove duplicates