Re: Safest way to set python3 as default for `python`

2018-07-18 Thread Dimitri John Ledkov
On 16 July 2018 at 08:44, Bastian Venthur wrote: > Hi, > > sorry if this question has been asked before. What is the currently > recommended way to make `python` point to `python3`? I'd like to have it set > on a system default level if possible. > To answer your question. Create a brand new vir

Re: Moving off of git-dpm

2017-02-16 Thread Dimitri John Ledkov
On 16 February 2017 at 11:31, Piotr Ożarowski wrote: > Are you guys seriously considering dgit to replace anything other than > dput in DPMT? I'd rather go back to svn-buildpackage than use something > that will not allow me (f.e. as sponsor) to review before uploading! One can totally review bef

Re: pybuild sphinxdoc and extensions

2015-10-23 Thread Dimitri John Ledkov
i knew it! there are three identical twins of Piotr. No wonder they get so much done! On 23 October 2015 at 15:22, Piotr Ożarowski wrote: > [Piotr Ożarowski, 2015-10-23] >> [Piotr Ożarowski, 2015-10-23] >> > override_dh_auto_build: >> > dh_auto_build >> > PYTHONPATH=$(CURDIR)/.pybuild/b

Re: admins elections

2015-10-01 Thread Dimitri John Ledkov
On 1 October 2015 at 19:44, Piotr Ożarowski wrote: > > [Barry Warsaw, 2015-10-01] > > Team members can have more of a say --and more confidence in-- how the team > > is > > run. If you elect someone to a leadership role, you're giving your support > > to > > them to make the tough decisions. A

Re: python-networkx_1.10-1_amd64.changes ACCEPTED into experimental

2015-09-30 Thread Dimitri John Ledkov
On 30 September 2015 at 10:26, Thomas Kluyver wrote: > On Wed, Sep 30, 2015, at 01:53 AM, Thomas Goirand wrote: >> This has driven >> some contributors away in the past, thinking we don't have team spirit. >> IMO, that's truth, and this kind of thread is hurting again. > > Just to back this up: wa

Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-27 Thread Dimitri John Ledkov
On 27 July 2015 at 21:31, Piotr Ożarowski wrote: >> > I already followed Dimitri's suggestion to add no_proxy=localhost and >> > will add your PYBUILD_FAKE_PROXY later today >> >> awesome! feel free to tune the name to whatever you feel more appropriate. > > I simply do not forward empty http{,s}

Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-21 Thread Dimitri John Ledkov
On 21 July 2015 at 20:17, Yaroslav Halchenko wrote: > talking about this ;-) : > > $> grep -A3 http_proxy pybuild > if 'http_proxy' not in env: > env['http_proxy'] = 'http://127.0.0.1:9/' > if 'https_proxy' not in env: > env['https_proxy'] = 'https://127.0.0.1:9/' > > which

Re: -nspkg.pth and .pth files - should we get rid of them?

2015-07-20 Thread Dimitri John Ledkov
On 20 July 2015 at 13:04, Julien Cristau wrote: > On Mon, Jul 20, 2015 at 07:58:13 -0400, Barry Warsaw wrote: > >> On Jul 20, 2015, at 01:12 PM, Julien Cristau wrote: >> >> >Is that a serious question? Why should debian-python, for no good >> >reason, break things that work just fine? >> >> Becau

Re: -nspkg.pth and .pth files - should we get rid of them?

2015-07-20 Thread Dimitri John Ledkov
On 20 July 2015 at 09:00, Julien Cristau wrote: > On Mon, Jul 20, 2015 at 09:56:55 +0200, Piotr Ożarowski wrote: > >> [Julien Cristau, 2015-07-20] >> > On Sun, Jul 19, 2015 at 21:28:32 +0200, Piotr Ożarowski wrote: >> > >> > > Should we patch distutils/setuptools to not generate them? It generates

Re: /usr/bin/python in Python 2 and 3

2015-04-21 Thread Dimitri John Ledkov
#!/usr/bin/python32 For bilingual scripts. On 17 Apr 2015 2:30 pm, "Geoffrey Thomas" wrote: > I've written up the proposal I made a few days ago for a /usr/bin/python > launcher that keeps the API of being Python 2, but lets scripts opt in to > running on Python 3: > > https://ldpreload.com/blog

Re: Python 2 d-d-a proposal

2015-04-15 Thread Dimitri John Ledkov
I am happy to help porting things. I did it for a number of non trivial packages and happy to do more. It's very soothing experience and better than knitting & sudoku. On 15 Apr 2015 2:29 pm, "Paul Tagliamonte" wrote: > Heyya d-p, > > I'd like to send an email to d-d-a asking that project to cons

Re: multiprocessing.queues.Queue does not work in pbuilder?

2015-01-31 Thread Dimitri John Ledkov
Hello, On 29 January 2015 at 09:01, Ole Streicher wrote: > Hi, > > I am trying to get the release candidate for python-astropy > packaged. The packaging includes a number of tests, where many fail in > pbuilder, which can be traced back to: > > $ sudo pbuilder login > # apt-get install python > #

Re: Age of built packages to be part of the jessie release?

2014-12-06 Thread Dimitri John Ledkov
Following on this conversation. I did some simple stats. There are 6361 binary packages that have the same name in stable and testing on (all, amd64) architecture. This translates into 4821 source packages. Skimming through the list of them, I've poked some that for sure will generate a diff if re

Re: Keeping upstream commits separate from Debian packaging commits

2014-10-17 Thread Dimitri John Ledkov
On 17 October 2014 16:57, Tristan Seligmann wrote: > On 17 October 2014 17:19, Dimitri John Ledkov wrote: >> There are different tag types in git. "Soft" are just named commit >> references and indeed can be renamed at will / point to new commits, >> however signe

Re: Keeping upstream commits separate from Debian packaging commits

2014-10-17 Thread Dimitri John Ledkov
On 17 October 2014 07:39, Tristan Seligmann wrote: > On 16 October 2014 20:12, Hans-Christoph Steiner wrote: >> >> >> Tristan Seligmann wrote: >>> If you are fetching the upstream revisions / tags into your packaging >>> repository, you can use the upstream tag exactly as-is, no need to >>> re-ta

Re: Fighting commit storm madness (was: [Python-modules-commits] [python-mplexporter] 135/135: Merge pull request #30 from rainwoodman/patch-1)

2014-10-09 Thread Dimitri John Ledkov
On 9 October 2014 20:57, Scott Kitterman wrote: > On October 9, 2014 10:43:38 AM EDT, Barry Warsaw wrote: >>On Oct 09, 2014, at 10:19 AM, Scott Kitterman wrote: >> >>>Upstream commits are off topic. >> >>Agreed. There's no reason why we need notifications of upstream >>commits, >>though I don't

Re: Two django packages for Debian?

2014-08-06 Thread Dimitri John Ledkov
On 6 August 2014 14:18, Barry Warsaw wrote: > On Aug 06, 2014, at 08:47 AM, Raphael Hertzog wrote: > >>(That said I'm also rather annoyed by the fact that the team hasn't switched >>to git yet.) > > We've had these discussions on this mailing list before, but I think we should > discuss it at Debc

Re: Setting DPMT as maintainer for python-repoze.what

2014-05-23 Thread Dimitri John Ledkov
On 22 May 2014 02:15, Thomas Goirand wrote: > Hi Dimitri (and the rest of the DPMT), > > I'm uploading a new version of python-repoze.what with some maintenance > work. I've set DPMT as maintainer, and you and I as uploaders. I don't > really care about this particular package, but thought it was

Bug#746741: release.debian.org: dh-python2 transition

2014-05-02 Thread Dimitri John Ledkov
Package: release.debian.org Severity: normal Dear release team, Debian python teams would find useful to evaluate on continuous basis removal of python-support from the archive and thus migrating to dh-python2. We are uncertain of the scope, and the pace at which this transition can be completed.

Re: Getting rid of python-support?

2014-04-30 Thread Dimitri John Ledkov
On 30 April 2014 18:27, Jakub Wilk wrote: > * Dimitri John Ledkov , 2014-04-30, 16:43: > >>> python-central is gone (\o/) and python-support usage is slowly >>> decreasing in the archive: >>> http://lintian.debian.org/tags/dh_pysupport-is-obsolete.html >>&

Re: Getting rid of python-support?

2014-04-30 Thread Dimitri John Ledkov
On 30 April 2014 18:01, Matthias Klose wrote: > Am 30.04.2014 17:31, schrieb Luca Falavigna: >> Hi, >> >> python-central is gone (\o/) and python-support usage is slowly >> decreasing in the archive: >> http://lintian.debian.org/tags/dh_pysupport-is-obsolete.html >> >> Do you think it would be the

Re: Getting rid of python-support?

2014-04-30 Thread Dimitri John Ledkov
On 30 April 2014 16:31, Luca Falavigna wrote: > Hi, > > python-central is gone (\o/) and python-support usage is slowly > decreasing in the archive: > http://lintian.debian.org/tags/dh_pysupport-is-obsolete.html > > Do you think it would be the right time to prepare a mass bug filing > asking to c

Re: Some thoughts about py{support,central} -> dh_python2 conversion

2014-04-20 Thread Dimitri John Ledkov
On 12 November 2013 15:08, Jakub Wilk wrote: > * Jakub Wilk , 2012-05-03, 21:41: > >>> 2) Do not skip the "Before you begin"[0] step. This is very important: if >>> two packages share a namespace, either both or none of them must use >>> python-support. Also, it's not enough just to convert them a

Re: RFS: Pyspread 0.2.6-1

2014-02-19 Thread Dimitri John Ledkov
On 19 February 2014 15:45, Barry Warsaw wrote: > On Feb 18, 2014, at 09:10 PM, Vincent Cheng wrote: > >>I don't really know how autopkgtests work, but if they're run >>automatically during the build process like dh_auto_test, then that >>would cause your package to FTBFS. Can you modify the tests

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

2014-01-25 Thread Dimitri John Ledkov
On 25 January 2014 17:21, Sandro Tosi wrote: >> Huh? Thomas seemed to be doing the right thing per the DPMT standards >> etc; > > if you change the python helper, you HAVE TO contact who's maintaining > the package and have they ack the change, that's the team standard. > No, one does not within

Re: Using git-svn and gbp for DPMT - Was: Re: Joining the DPMT and git.debian.org access

2014-01-21 Thread Dimitri John Ledkov
On 15 January 2014 02:29, Chow Loong Jin wrote: > On Tue, Jan 14, 2014 at 04:51:20PM +0100, Olivier Berger wrote: >> Now, if you both want to track upstream sources from origin/master on >> local upstream/ branch and svn's trunk on local master branch, then, >> yes, a debian/gbp.conf comes handy,

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

2013-12-28 Thread Dimitri John Ledkov
On 28 December 2013 06:27, Thomas Goirand wrote: > On 12/28/2013 01:00 AM, Dimitri John Ledkov wrote: >> OK, I'm sorry. >> >> What does it mean a "clean backport" vs other type of backports? >> dh-python is in backports, so no changes are required to

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

2013-12-27 Thread Dimitri John Ledkov
On 27 December 2013 16:08, Clint Byrum wrote: > Excerpts from Dimitri John Ledkov's message of 2013-12-27 07:18:05 -0800: >> On 27 December 2013 15:00, Thomas Goirand wrote: >> > On 12/17/2013 01:02 AM, Barry Warsaw wrote: >> >> [...] >> >> You'll want to have at least the following build depen

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

2013-12-27 Thread Dimitri John Ledkov
On 27 December 2013 15:00, Thomas Goirand wrote: > On 12/17/2013 01:02 AM, Barry Warsaw wrote: >> [...] >> You'll want to have at least the following build dependencies: >> >>* debhelper (>= 8) >> - * dh-python >>* python-all (>= 2.6.6-3~) >>* python-setuptools >>* python3-all >

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Dimitri John Ledkov
On 11 December 2013 15:33, Dimitri John Ledkov wrote: > On 11 December 2013 15:24, Olivier Berger > wrote: >> Hi. >> >> AFAIU, pybuild prevents accesses to the network. >> >> But this can be problematic during auto_tests that will perform HTTP >> conne

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Dimitri John Ledkov
On 11 December 2013 15:24, Olivier Berger wrote: > Hi. > > AFAIU, pybuild prevents accesses to the network. > > But this can be problematic during auto_tests that will perform HTTP > connections on a local HTTP server (I have such an example in rdflib's > auto tests [0]). > > Is there a way to avo