Package: pypi2deb Version: 2.20180804+nmu1 Followup-For: Bug #1015888 I confirm I also see the problem in bullseye right now, with:
py2dsp pubpaste The patch suggested here: https://lists.debian.org/debian-python/2022/07/msg00076.html does not work either, the program instead fails with: anarcat@curie:~$ py2dsp -v --application pubpaste D: py2dsp py2dsp:141: version: 2.20180804 D: py2dsp py2dsp:142: ['/usr/bin/py2dsp', '-v', '--application', 'pubpaste'] D: py2dsp py2dsp:42: args: Namespace(verbose=True, quiet=False, root='/home/anarcat/result', clean=False, build=False, application=True, distribution='UNRELEASED', revision='0~py2deb', message='converte0~py2deb', profile=None, name='pubpaste') E: py2dsp py2dsp:148: source package not available on PyPI Traceback (most recent call last): File "/usr/bin/py2dsp", line 146, in <module> loop.run_until_complete(main(args)) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/bin/py2dsp", line 64, in main fname = yield from download(name, version=version, destdir=args.root) File "/usr/share/pypi2deb/pypi2deb/pypi.py", line 136, in download raise Exception('source package not available on PyPI') Exception: source package not available on PyPI If i first make a `python setup.py sdist` and then run py2dsp on that, it kind of succeeds (in the sense that it creates a result/ directory that i can use) but fails to build the source package: anarcat@curie:pubpaste$ py2dsp dist/pubpaste-0.6.tar.gz dpkg-buildpackage: info: paquet source pubpaste dpkg-buildpackage: info: version source 0.5-0~pypi2deb dpkg-buildpackage: info: distribution source UNRELEASED dpkg-buildpackage: info: source changé par Antoine Beaupré <[email protected]> dpkg-source -I.git -i.git --before-build . dpkg-source: info: utilisation des options depuis pubpaste-0.6/debian/source/options : --extend-diff-ignore=^[^/]+.egg-info/ dpkg-buildpackage: avertissement: création d'un paquet source sans le nettoyer préalablement comme demandé ; il peut contenir des fichiers non souhaités dpkg-source -I.git -i.git -b . dpkg-source: info: utilisation des options depuis pubpaste-0.6/debian/source/options : --extend-diff-ignore=^[^/]+.egg-info/ dpkg-source: erreur: impossible de construire avec le format source « 3.0 (quilt) » : pas de tarball de sources amont à ../pubpaste_0.5.orig.tar.{bz2,gz,lzma,xz} dpkg-buildpackage: erreur: dpkg-source -I.git -i.git -b . subprocess returned exit status 2 Not sure why it thinks I'm on 0.5 there... -- System Information: Debian Release: 11.4 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), (1, 'unstable'), (1, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-17-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.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 Versions of packages pypi2deb depends on: ii build-essential 12.9 ii devscripts 2.21.3+deb11u1 ii dh-python 4.20201102+nmu1 ii python3 3.9.2-3 ii python3-aiohttp 3.7.4-1 ii python3-debian 0.1.39 ii python3-jinja2 2.11.3-1 ii python3-redis 3.5.3-2 Versions of packages pypi2deb recommends: ii python3-msgpack 1.0.0-6+b1 Versions of packages pypi2deb suggests: pn cython <none> ii cython3 0.29.21-3+b1 ii pypy 7.3.3+dfsg-2 pn python-all-dev <none> pn python-nose <none> pn python-pytest <none> pn python-setuptools <none> pn python3-all-dev <none> ii python3-nose 1.3.7-7 ii python3-pytest 7.1.2-2 ii python3-setuptools 52.0.0-4 ii python3-sphinx 3.4.3-2 -- debconf-show failed

