Python3 search path order when building Debian package

2014-08-11 Thread Thomas Goirand
Hi, During the build of oslo packages for OpenStack, I'm having the issue that python3 seems to first look into /usr/lib/python3.4/dist-packages/olso, finds stuff in it, and then do not search in the local directory. Because of that, unit tests are failing during the build. For example, when

Re: kombu vs dh_python3

2014-08-11 Thread Michael Fladischer
On 2014-08-11 07:16, Brian May wrote: I have updated kombu in subversion to provide Python 3 packages. There is already a python3 branch in svn ... waiting for the python-nose test failure to be fixed. Cheers, -- Michael Fladischer Fladi.at signature.asc Description: OpenPGP digital

Re: kombu vs dh_python3

2014-08-11 Thread Dmitry Shachnev
On Mon, Aug 11, 2014 at 2:59 PM, Michael Fladischer mich...@fladi.at wrote: There is already a python3 branch in svn ... waiting for the python-nose test failure to be fixed. If you mean #757640, then Brian already fixed that (thanks Brian). -- Dmitry Shachnev -- To UNSUBSCRIBE, email to

Re: kombu vs dh_python3

2014-08-11 Thread Brian May
On 11 August 2014 20:59, Michael Fladischer mich...@fladi.at wrote: On 2014-08-11 07:16, Brian May wrote: I have updated kombu in subversion to provide Python 3 packages. There is already a python3 branch in svn ... waiting for the python-nose test failure to be fixed. Whoops. I guess I

Re: kombu vs dh_python3

2014-08-11 Thread Brian May
On 11 August 2014 21:13, Michael Fladischer mich...@fladi.at wrote: @Brian: Do you want to skip 3.0.19-3 and just upload 3.0.21-1 with a the changelog entries merged? Which changelog entries do you want merged? You mean your python3 branch? I assume 3.0.19-3 was your version in the python3

Re: kombu vs dh_python3

2014-08-11 Thread Michael Fladischer
On 2014-08-11 13:19, Brian May wrote: Which changelog entries do you want merged? You mean your python3 branch? I assume 3.0.19-3 was your version in the python3 branch? 3.0.19-3 was my latest changelog entry prepared on svn trunk before you made your python3 changes. It readds

Re: kombu vs dh_python3

2014-08-11 Thread Piotr Ożarowski
[Brian May, 2014-08-11] Only the install phase is leaving behind empty directories under debian/python3-kombu/usr/lib/python3.4/dist-packages/kombu/ which version of dh_python3 did you use? Can you paste -v/--verbose's output? -- Piotr Ożarowski Debian GNU/Linux

Re: Python3 search path order when building Debian package

2014-08-11 Thread Piotr Ożarowski
[Thomas Goirand, 2014-08-11] During the build of oslo packages for OpenStack, I'm having the issue that python3 seems to first look into /usr/lib/python3.4/dist-packages/olso, finds stuff in it, and then do set PYTHONPATH to local dir with your module (. or where your build target

Re: kombu vs dh_python3

2014-08-11 Thread Brian May
On 11 August 2014 21:24, Michael Fladischer mich...@fladi.at wrote: Would you consider uploading python-librabbitmq-1.5.2-1 and, once its in the archive, kombu-3.0.21-1 with my changes from kombu-3.0.19-3? Already uploaded python-librabbitmq. Unfortunately, I found another release critical

Re: kombu vs dh_python3

2014-08-11 Thread Brian May
On 11 August 2014 21:25, Piotr Ożarowski pi...@debian.org wrote: [Brian May, 2014-08-11] Only the install phase is leaving behind empty directories under debian/python3-kombu/usr/lib/python3.4/dist-packages/kombu/ which version of dh_python3 did you use? Can you paste -v/--verbose's

Re: kombu vs dh_python3

2014-08-11 Thread Michael Fladischer
On 2014-08-11 13:32, Brian May wrote: I am kind of stuck what to do here. I reported it upstream, but half expect them to respond (if they do actually respond) with that is why we supply our own copy of librabbitmq-c. Which obviously isn't really a good solution for Debian. Ok, this may take

Re: Python3 search path order when building Debian package

2014-08-11 Thread Thomas Goirand
On 08/11/2014 07:30 PM, Piotr Ożarowski wrote: [Thomas Goirand, 2014-08-11] During the build of oslo packages for OpenStack, I'm having the issue that python3 seems to first look into /usr/lib/python3.4/dist-packages/olso, finds stuff in it, and then do set PYTHONPATH to local dir with your

Re: Python3 search path order when building Debian package

2014-08-11 Thread Piotr Ożarowski
override_dh_auto_test: ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) @echo === Running tests set -e set -x for i in 2.7 $(PYTHON3S) ; do \ PYMAJOR=`echo $$i | cut -d'.' -f1` ; \ echo === Testing with python$$i (python$$PYMAJOR) ; \

Re: Python3 search path order when building Debian package

2014-08-11 Thread Jakub Wilk
It's most likely unrelated to your problem, but... * Thomas Goirand z...@debian.org, 2014-08-12, 02:51: set -e set -x for i in 2.7 $(PYTHON3S) ; do \ set -e has no effect on statements that use . So you probably want s//;/g here. TEMP_REZ=`mktemp -t` \

RFP: python-pkgconfig -- Python module to interface with the pkg-config command line tool

2014-08-11 Thread Tobias Hansen
Package: wnpp Severity: wishlist * Package name: python-pkgconfig Version : 1.1.0 Upstream Author : Matthias Vogelgesang matthias.vogelges...@gmail.com * URL : https://github.com/matze/pkgconfig * License : MIT Programming Lang: Python Description :

Re: kombu vs dh_python3

2014-08-11 Thread Brian May
On 11 August 2014 21:33, Brian May br...@microcomaustralia.com.au wrote: which version of dh_python3 did you use? Can you paste -v/--verbose's output? This is an up-to-date sid schroot (at least it was up-to-date yesterday). Not sure if this output helps, except for it saying moving files