pypi2deb
pypi2deb copied to clipboard
`py2dsp theano` fails with dpkg-source local changes
Haven't dug further, but failed equally under xenial and jessie...
dpkg-source: info: local changes detected, the modified files are:
theano-0.8.2/Theano.egg-info/requires.txt
theano-0.8.2/theano/generated_version.py
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/theano_0.8.2-0~pypi2deb.diff.E6LGJ0
dpkg-buildpackage: error: dpkg-source -I.git -i.git -b theano-0.8.2 gave error exit status 2
Oh, looking at #1 does this also need a custom dh-python
?
dunno about xenial, but in jessie you can use version from jessie-backports (2.20160818~bpo8+1)
with the latest version of py2dsp (as provided by pypi2deb) in debian unstable, theano is packaged correctly:
$ py2dsp --version
py2dsp 3.20230219
$ py2dsp theano
W: py2dsp cache:81: cannot dump cache (_load_package_names:():{}): value is not an integer or out of range
W: py2dsp cache:81: cannot dump cache (_load_package_names:():{}): value is not an integer or out of range
Successfully repacked /home/morph/deb/tmp/result/Theano-1.0.5.tar.gz as /home/morph/deb/tmp/result/theano_1.0.5.orig.tar.xz.
W: py2dsp cache:81: cannot dump cache (_load_package_names:():{}): value is not an integer or out of range
dpkg-buildpackage: info: source package theano
dpkg-buildpackage: info: source version 1.0.5-0~pypi2deb
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Sandro Tosi <[email protected]>
dpkg-source -I.git -i.git --before-build .
dpkg-source: info: using options from theano-1.0.5/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-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 theano-1.0.5/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-info)/
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building theano using existing ./theano_1.0.5.orig.tar.xz
dpkg-source: info: building theano in theano_1.0.5-0~pypi2deb.debian.tar.xz
dpkg-source: info: building theano in theano_1.0.5-0~pypi2deb.dsc
dpkg-genbuildinfo --build=source -O../theano_1.0.5-0~pypi2deb_source.buildinfo
dpkg-genchanges --build=source -O../theano_1.0.5-0~pypi2deb_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source -I.git -i.git --after-build .
dpkg-source: info: using options from theano-1.0.5/debian/source/options: --extend-diff-ignore=^[^/]+.(egg-info|dist-info)/
dpkg-buildpackage: info: source-only upload (original source is included)
i believe this bug report can be closed as fixed