Re: pybuild and setuptools_scm
Hi Mathias (2024.07.12_06:47:39_+0000)
> I had a similar problem when setuptools_scm kicked in during the build process
> and produced versions different from the orig tarball. Packaging is in git and
> tarballs are imported from PyPI.
>
> I disabled the automatic versioning with
>
> https://salsa.debian.org/tryton-team/python-csb43/-/commit/e8788e09818948231a48cc1472a5f54444b65fcc
>
> Could you confirm this is the right approach or is there a more elegant way?
That approach doesn't look great.
Instead of that patch, just Build-Depend on python3-setuptools-cm, so
that it can do its magic. In my testing it works just fine on your
package.
Oh, you're also missing pytest, so the package tests are failing.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Reply to: