On Sun, Jul 17, 2022 at 07:53:08AM +0100, Julian Gilbey wrote: > Package: pypi2deb > Version: 3.20220707 > Severity: important > > I just tried using this for the first time, and this is what happened: > > $ py2dsp --gh https://github.com/scikit-build/scikit-build.git > /usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop > loop = asyncio.get_event_loop() > E: py2dsp py2dsp:167: 'info' > > The result directory is empty. > > Not sure where to go from here... > > Best wishes, > > Julian
Oh, well, silly user error: there's an extra ".git" at the end of the URL, though a nicer error message would be very helpful. Fixing that gives a somewhat improved situation: $ py2dsp --gh https://github.com/scikit-build/scikit-build /usr/bin/py2dsp:163: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() W: py2dsp cache:81: cannot dump cache (_load_package_names:():{}): value is not an integer or out of range dpkg-buildpackage: info: source package skbuild dpkg-buildpackage: info: source version 0.15.0-0~pypi2deb dpkg-buildpackage: info: source distribution UNRELEASED dpkg-buildpackage: info: source changed by Julian Gilbey <j...@debian.org> dpkg-source -I.git -i.git --before-build . dpkg-source: info: using options from skbuild-0.15.0/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ dpkg-buildpackage: warning: building a source package without cleaning up as you asked; it might contain undesired files dpkg-source -I.git -i.git -b . dpkg-source: info: using options from skbuild-0.15.0/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/ dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../skbuild_0.15.0.orig.tar.{bz2,gz,lzma,xz} dpkg-buildpackage: error: dpkg-source -I.git -i.git -b . subprocess returned exit status 2 E: py2dsp py2dsp:167: [Errno 2] No such file or directory: '/home/jdg/debian/spyder-packages/scikit-build/result/skbuild-0.15.0/debian/files' But that's still not a great result. Best wishes, Julian