Python 3 default for all layered / reactive charms

Adam Stokes adam.stokes at canonical.com
Tue Nov 17 03:09:24 UTC 2015


Also there is a bzr library being utilized as well. Can we just extract
these out into subprocess calls instead?

On Mon, Nov 16, 2015 at 10:07 PM, Stuart Bishop <stuart.bishop at canonical.com
> wrote:

> On 17 November 2015 at 03:50, Cory Johns <cory.johns at canonical.com> wrote:
> > https://github.com/juju-solutions/reactive-base-layer/issues/5
> >
> > I am for using Python 3 in the base layer, but we need to address the
> effect
> > that would have on the charms currently written using layers.  I don't
> think
> > the community effort to handle the switch at this point would be large,
> but
> > we could also fork the base layer have a "basic-py2" layer for a period
> to
> > ease the transition.
> >
> > Thoughts or concerns?
>
> Right now with the new framework is the best opportunity we are ever
> going to get. The alternative is supporting hacks allowing both Py2
> and Py3 until 2020 (but you know that, since I published one such hack
> and recommended not merging it ;) )
>
> I doubt there are any Py2 charms that cannot easily move, since the
> oldest version they can target is 2.7. The only thing that comes to my
> mind is git support, as IIRC charmhelpers is using an obsolete git
> library and the functionality is unavailable with Py3.
>
> --
> Stuart Bishop <stuart.bishop at canonical.com>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151116/afb82190/attachment.html>


More information about the Juju mailing list