Re: PYTHONPATH with cmake build

2022-08-30 Thread Stefano Rivera
Hi PICCA (2022.08.30_16:02:01_+) > cd build > cmake ../modules/dxtbx > cmake --build . --target install > pip install ../modules/dxtbx This package essentially has 2 build systems, camke for the C++ stuff and setuptools for the pure-python. I don't see any integration between t

Re: PYTHONPATH with cmake build

2022-08-30 Thread Neil Williams
On Tue, 30 Aug 2022 19:02:24 +0200 (CEST) PICCA Frederic-Emmanuel wrote: > > /usr/share/perl5/Debian/Debhelper/Buildsystem.pm to be just > > "obj-$DEB_HOST_GNU_TYPE". > > > Thanks for the info, if I an not wrong during the build process we > can setup a new builddir. So is is possible to obta

Re: Lintian info message "hardening-no-bindnow" with vanilla debian/rules

2022-08-30 Thread Gregor Riepl
I: python3-pyxdameraulevenshtein: hardening-no-bindnow [usr/lib/python3/dist-packages/pyxdameraulevenshtein.cpython-310-x86_64-linux-gnu.so] and there is nothing about CFLAGS or the like in the setup.py file. So if having this hardening flag enabled is a good thing, it should probably be enabled

Re: PYTHONPATH with cmake build

2022-08-30 Thread PICCA Frederic-Emmanuel
> Oh. In this case setting PYTHONPATH (if it works, and I'm not 100% sure > it > will) sounds like a better option. > So, the cmake build path is, as far as I know, defined in > /usr/share/perl5/Debian/Debhelper/Buildsystem.pm to be just > obj-$DEB_HOST_GNU_TYPE". thanks for the info. It seems to

Re: PYTHONPATH with cmake build

2022-08-30 Thread PICCA Frederic-Emmanuel
> /usr/share/perl5/Debian/Debhelper/Buildsystem.pm to be just > "obj-$DEB_HOST_GNU_TYPE". Thanks for the info, if I an not wrong during the build process we can setup a new builddir. So is is possible to obtain the real builddir during the build ?

Re: PYTHONPATH with cmake build

2022-08-30 Thread Andrey Rahmatullin
On Tue, Aug 30, 2022 at 06:02:01PM +0200, PICCA Frederic-Emmanuel wrote: > > When trying to run tests you should look how does the upstream intend to > run them. > > > Yes they are building inplace the module like this > > from https://github.com/dials/dxtbx/blob/main/.azure-pipelines/unix-build

Re: PYTHONPATH with cmake build

2022-08-30 Thread PICCA Frederic-Emmanuel
> When trying to run tests you should look how does the upstream intend to run them. Yes they are building inplace the module like this from https://github.com/dials/dxtbx/blob/main/.azure-pipelines/unix-build.yml # Build dxtbx - bash: | set -e . conda_base/bin/activate set -ux

Re: PYTHONPATH with cmake build

2022-08-30 Thread Andrey Rahmatullin
On Tue, Aug 30, 2022 at 05:26:01PM +0200, PICCA Frederic-Emmanuel wrote: > Hello Andrey > > > Does the same happen when you run the test in the source tree manually? > > I do not know When trying to run tests you should look how does the upstream intend to run them. -- WBR, wRAR signature.as

Re: PYTHONPATH with cmake build

2022-08-30 Thread PICCA Frederic-Emmanuel
Hello Andrey > Does the same happen when you run the test in the source tree manually? I do not know, I am in the process to build the package in sbuild so I just try to fix the build process. If I have hard code the lib path the test are running failling for other missing modules, but this is

Re: PYTHONPATH with cmake build

2022-08-30 Thread Andrey Rahmatullin
On Tue, Aug 30, 2022 at 03:58:26PM +0200, PICCA Frederic-Emmanuel wrote: > Hello, I am packaging a python extension which use cmake as build system > > here the repo > > https://salsa.debian.org/science-team/dxtbx > > I try to activate the test but this cause this kind of trouble > > During han

PYTHONPATH with cmake build

2022-08-30 Thread PICCA Frederic-Emmanuel
Hello, I am packaging a python extension which use cmake as build system here the repo https://salsa.debian.org/science-team/dxtbx I try to activate the test but this cause this kind of trouble During handling of the above exception, another exception occurred: /usr/lib/python3.10/importlib/__i

Re: Join the team

2022-08-30 Thread Stefano Rivera
Hi Claudius (2022.08.30_09:56:12_+) > I would like to join the python team to help maintain packages, currently > related to tpm2-pytss but will potentially extend to other python packages > like python-cryptography and others. Added, welcome! SR -- Stefano Rivera http://tumbleweed.org.za

Join the team

2022-08-30 Thread Claudius Heine
Hi, I would like to join the python team to help maintain packages, currently related to tpm2-pytss but will potentially extend to other python packages like python-cryptography and others. My salsa account is: cmhe And I read and agree to the Debian Python Team Policy [1] cheers, Claudius

Lintian info message "hardening-no-bindnow" with vanilla debian/rules

2022-08-30 Thread Julian Gilbey
Hi! A package I maintain within the team (python3-pyxdameraulevenshtein) gives the following lintian message: I: python3-pyxdameraulevenshtein: hardening-no-bindnow [usr/lib/python3/dist-packages/pyxdameraulevenshtein.cpython-310-x86_64-linux-gnu.so] The debian/rules file is very bland, essenti

Re: Joining the team

2022-08-30 Thread Stefano Rivera
Hi Emanuele (2022.08.29_19:39:17_+) > I'd like to join the debian-python team to help with general QA work on > all packages. > > My salsa login is ema. Added, welcome! SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272