Re: dpkg-buildpackage vs sbuild with python packaging

2025-06-12 Thread stefanor

Hi PICCA (2025.06.12_09:12:58_+)


I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
E: pybuild pybuild:389: build: plugin pyproject failed with:
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


The error message is  quite usefull :))


Indeed.

If you want help looking at it, I suggest pushing to git.

Stefano

--
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Re: dpkg-buildpackage vs sbuild with python packaging

2025-06-12 Thread PICCA Frederic-Emmanuel
I found the culprite :)..

a malformed entry_point.

"toto.test" instead of "toto.test:main"

Is there a linter for the pyprojects file ?

Thanks for your help.

Fred



Re: dpkg-buildpackage vs sbuild with python packaging

2025-06-12 Thread PICCA Frederic-Emmanuel
thanks you all, 

I added a MANIFEST.in file and create an entry point for the application script


I end up with this error

adding 'xrdutils-0.0.4.dist-info/licenses/LICENSE'
adding 'xrdutils-0.0.4.dist-info/METADATA'
adding 'xrdutils-0.0.4.dist-info/WHEEL'
adding 'xrdutils-0.0.4.dist-info/entry_points.txt'
adding 'xrdutils-0.0.4.dist-info/top_level.txt'
adding 'xrdutils-0.0.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built xrdutils-0.0.4-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
E: pybuild pybuild:389: build: plugin pyproject failed with: 
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


The error message is  quite usefull :))

cheers

Fred