Re: PEP 453 affects Debian packaging of Python packages

2013-09-18 Thread Piotr Ożarowski
ackagers were 5-10 years ago) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debi

Re: PEP 453 affects Debian packaging of Python packages

2013-09-18 Thread Piotr Ożarowski
[Paul Tagliamonte, 2013-09-18] > On Wed, Sep 18, 2013 at 03:22:19PM +0200, Piotr Ożarowski wrote: > > [W. Martin Borgert, 2013-09-18] > > > As a passionate pip hater I would go for a Conflicts, > > > which finally would make pip uninstallable :~) > > >

Re: PEP 453 affects Debian packaging of Python packages

2013-09-18 Thread Piotr Ożarowski
x27;m not saying PyPI is something bad, I just wish these tools use their own namespace and leave system files alone. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 178

Re: PEP 453 affects Debian packaging of Python packages

2013-09-19 Thread Piotr Ożarowski
er use of pip carry all this > historical baggage with them. As suggested elsewhere in this thread changing > pip so that it was difficult to do things system-wide would help with this. my thoughts exactly -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.p

Re: [PATCH] Support :any architecture qualifiers for multiarch

2013-09-19 Thread Piotr Ożarowski
better solution for ctypes packages. I will make the dependency part of multiarch support optional but keep it enabled by default in jessie (and disable it in wheezy-backports) so another option would be to let maintainers disable it in such packages. -- Piotr Ożarowski

Re: [PATCH] Support :any architecture qualifiers for multiarch

2013-09-19 Thread Piotr Ożarowski
[Julien Cristau, 2013-09-19] > On Thu, Sep 19, 2013 at 14:55:17 +0200, Piotr Ożarowski wrote: > > > [Julien Cristau, 2013-09-19] > > > Well, in Jakub's case the module does dlopen("libaa.so.1"), so while it > > > doesn't care about the interpreter

Re: PEP 453 affects Debian packaging of Python packages

2013-09-20 Thread Piotr Ożarowski
[Thomas Goirand, 2013-09-20] > Though my debpypi isn't good enough to be > released, I heard Piotr wrote the same kind of tool. > > Shouldn't we go the same way, and encourage our users to use a kind of > wrapper around pip, so that they really get a Debian package inst

Re: [Python-modules-commits] r25933 - in packages/python-pysnmp4/trunk/debian (control)

2013-09-24 Thread Piotr Ożarowski
at is the cleaner way to fix this? > > ... correctly to python-crypto ... ups, looks like I forgot to install/usr/share/dh-python/dist/*_fallback files. Will be fixed in next dh-python upload -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.grif

Re: [Python-modules-commits] r25933 - in packages/python-pysnmp4/trunk/debian (control)

2013-09-24 Thread Piotr Ożarowski
[Piotr Ożarowski, 2013-09-24] > ups, looks like I forgot to install/usr/share/dh-python/dist/*_fallback > files. Will be fixed in next dh-python upload for now, simply add python-crypto and python3-crypto to Build-Depends and dh_python* will find the right ones (you probably need these pa

Re: Using ‘export http_proxy = http://127.0.9.1:9/’ to fail noisily on dependency problems

2013-10-11 Thread Piotr Ożarowski
't set http_proxy in this target). If you for some reason need network during build (f.e. tests setup a HTTP server), just set http_proxy to empty string, in src:flask I do this: override_dh_auto_test: http_proxy='' dh_auto_test -- Piotr Ożarowski

Re: DD commit access to alioth python-{modules,apps} repositories

2013-10-30 Thread Piotr Ożarowski
this mail to both lists. alioth admins > (If someone could approve my request to add 'diocles' to the > python-modules project on alioth, that would resolve my immediate > problem, of course.) done -- Piotr Ożarowski Debian GNU/Linux Developer www.

Re: Running 2to3 against test suite before testing with pybuild

2013-11-06 Thread Piotr Ożarowski
[Andrii Senkovych, 2013-11-06] > pybuild --verbose --test-pytest --test-args="-v" --before-test "cp -R > {dir}/tests {build_dir}" > > This command works for py2.7 (obviously) but in order for this to work > for 3.x I have to run 2to3 against test suite itself. How can I do > that? > > Also how c

Re: Simplified library style guide based on pybuild

2013-11-11 Thread Piotr Ożarowski
uto_* commands (which loops over supported Python versions and sets PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR, etc.) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2

Re: debian/rules for packages using Cython

2013-11-12 Thread Piotr Ożarowski
;s missinh in this rules > > #DH_VERBOSE=1 > export PYBUILD_NAME=python-fiona "python-fiona" is not a valid module name, did you mean "fiona"? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.

Re: How to run upstream test suite that uses ‘tox’?

2013-11-17 Thread Piotr Ożarowski
did you try pybuild's --test-tox? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python

Re: Best practice: .egg-info with pybuild from git

2013-11-21 Thread Piotr Ożarowski
es. I think Mathias is asking about how to tell git that it should ignore these files as well. IMO you should ask upstream to not ship these files in git repo/tarballs or remove them in the first commit after each merge with upstream. -- Piotr Ożarowski Debian GNU/Linux Dev

Re: How to split off main executable from python3-foo to foo

2013-11-25 Thread Piotr Ożarowski
/usr/share/foo and add (f.e. via debian/foo.links) /usr/bin/foo → /usr/share/foo/script symlink. If I didn't guess right, you have to be more specific, or point us to your initial work. [¹] hint: PYBUILD_INSTALL_ARGS -- Piotr Ożarowski Debian GNU/Linux Developer ww

Re: About access to git.debian.org and the DPMT

2013-11-25 Thread Piotr Ożarowski
n/watch (to keep it as close to upstream as possible), and please escape last dot in this file. Fix those and inject to our SVN repo (that's right, we don't use GIT... yet) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: About access to git.debian.org and the DPMT

2013-11-25 Thread Piotr Ożarowski
[Piotr Ożarowski, 2013-11-25] > * I'd use s/b/~/ instead of s/b/~beta/ in debian/watch err, s/b/~b/ -- http://people.debian.org/~piotr/sponsor signature.asc Description: Digital signature

Re: About access to git.debian.org and the DPMT

2013-11-26 Thread Piotr Ożarowski
> collaborative repository? you already have commit access, https://wiki.debian.org/Teams/PythonModulesTeam/HowToJoin#Work_With_The_Packages > Before I sort that out I've updated the repository on github. > Please have a look and tell me if I missed anything. please move -doc

Re: About access to git.debian.org and the DPMT

2013-11-26 Thread Piotr Ożarowski
source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/02-executable-laucher1/ --reject-file=- < trunk/debian/patches/02-executable-laucher1 gave error exit status 1 > I'll inject the -2 version shortly, thanks. see Q5 from document linked in my signature -- http

Re: Team maintenance of git-buildpackage repo cloned from upstream's

2013-11-29 Thread Piotr Ożarowski
h eat and not all members of DPMT, IIUC. if you move a package outside SVN, you have to remove DPMT from Uploaders/Maintainer as well and that means it's no longer DPMT package. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: Simplified library style guide based on pybuild

2013-11-29 Thread Piotr Ożarowski
[Olivier Berger, 2013-11-29] > On Tue, 05 Nov 2013, Barry Warsaw wrote: > > > > There's one little white lie currently: debian/*.pyremove files aren't yet > > supported for Python 3 package, but Piotr is going to enable that with the > > next upload of dh-pytho

Re: Recommending get-orig-source for packages ?

2013-12-03 Thread Piotr Ożarowski
honest, I prefer debian/rules without get-orig-source if debian/watch is available) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7

Re: Trim out Ubuntu entries in d/changelog?

2013-12-07 Thread Piotr Ożarowski
same for "wheezy" if it wasn't uploaded to Debian) (my 2 gr.) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBS

Re: Fw: [Debian Wiki] Update of "Python/LibraryStyleGuide" by FedericoCeratto

2013-12-28 Thread Piotr Ożarowski
n3. please don't do that, though. python3 depends on dh-python only because dh_python3 is now provided by dh-python. dh-python dependency will be removed from python3 at some point. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: Fw: [Debian Wiki] Update of "Python/LibraryStyleGuide" by FedericoCeratto

2013-12-30 Thread Piotr Ożarowski
[Thomas Goirand, 2013-12-29] > Also, pastedeploy is currently wrong and misses the dh-python > build-depends, which is what me think it was probably correct to omit it > if we had a python3 build-depends (since you worked out this package > Piotr, and I trusted your work). It turn

Re: Request to join the PAPT to help maintain frescobaldi

2014-01-08 Thread Piotr Ożarowski
Hi Anthony, [Anthony Fok, 2014-01-08] > My account on Alioth is "foka", same as my Debian email address. > And a Request to Join has been sent on Alioth, awaiting acceptance by > the admins. :-) done. Welcome! :) -- Piotr Ożarowski Debian

Re: About access to git.debian.org and the DPMT

2014-01-08 Thread Piotr Ożarowski
I'm also working on getting some PlainBox extra to Debian such as > xlsxwriter [2]. > > My alioth username is spineau-guest. Welcome on board! -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG

Re: Hello, I'd like to join the team

2014-01-09 Thread Piotr Ożarowski
Hi Jason, [Jason Gerard DeRose, 2013-12-30] > Hello, I'd like to join the Debian Python Modules Team. Please create an account on Alioth.debian.org and send me your username. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.gri

Re: Joining the DPMT and git.debian.org access

2014-01-14 Thread Piotr Ożarowski
[Alexandre Rossi, 2014-01-13] > I'd like to join the Debian python modules team. > > My goal is to maintain sockjs-twisted (#735154). > > My alioth username is niol-guest. the problem is... we don't use git, not yet at least (nobody had time to propose a transi

Re: Joining the DPMT and git.debian.org access

2014-01-14 Thread Piotr Ożarowski
ame starting with my package > in the path suggested by the Wiki. https://lists.debian.org/debian-python/2013/02/msg00123.html -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58D

Re: Joining the PAPT with roundup

2014-01-15 Thread Piotr Ożarowski
[Kai Storbeck, 2014-01-15] > My Alioth username is kaisan-guest, and I would like to request a > repository on Alioth for roundup. Welcome on board! -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.o

Re: Indeed, python-concurrent.futures is the same

2014-01-31 Thread Piotr Ożarowski
, I don't think it really makes sense. Should > we just close the bug report and remove Sandro from the Uploaders field? orphaning does make sense, packages without human in Maintainer or Uploaders fields are not allowed -- Piotr Ożarowski Debian GNU/Linux Developer

Re: Python library style guide: Building and installing debug objects (was: Simplified library style guide based on pybuild)

2014-01-31 Thread Piotr Ożarowski
[Ben Finney, 2014-01-31] > How should the Python library style guide recommend we do this using > “pybuild”? add python-all-dbg or python3-all-dbg to Build-Depends, is that simple enough? :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarow

Re: pybuild: Building and installing debug objects

2014-01-31 Thread Piotr Ożarowski
[Ben Finney, 2014-01-31] > Piotr Ożarowski writes: > > add python-all-dbg or python3-all-dbg to Build-Depends, is that simple > > enough? :) > > It's a bit magical and AFAICT undocumented. `man pybuild` or http://anonscm.debian.org/gitweb/?p=dh-python/dh-python.gi

Re: Python 3 package build dep on Python 2?

2014-02-02 Thread Piotr Ożarowski
ng python (2.X) in debian/rules line 8, so lintian is right about missing python build dependency You most probably want to remove this line and set PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/python3-fitbitscraper/ instead PS you probably also want to change Architecture t

Re: Python 3 package build dep on Python 2?

2014-02-02 Thread Piotr Ożarowski
install it as a public library, just remove PYBUILD_INSTALL... line) and yes, as someone pointed out recently, I'm not that good at writing documentation. I'd be happy to answer all questions from someone who wants to improve the docs, though. -- Piotr Ożarowski

Re: pybuild: python2,python3 and dh_installexamples

2014-02-05 Thread Piotr Ożarowski
examples did not work. my guess is: you added second binary package, debhelper doesn't know anymore which package you wanted, so installs to debian/tmp/... -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Piotr Ożarowski
share/package-name/ both the library and the scripts, then symlink these scripts to /usr/bin - this way you will not have to patch anything. (use /usr/lib/package-name/ if it contains arch-dep. files) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: Help with packaging of python executable and its modules

2014-02-07 Thread Piotr Ożarowski
/lib/python2.7/dist-packages but only if the later one is empty. I'd check if your dist-package is empty and if you didn't forget to create namespace (_init__.py file) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: Help with packaging of python executable and its modules

2014-02-10 Thread Piotr Ożarowski
[Olivier Berger, 2014-02-09] > Piotr Ożarowski writes: > > > [Andreas Tille, 2014-02-07] > >> On Fri, Feb 07, 2014 at 02:41:10PM +0100, Julian Taylor wrote: > >> > I assume this is a python application and not a library? > >> > >> It is an appl

Re: HELP: something other than dh_python2 fails to install files if an additional binary package is added

2014-02-11 Thread Piotr Ożarowski
tall files :-P -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject o

Re: HELP: something other than dh_python2 fails to install files if an additional binary package is added

2014-02-11 Thread Piotr Ożarowski
[Piotr Ożarowski, 2014-02-11] > [Andreas Tille, 2014-02-11] > > directory. I can reproduce this behavious by simply deleting the > > python-pysam-tests paragraph in debian/control. > > this part is very important > > > It seems that there is some problem i

Re: Python coding help: Has anybody seen this syntax

2014-02-13 Thread Piotr Ożarowski
ObjectMetaclass): > ^ > SyntaxError: invalid syntax you invoked it using python2.X > I'm not a very skilled Python coder but IMHO the critical line should be > replaced by > > > class YAMLObject(YAMLObjectMetaclass):

Re: [Help] Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam

2014-02-21 Thread Piotr Ożarowski
/me continues promoting pybuild: -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 diff --git a/debian/control b/debian/control index 8699486

Re: [Help] Bug#739631: python-pysam: FTBFS: ImportError: No module named pysam

2014-02-25 Thread Piotr Ożarowski
[Andreas Tille, 2014-02-24] > PS: What is the best place to read about this in the first place. pybuild manpage (also available online¹) or this mailing list (for example in this² thread) [¹] http://deb.li/pybuild [²] https://lists.debian.org/debian-python/2013/01/msg9.html) -- Pi

Re: Help needed for python-biopython which splits up modules into two packages per Python version

2014-03-04 Thread Piotr Ożarowski
e many of them in Python distutils world?) PS please add "X-Python-Version: >= 3.3" in debian/control, this module doesn't work with 3.2 -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.

Re: Request to Join to the Team

2014-03-04 Thread Piotr Ożarowski
joining because I want to maintain the following packages > with the team: > [ITP] for python-twython(Pure python wrapper for the Twitter api) > [ITA] for python-portalocker (easy API to file locking). > I am willing to help with any modules that need help. I added you to

Re: pybuild: where to put --test-pytest?

2014-03-12 Thread Piotr Ożarowski
in debian/rules: export PYBUILD_TEST_PYTEST=1 or you can override dh_auto_test: override_dh_auto_test: dh_auto_test -- --test-pytest -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA

Re: pybuild: where to put --test-pytest?

2014-03-14 Thread Piotr Ożarowski
YBUILD_TEST_ARGS={dir}/test/ if you really need to copy them (or invoke 2to3, etc.), you can use PYBUILD_BEFORE_TEST (or --before-test) to invoke any command before each test, see `man pybuild` for more info. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: pybuild: where to put --test-pytest?

2014-03-14 Thread Piotr Ożarowski
r nose/pytest/tox equivalents (which you have enable because, guess what, it's not that obvious when you can use one instead of the other). Please try to convince upstream authors to use ONE AND ONLY ONE interface. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozar

Re: Compiled C modules are not found by test suite (Was: Help needed for python-biopython which splits up modules into two packages per Python version)

2014-03-15 Thread Piotr Ożarowski
gn EMBOSS_ROOT=/usr/lib/emboss PYTHONPATH={build_dir} {interpreter} setup.py test' + dh_auto_test -- --test --system=custom --test-args='env DIALIGN2_DIR=/usr/share/dialign EMBOSS_ROOT=/usr/lib/emboss; cd {build_dir}; {interpreter} setup.py test' -- Piotr Ożarowski

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-21 Thread Piotr Ożarowski
was asked to clean after pip?) the very first thing I look for in tracebacks someone sends me is... ".egg" or "/usr/local" paths, seriously! It simply started annoying me and I hate every single upstream that recommends using sudo irresponsibly. -- Piotr Oża

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-26 Thread Piotr Ożarowski
kages and `sudo pip upgrade` (or `python3.Y -m ensurepip --upgrade`) upgrade *only* eggs/whls from this directory. This way system packages are not touched and it's easy to clean after pip (`find /usr/local/pythonX.Y/dist-packages/ -name '*.(egg|whl) -delete') or copy

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-26 Thread Piotr Ożarowski
interpreter, assuming pip/easy_install installs zips instead of unpacking them) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-26 Thread Piotr Ożarowski
[Donald Stufft, 2014-03-26] > On Mar 26, 2014, at 9:12 AM, Piotr Ożarowski wrote: > > [Barry Warsaw, 2014-03-25] > >> One of the things I'd like to see, in addition to supporting > >> platform-specified system-level installation directories > >> (i.e.

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-26 Thread Piotr Ożarowski
ble to force all these tools out there (that overwrite our files) to use it. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCR

Re: Packaging review

2014-03-28 Thread Piotr Ożarowski
Depends, please send patches to lintian4py :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-

Re: ‘dh’ invoking Python 2 ‘pyversions’ in a Python 3-only package

2014-03-30 Thread Piotr Ożarowski
urself, you can still use pybuild. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.de

Re: pbs python

2014-03-31 Thread Piotr Ożarowski
on-blip > https://pypi.python.org/pypi/python-bps it shouldn't be a problem (""pbs" != "bps") -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF6

Re: pybuild sphinxdoc and extensions

2014-04-06 Thread Piotr Ożarowski
o/html so I feel a little less guilty for doing it in install step ;) If it's really needed, I can add something to expose all pybuild's {variables}, but for now, I'd use install step instead of build one. -- Piotr Ożarowski Debian GNU/Linux

Re: Which maintainer for cloud-init, now in collab-maint (Git) ?

2014-04-12 Thread Piotr Ożarowski
[Charles Plessy, 2014-04-12] > Shall I replace “Python Applications Packaging Team” in the Maintainer field > by something else, or would the current situation be OK ? yes, please remove PAPT/DPMT from Maintainer/Uploaders fields -- Piotr Ożarowski Debian GNU

Re: Request to join the DPMT

2014-04-18 Thread Piotr Ożarowski
[Matthias Schmitz, 2014-04-15] > i prepared an update to the package python-pisa [1] and would like to > join the DPMT to commit the changes to the subversion. At the moment i > use a temporary git repository at alioth[2]. My alioth account name is > matthias-guest. welcome on boar

Re: Request to join the DPMT

2014-04-22 Thread Piotr Ożarowski
in is tobald-guest. welcome in the team! -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian

Re: Bug #732703 and fixing ensurepip/pyvenv

2014-05-07 Thread Piotr Ożarowski
ython-foo | grep /dist-packages`'s output at runtime (when someone python3 -m ensirepips something)? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F

${python:Depends} to enable dh_python2, ${python3:Depends} - dh_python3?

2014-05-07 Thread Piotr Ożarowski
hange dh_python* behaviour to ignore all binary packages that do not have appropriate ${python:Depends} template in Depends? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62

Re: ${python:Depends} to enable dh_python2, ${python3:Depends} - dh_python3?

2014-05-07 Thread Piotr Ożarowski
[Matthias Klose, 2014-05-07] > Am 07.05.2014 12:17, schrieb Piotr Ożarowski: > > Should I change dh_python* behaviour to ignore all binary packages that > > do not have appropriate ${python:Depends} template in Depends? > > how many packages will fail to build, or wil

Re: Bug #732703 and fixing ensurepip/pyvenv

2014-05-07 Thread Piotr Ożarowski
[Matthias Klose, 2014-05-07] > Am 07.05.2014 10:16, schrieb Piotr Ożarowski: > > [Barry Warsaw, 2014-05-07] > >> Generating the wheels during package build is pretty easy I think. You > >> just > >> B-D on python*-wheel (which just got approved from NE

Re: ${python:Depends} to enable dh_python2, ${python3:Depends} - dh_python3?

2014-05-07 Thread Piotr Ożarowski
with python3- → dh_python3, stop (current behaviour) * package name starts with pypy- → dh_pypy, stop (current behaviour) * Depends contains ${python:Depends} → dh_python2 (new) * Depends contains ${python3:Depends} → dh_python3 (new) * Depends contains ${pypy:Depends} → dh_pypy (new) * ignore other p

Re: Bug#747494: python3-biopython: Does not use C implementations of cpairwise2 functions

2014-05-09 Thread Piotr Ożarowski
about how Python > > interfaces with C code) files are installed: > > > > $ locate pairwise2 > > /usr/lib/python3/dist-packages/Bio/cpairwise2.cpython-33m-x86_64-linux-gnu.so > > /usr/lib/python3/dist-packages/Bio/cpairwise2.cpython-34m-x86_64-linux-gnu.so Bio.

Re: Preventing network access during nose doctest ?

2014-05-12 Thread Piotr Ożarowski
; urllib2 to try to access the file. remove "http_proxy= https_proxy=" line and pybuild will try to block internet connection (and you will be able to figure out which test tries to access network and fix/disable it) -- Piotr Ożarowski Debian GNU/Linux Developer www

Re: wheel support for Debian?

2014-05-16 Thread Piotr Ożarowski
-generate them in python3.X-venv's postinst but then a dpkg trigger is needed to regenerate them when one of dependencies is upgraded. -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F

Re: wheel support for Debian?

2014-05-19 Thread Piotr Ożarowski
s keep "-" for wheels as well -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-req

Re: wheel support for Debian?

2014-05-19 Thread Piotr Ożarowski
hing that is fundamentally pretty simple. please at least unpack these wls files so that admins don't have to figure out what to do with them if they want to apply a patch from upstream -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: Request to join python-apps

2014-05-20 Thread Piotr Ożarowski
r with Yoann Gauthier. Is there any official process to adopting a > package within a team after joining? > > [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711833 welcome :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: Join the Team

2014-05-20 Thread Piotr Ożarowski
[Hugo Lefeuvre, 2014-05-17] > I've made a request on alioth to join the team. But, I think it's > important to introduce myself to the other members of the team. can you remind me your alioth username? I cannot find you... -- Piotr Ożarowski Debian GNU

Re: RFS: confiture/2.0-1

2014-05-20 Thread Piotr Ożarowski
r: 'ascii' codec can't decode byte 0xc3 in position 6251: ordinal not in range(128) * add VCS-Browser and VCS-SVN fields and svn-inject it into DPMT repo :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.d

Re: Help with python-biom-format needed

2014-05-21 Thread Piotr Ożarowski
her does not find the biom Python module or since > I adapted the packaging to dh_python using --buildsystem=pybuild in > debian/rules I get > >Makefile:50: recipe for target 'singlehtml' failed I cannot reproduce it. It FTBFS due to "ImportError: No module named bio

Re: Help with python-biom-format needed

2014-05-21 Thread Piotr Ożarowski
> > Well, if there is no other suggestion for a not so insane solution I > might try this. my solution to such problem is: move building docs to install stage and set PYTHONPATH to debian/python-foo/usr/lib/python2.X/dist-packages/ -- Piotr Ożarowski

Re: RFS: confiture/2.0-1

2014-05-22 Thread Piotr Ożarowski
or simply add this commit to debian/patches/ -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ.

Re: Join PAPT

2014-05-25 Thread Piotr Ożarowski
[Hugo Lefeuvre, 2014-05-25] > Could it be possible to be added ? yes it is. You're in :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A

Re: Proposed changes to python-virtualenv

2014-05-30 Thread Piotr Ożarowski
t; don't have. No more. +1 -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...@lists.

Re: Cannot find installed package that provides pillow. Using python-pillow as package name.

2014-06-11 Thread Piotr Ożarowski
e generated in Jessie on Wheezy (different list of supported Python versions) and dh_python2 on Wheezy will generate python-imaging dependency -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A89

Re: Cannot find installed package that provides pillow. Using python-pillow as package name.

2014-06-11 Thread Piotr Ożarowski
trunk/debian/pydist-overrides?view=markup > > I'll revert my changes, thanks for your help. I will make sure my next dh-python backport generates python-imaging on Wheezy -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc

Re: Passing arguments to nosetests in debian/rules:override_dh_auto_test

2014-07-07 Thread Piotr Ożarowski
ml and Makefile they aren't taken by dh_auto_test. > > I am using pybuild and I want to pass this arguments in the > override_dh_auto_test > section. override_dh_auto_test: dh_auto_test -- --test-args='--foo bar --baz' or at the top of debian/rules: export P

Re: python-relatorio: where to put the test suite?

2014-07-09 Thread Piotr Ożarowski
gt; - or is there a better solution, which I am currently not aware of? if these tests are not that big, you can ship them in both packages, i.e. in /usr/share/python{,3}-relatorio/tests (especially if 2to3 has to be used on .py them) -- Piotr Ożarowski Debian G

Re: python-relatorio: where to put the test suite?

2014-07-09 Thread Piotr Ożarowski
. Lintian is right and please do not override it if it's right. You don't have to fix it, but please do not silence a valid warning. PS note that I proposed to use /usr/share/python{,3}-relatorio/tests and not /usr/lib/python3/dist-packages/relatorio/tests/ -- Piotr Ożarowski

Re: Two django packages for Debian?

2014-08-06 Thread Piotr Ożarowski
> I am on the edge. I prefer dgit and I would love to try them all before we make a decision¹ If one wants us to consider XYZ, please send a link to test repo and a list of commands that will let us deal f.e. with such problems: * how can I fetch foo sources? what about updating all packages in

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 Debia

Re: Python3 search path order when building Debian package

2014-08-11 Thread Piotr Ożarowski
your build target copies/compiles files) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-requ...

Re: Python3 search path order when building Debian package

2014-08-11 Thread Piotr Ożarowski
if > > If I do this, then it works for 2.7, not for 3.4. does the module from $(CURDIR) work with 3.X and 2.X without 2to3? where does build target put it? does testr-python$$PYMAJOR touch sys.path? -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl

Re: Two django packages for Debian?

2014-08-13 Thread Piotr Ożarowski
or the team to impose anything here. patches are > stored in quilt format, people can use "quilt" or "git-dpm" or "gbp-pq". that's the problem. I'm lazy and I rather stop helping / sponsoring than learn 650 ways to add a patch. -- Piotr Ożarowski

Re: archivemail: joining the team?

2014-08-20 Thread Piotr Ożarowski
s that the package was in team > maintenance. > > Anyway, I was going to look into taking over the package before I realised > that, so instead perhaps I should join the team? I've clicked the 'join' > button > on alioth. thanks for u

Re: What is the most idiomatic way in Debian to modify defaults in setup.py ?

2014-08-23 Thread Piotr Ożarowski
d, it's either: export SOME_ENV_VAR=foo or export PYBUILD_INSTALL_ARGS=--an-option -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To

Re: multiple deb packages from python program.

2014-08-30 Thread Piotr Ożarowski
[Scott Kitterman, 2014-08-30] > Interesting. I've always had to add them. export PYBUILD_NAME=foo does the trick -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA A

Re: When packaging a library, should I prevent its test suite from being packaged

2014-09-09 Thread Piotr Ożarowski
next dh_python{2,3} version). If it is installed as .../dist-packages/pymysq/tests and doesn't contain anything other than .py files, then leave it. It will be useful while running runtime tests (f.e. in autopkgtest) [¹] export PYBUILD_AFTER_INSTALL=rm -r {install_dir}/tests

Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Piotr Ożarowski
`dh_link /usr/bin/foo /usr/share/pkgname/foo` in debian/rules or adequate line in debian/pkgname.links file. No need to write wrappers that set PYTHONPATH, etc. [¹] pybuild exmaple: export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/pkgname/ --install-scripts=/usr/share/p

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Piotr Ożarowski
[Piotr Ożarowski, 2014-09-10] > all you need is `dh_link /usr/bin/foo /usr/share/pkgname/foo` in or even `dh_link /usr/share/pkgname/foo /usr/bin/foo` :) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org

Re: Python applications: private dirs and PYTHONPATH issue

2014-09-10 Thread Piotr Ożarowski
d: export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/dicompyler/ export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/bin/dicompyler {destdir}/usr/share/dicompyler/run and symlink /usr/share/dicompyler/run to /usr/bin/dicompyler -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarows

<    1   2   3   4   5   6   7   8   9   10   >