Thursday 5 November 2015

Re: Python 3 only for 16.04

Heya,

On 5 November 2015 at 15:48, Rodney Dawes <rodney.dawes@canonical.com> wrote:
> One thing I notice, is that this list only includes runtime
> dependencies, and not build time dependencies. To port things to Python
> 3, it's not necessarily just a matter of porting the runtime deps, but
> also build deps will need porting.
>
> For ubuntu-sso-client, I would suggest not porting it, and if any code
> needs to use an SSO client, the best options would be:
>

True, porting ubuntu-sso-client would be a pain, or rather has proven
to be a pain.

> 1) Get a thin wrapper around the ubuntuone-credentials Ui to embed it
> into the GTK+ online-accounts settings panel
> a) get ubuntuone-credentials into main
> b) switch anything needing an Ubuntu SSO account to online-accounts
>

I think the trouble there was that we either need it in GTK, or to
"embed" we'd have to rely on XEmbed which would not be accessible on
e.g. Mir. Or am I wrong here?

> 2) Replace ubuntu-sso-client with the code that was in ubiquity for
> logging in to U1 during install in a simpler log-in process
>

Could do, however, I believe ubiquity code was accessing an "old" api
which has been since sealed off, due to authentication / authorisation
issues. Essentially a token was issued before an account was confirmed
(and one couldn't do anything with the token really, until the account
is confirmed)

a gtk+ native online-accounts panel, seems like the cleanest, most
maintainable and a quick solution here.

Regards,

Dimitri.

>
> On Wed, 2015-11-04 at 15:46 -0600, Barry Warsaw wrote:
>> In today's UOS session on dropping Python 2 from the default
>> installs/seeds/images, we captured a bunch of work items. For those of you on
>> the session, please look at both the wiki and blueprint linked below, and make
>> any additions or corrections you might find to my note taking.
>>
>> https://blueprints.launchpad.net/ubuntu/+spec/foundations-x-python3-only
>> https://wiki.ubuntu.com/Python/FoundationsXPythonVersions
>>
>> You might also want to subscribe to the wiki page. Of course, we welcome any
>> help in this important LTS goal, so please get in touch.
>>
>> Thanks,
>> Barry
>
>
> --
> ubuntu-devel mailing list
> ubuntu-devel@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
>

--
Regards,

Dimitri.

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel