Package: python3-platformdirs Version: 2.4.0-1 Severity: important >From the Debian build log for platformdirs: drwxr-xr-x root/root 0 2021-10-29 22:30 ./usr/lib/python3/dist-packages/platformdirs-0.0.0.egg-info/
In a package trying to use platformdirs, I've set: Build-Depends: debhelper-compat (= 13), dh-python, python3-all:any, python3-setuptools, python3-platformdirs, In a local build log using unstable (when preparing to run in-build tests): Installed /<<PKGBUILDDIR>>/src Processing dependencies for black==21.9b0 Searching for platformdirs>=2 Reading https://pypi.org/simple/platformdirs/ Downloading https://files.pythonhosted.org/packages/b1/78/dcfd84d3aabd46a9c77260fb47ea5d244806e4daef83aa6fe5d83adb182c/platformdirs-2.4.0-py3-none-any.whl#sha256=8868bbe3c3c80d42f20156f22e7131d2fb321f5bc86a2a345375c6481a67021d Best match: platformdirs 2.4.0 Processing platformdirs-2.4.0-py3-none-any.whl Installing platformdirs-2.4.0-py3-none-any.whl to /<<PKGBUILDDIR>>/testtmp/lib/python3.9/site-packages Installed /<<PKGBUILDDIR>>/testtmp/lib/python3.9/site-packages/platformdirs-2.4.0-py3.9.egg Searching for typing-extensions==3.10.0.2 Best match: typing-extensions 3.10.0.2 So instead of finding the python3-platformdirs which was already installed, setuptools downloaded the wheel from pypi. (If that had not happened, the package would FTBFS because of this bug.) The PKG_INFO from the python3-platformdirs package is: Metadata-Version: 2.1 Name: platformdirs Version: 0.0.0 Summary: A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir". Home-page: https://github.com/platformdirs/platformdirs

