Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2012-01-09 Thread Adrian Bunk
On Sun, Jan 08, 2012 at 01:08:01PM +0530, Ritesh Raj Sarraf wrote:
> Hello Python Team,
> 
> On 12/30/2011 07:11 PM, Ritesh Raj Sarraf wrote:
> > I will be able to look into it only in Jan 2nd week. If there is
> > consensus, please feel free to change it.
> > 
> > On Friday, December 30, 2011, Julian Taylor wrote:
> > 
> > tags 653650 + wontfix
> > thanks
> > 
> > On 12/30/2011 12:29 AM, Adrian Bunk wrote:
> > > Source: ipython
> > > Version: 0.11-2
> > > Severity: normal
> > >
> > > The unconditional dependency on python-argparse always pulls in
> > python2.6.
> > >
> > > argparse was included in python2.7
> > >
> > > Please change the argparse dependency to
> > >python (>= 2.7) | python-argparse
> > >
> > > The same change also makes sense for the build dependencies.
> > >
> > >
> > 
> > This will not install python-argparse needed for the 2.6 variants.
> > The only really satisfying option is adding explicit ipython2.6 packages
> > which I'm not going to do that as 2.6 will disappear at some point and
> > packaging is complex enough as is.
> > 
> > It is my opinion that argparse should revert the 2.6 only change instead
> > of forcing everyone else to update their packages for no valid reason.
> > The better way to phase out python-argparse is to wait until python2.6
> > removal and then let python provide it (like ubuntu did).
> > To get rid of the harmless pkg-ressources warning one could remove the
> > 2.7 symlinks from the package.
> > 
> > 
> 
> Is there any consensus on this bug report? I only heard one comment from
> Julian. I think if python (>= 2.7) could just provide python-argparse,
> this issue would be resolved.

I'm not sure if there is actually any not too complicated solution that 
handles all cases perfectly.

E.g. your suggestion would leave the problem of not having 
python-argparse installed when using the ipython2.6 program.

What about:
- Depends: "python (>= 2.7) | python-argparse"
  (stop always pulling in python2.6 in wheezy)
- Suggests: python-argparse
  (gives the few people using ipython2.6 a hint what to install)

That would make the dependencies less broad in the common case [1],
while also expressing what is also needed for more obscure funstionality.

> Thanks,
> Ritesh

cu
Adrian

[1] This is equivalent to python2.7 providing python-argparse.

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2012-01-08 Thread Julian Taylor
On 01/08/2012 01:00 PM, Jakub Wilk wrote:
> 
> 
> The current Depends doesn't guarantee that ipython is usable with
> non-default Python version anyway (e.g. you don't depend on python2.6,
> you have little control over versions supported by your dependencies,
> etc.).

you get a helpful error message when you try the 2.6 script it without
2.6 installed.
I'd have to patch the source to do the same for missing argparse.



signature.asc
Description: OpenPGP digital signature


Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2012-01-08 Thread Jakub Wilk

* Ritesh Raj Sarraf , 2012-01-08, 13:08:

argparse was included in python2.7

Please change the argparse dependency to
  python (>= 2.7) | python-argparse

The same change also makes sense for the build dependencies.
This will not install python-argparse needed for the 2.6 variants. The 
only really satisfying option is adding explicit ipython2.6 packages 
which I'm not going to do that as 2.6 will disappear at some point and 
packaging is complex enough as is.


How about using "python (>= 2.7) | python-argparse" in Depends and 
"python-argparse" in Recommends or Suggests?


The current Depends doesn't guarantee that ipython is usable with 
non-default Python version anyway (e.g. you don't depend on 
python2.6, you have little control over versions supported by your 
dependencies, etc.).



It is my opinion that argparse should revert the 2.6 only change


That said, I agree that the argparse 2.6-only change should be reverted.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2012-01-07 Thread Ritesh Raj Sarraf
Hello Python Team,

On 12/30/2011 07:11 PM, Ritesh Raj Sarraf wrote:
> I will be able to look into it only in Jan 2nd week. If there is
> consensus, please feel free to change it.
> 
> On Friday, December 30, 2011, Julian Taylor wrote:
> 
> tags 653650 + wontfix
> thanks
> 
> On 12/30/2011 12:29 AM, Adrian Bunk wrote:
> > Source: ipython
> > Version: 0.11-2
> > Severity: normal
> >
> > The unconditional dependency on python-argparse always pulls in
> python2.6.
> >
> > argparse was included in python2.7
> >
> > Please change the argparse dependency to
> >python (>= 2.7) | python-argparse
> >
> > The same change also makes sense for the build dependencies.
> >
> >
> 
> This will not install python-argparse needed for the 2.6 variants.
> The only really satisfying option is adding explicit ipython2.6 packages
> which I'm not going to do that as 2.6 will disappear at some point and
> packaging is complex enough as is.
> 
> It is my opinion that argparse should revert the 2.6 only change instead
> of forcing everyone else to update their packages for no valid reason.
> The better way to phase out python-argparse is to wait until python2.6
> removal and then let python provide it (like ubuntu did).
> To get rid of the harmless pkg-ressources warning one could remove the
> 2.7 symlinks from the package.
> 
> 

Is there any consensus on this bug report? I only heard one comment from
Julian. I think if python (>= 2.7) could just provide python-argparse,
this issue would be resolved.

Thanks,
Ritesh


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System



signature.asc
Description: OpenPGP digital signature


Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2011-12-30 Thread Ritesh Raj Sarraf
I will be able to look into it only in Jan 2nd week. If there is consensus,
please feel free to change it.

On Friday, December 30, 2011, Julian Taylor wrote:

> tags 653650 + wontfix
> thanks
>
> On 12/30/2011 12:29 AM, Adrian Bunk wrote:
> > Source: ipython
> > Version: 0.11-2
> > Severity: normal
> >
> > The unconditional dependency on python-argparse always pulls in
> python2.6.
> >
> > argparse was included in python2.7
> >
> > Please change the argparse dependency to
> >python (>= 2.7) | python-argparse
> >
> > The same change also makes sense for the build dependencies.
> >
> >
>
> This will not install python-argparse needed for the 2.6 variants.
> The only really satisfying option is adding explicit ipython2.6 packages
> which I'm not going to do that as 2.6 will disappear at some point and
> packaging is complex enough as is.
>
> It is my opinion that argparse should revert the 2.6 only change instead
> of forcing everyone else to update their packages for no valid reason.
> The better way to phase out python-argparse is to wait until python2.6
> removal and then let python provide it (like ubuntu did).
> To get rid of the harmless pkg-ressources warning one could remove the
> 2.7 symlinks from the package.
>
>

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2011-12-30 Thread Ritesh Raj Sarraf
I will be able to look into it only in Jan 2nd week. If there is consensus,
please feel free to change it.

On Friday, December 30, 2011, Julian Taylor wrote:

> tags 653650 + wontfix
> thanks
>
> On 12/30/2011 12:29 AM, Adrian Bunk wrote:
> > Source: ipython
> > Version: 0.11-2
> > Severity: normal
> >
> > The unconditional dependency on python-argparse always pulls in
> python2.6.
> >
> > argparse was included in python2.7
> >
> > Please change the argparse dependency to
> >python (>= 2.7) | python-argparse
> >
> > The same change also makes sense for the build dependencies.
> >
> >
>
> This will not install python-argparse needed for the 2.6 variants.
> The only really satisfying option is adding explicit ipython2.6 packages
> which I'm not going to do that as 2.6 will disappear at some point and
> packaging is complex enough as is.
>
> It is my opinion that argparse should revert the 2.6 only change instead
> of forcing everyone else to update their packages for no valid reason.
> The better way to phase out python-argparse is to wait until python2.6
> removal and then let python provide it (like ubuntu did).
> To get rid of the harmless pkg-ressources warning one could remove the
> 2.7 symlinks from the package.
>
>

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2011-12-29 Thread Julian Taylor
tags 653650 + wontfix
thanks

On 12/30/2011 12:29 AM, Adrian Bunk wrote:
> Source: ipython
> Version: 0.11-2
> Severity: normal
> 
> The unconditional dependency on python-argparse always pulls in python2.6.
> 
> argparse was included in python2.7
> 
> Please change the argparse dependency to
>python (>= 2.7) | python-argparse
> 
> The same change also makes sense for the build dependencies.
> 
> 

This will not install python-argparse needed for the 2.6 variants.
The only really satisfying option is adding explicit ipython2.6 packages
which I'm not going to do that as 2.6 will disappear at some point and
packaging is complex enough as is.

It is my opinion that argparse should revert the 2.6 only change instead
of forcing everyone else to update their packages for no valid reason.
The better way to phase out python-argparse is to wait until python2.6
removal and then let python provide it (like ubuntu did).
To get rid of the harmless pkg-ressources warning one could remove the
2.7 symlinks from the package.



signature.asc
Description: OpenPGP digital signature


Bug#653650: ipython: Please depend on "python (>= 2.7) | python-argparse"

2011-12-29 Thread Adrian Bunk
Source: ipython
Version: 0.11-2
Severity: normal

The unconditional dependency on python-argparse always pulls in python2.6.

argparse was included in python2.7

Please change the argparse dependency to
   python (>= 2.7) | python-argparse

The same change also makes sense for the build dependencies.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org