Re: [py3porters-devel] Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Zhi An Ng
Hi, I haven't been following this thread too closely, and I'm not familiar with debian packaging related stuff. But I can help write code :) >From what I see, we need people to help port python-git? >From a search on debian packages, this is the package we're talking about: https://packages.debia

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Barry Warsaw
On Apr 23, 2015, at 04:18 PM, Enrico Zini wrote: >Since tox uses pip, which installs software to be run as my own user >skipping the usual Debian trust chain, does it give any guarantee that I >won't be running untrusted, unverified code as my user in my machine? In the tox.ini, you should be abl

Re: nose2 vs pytest (was: Python 2, Python 3, Stretch & Buster)

2015-04-23 Thread Barry Warsaw
On Apr 23, 2015, at 08:05 AM, Nikolaus Rath wrote: >Are you by any chance also familiar with pytest and could same a few >word about pros/cons? Of course this is all personal opinion, so take with a grain of salt. I know a lot of people really like pytest but I don't use it. I don't like the us

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Thu, Apr 23, 2015 at 10:55:26AM -0400, Paul Tagliamonte wrote: > Yep! So, my plan that I outlined on d-d-a was to basically attack that -- > the depends chains -- first. Since we are doing this before strictly > needed (that is, nearly two cycles out), we can ensure everything is > working and

nose2 vs pytest (was: Python 2, Python 3, Stretch & Buster)

2015-04-23 Thread Nikolaus Rath
On Apr 23 2015, Barry Warsaw wrote: > There *are* however proven, stable tools that improve the Python coding and > maintenance experience and for me, tox is one of those. There are others, > such as nose2, that I won't even start a new project without adopting from the > first commit. Are you b

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Thu, Apr 23, 2015 at 09:17:38AM -0400, Scott Kitterman wrote: > Where we started this was with a goal to make sure that 100% of needed > depends > will be available in Stretch, so that by the time Buster is released, > services > can be migrated. It'd be nice to migrate other things soone

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Paul Tagliamonte
On Thu, Apr 23, 2015 at 02:52:33PM +0200, Enrico Zini wrote: > On Mon, Apr 20, 2015 at 11:14:28AM -0400, Paul Tagliamonte wrote: > > > So, round one of all of this is getting the critical path *under* each > > of our services ready, so that when we need to migrate, we don't need > > to scramble. >

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Thu, Apr 23, 2015 at 09:36:50AM -0400, Barry Warsaw wrote: > There *are* however proven, stable tools that improve the Python coding and > maintenance experience and for me, tox is one of those. There are others, > such as nose2, that I won't even start a new project without adopting from the

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Barry Warsaw
On Apr 23, 2015, at 03:15 PM, Enrico Zini wrote: >[1] also, given the volatility of a lot of new tools in the python ecosystem, >I have adopted the safety practice of making sure that a tool has been >/widely/ adopted for at least a year or two before even bothering to look at >it. I like that pra

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Barry Warsaw
On Apr 23, 2015, at 03:19 PM, Enrico Zini wrote: > * I work on the code. > * I run the py2 test suite. > * I deploy. > * /Someone else/ runs the py3 test suite and if needed sends patches. I suggest using tox to ensure the tests run in all supported Python versions. Actually, I suggest tox even i

Re: Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Mon, Apr 20, 2015 at 09:58:31PM +0200, Karsten Hilbert wrote: > > Also, if I implement new features I am not necessarily going to test > > them on python3 unless it somehow happens automatically. Running the > > test suite twice is not much of an option, though, because it already > > takes a l

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Scott Kitterman
On Thursday, April 23, 2015 02:52:33 PM Enrico Zini wrote: > On Mon, Apr 20, 2015 at 11:14:28AM -0400, Paul Tagliamonte wrote: > > So, round one of all of this is getting the critical path *under* each > > of our services ready, so that when we need to migrate, we don't need > > to scramble. > > T

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Mon, Apr 20, 2015 at 01:33:37PM -0400, Barry Warsaw wrote: > Personally, I think the use of dict.iteritems is way overused. The > performance hit is theoretical unless you've actually measured it, and even > then I think it probably doesn't help much unless you've got huge dicts. I tend not t

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Mon, Apr 20, 2015 at 11:14:28AM -0400, Paul Tagliamonte wrote: > So, round one of all of this is getting the critical path *under* each > of our services ready, so that when we need to migrate, we don't need > to scramble. There is another constraint that I forgot: the production environment i

Re: Python 2, Python 3, Stretch & Buster

2015-04-23 Thread Enrico Zini
On Mon, Apr 20, 2015 at 08:39:35AM -0400, Scott Kitterman wrote: > I think the porting team would do most of the work, we'd just need you to > review and integrate changes as they come along. That works for me. Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini -- To UNSUBSCRIBE, em