iiab icon indicating copy to clipboard operation
iiab copied to clipboard

PLANNING: Does Debian 'bookworm' nightlies have python2 available or not?

Open jvonau opened this issue 3 years ago • 1 comments

https://wiki.debian.org/Python https://wiki.debian.org/Python/FAQ#Python_2_support https://cdimage.debian.org/cdimage/weekly-builds/arm64/list-cd/debian-testing-arm64-netinst.list.gz 'python2' not preinstalled

This will affect kalite's role at some point, plan now.

jvonau avatar Jul 06 '22 05:07 jvonau

This can be moved to the IIAB 8.1 Milestone later, if/as necessary.

holta avatar Jul 06 '22 05:07 holta

#3399

jvonau avatar Nov 28 '22 17:11 jvonau

#3450

jvonau avatar Dec 29 '22 17:12 jvonau

Now would be a good time to harvest the kalite virtual environment by tarring them up and storing them on d.iiab.org, one each for 32bit-arm RasPiOS, 64-bit-arm RasPiOS or Ubuntu, and X86_64 from Ubuntu. Once available for download from the internet the installation could be just retrieve the archive and decompress the files into place without needing to install the virtualenv or python2 (that might disappear soon) apt packages.

jvonau avatar Mar 20 '23 14:03 jvonau

This is a very important question 👍

A counterargument is that IIAB should invest what precious time we have in automating Kolibri Channel installs.

(UX & content are both far superior within Kolibri, and field communities now strongly prefer Kolibri over KA Lite.)

If we had infinite resources (!) we would of course do both (salvage KA Lite & refine the imperfect Kolibri Channel install process).

Certainly several difficult but strategically necessary choices might be necessary in 2023 🕙

  • #2680

holta avatar Mar 20 '23 15:03 holta

are Tauthon or PyPy viable as alternatives? https://www.infoworld.com/article/3365221/python-2-end-of-life-how-to-survive-the-end-of-python-2.html

tim-moody avatar Mar 20 '23 15:03 tim-moody

This is a very important question +1

A counterargument is that IIAB should invest what precious time we have in automating Kolibri Channel installs.

(UX & content are both far superior within Kolibri, and field communities now strongly prefer Kolibri over KA Lite.)

If ka-lite has fallen out of favor with 'field communities' then perhaps ka-lite can be omitted from the base install in MIN and maybe MEDIUM local_vars given the ease of use within admin-console to install ka-lite on demand via user selection or auto selection via presets.

If we had infinite resources (!) we would of course do both (salvage KA Lite & refine the imperfect Kolibri Channel install process).

The idea above is pretty low hanging fruit, just needs a web presence to store the tar files and would have the bonus of not having compilers dragged in needlessly via the installation of python3-pip.

Certainly several difficult but strategically necessary choices might be necessary in 2023 clock10

The clock is ticking and python2 is going to go away at some point in the future, how soon is up to the distros.

jvonau avatar Mar 20 '23 15:03 jvonau

I certainly support the idea of tar files as a backup. What would you tar, /library/ka-lite? I guess there's no mysql db needed.

tim-moody avatar Mar 20 '23 15:03 tim-moody

in addition to automating channels for kolibri, changes will be needed to presets and menuing, but maybe those should be added anyway

tim-moody avatar Mar 20 '23 15:03 tim-moody

perhaps ka-lite can be omitted

Yes. KA Lite should completely disappear ideally, as Kolibri becomes more reliably automated.

holta avatar Mar 20 '23 15:03 holta

are Tauthon or PyPy viable as alternatives? https://www.infoworld.com/article/3365221/python-2-end-of-life-how-to-survive-the-end-of-python-2.html

Interesting.

Even if my preference is that we focus on field communities' very strong preference for the modern UI/UX & modern content of Kolibri.

holta avatar Mar 20 '23 15:03 holta

Edit: Note /usr/local/kalite/venv is the location of the python2 virtual environment, that would be the first directory to harvest, I would harvest /library/ka-lite just after the current role is run prior to running 'kalite manage generate_zone' and the 'English Pack' installation as not to upset what admin-console does after the role is run as the first step. Scrapping the complete install after 'kalite manage generate_zone' and the 'English Pack' installation should be workable also, just don't want to interfere with what admin-console does. If admin-console respects the /etc/iiab/install-flags for ka-lite then those flags can be added to the archive and things should be good to go for using the full scraping of the installation, both the virtual environment and the data directory

jvonau avatar Mar 20 '23 15:03 jvonau

I am prepared to start work on implementing additional support for Kolibri when two teachers in the field independently tell me that they are using Kolibri for Khan Academy content and prefer that over Ka-lite.

tim-moody avatar Mar 20 '23 15:03 tim-moody

Just FYI there are thousands of Kolibri educators who've dumped KA Lite.

I'm not sure it's IIAB's job to fix all of Kolibri's installation glitches.

But if we end up contributing here, that would certainly be a positive.

holta avatar Mar 20 '23 16:03 holta

#3227 I believe @shanti-bhardwa is using Kolibri out in the wild and has content channels in use.

jvonau avatar Mar 20 '23 16:03 jvonau

perhaps ka-lite can be omitted

Yes. KA Lite should completely disappear ideally, as Kolibri becomes more reliably automated.

Take the first step, stop forcing the kalite installation on every iiab install going forward.

jvonau avatar Mar 20 '23 16:03 jvonau

Take the first step, stop forcing the kalite installation on every iiab install going forward.

Our Kolibri guidance (doc or video or whatever) needs to improve first.

This is not hard work (lots of people are now installing Kolibri with IIAB) but it will take a few months to cleanly articulate all these common installation tips & tricks.

holta avatar Mar 20 '23 16:03 holta

Take the first step, stop forcing the kalite installation on every iiab install going forward.

Our Kolibri guidance (doc or video or whatever) needs to improve first.

How does needing better docs for an upstream project relate to de-emphasizing the push for kalite going forward knowing that the role doesn't currently install in the newer distros as noted in #3399 and #3450?

This is not hard work (lots of people are now installing Kolibri with IIAB) but it will take a few months to cleanly articulate all these common installation tips & tricks.

Those better docs only come together with feedback, I would prefer positive feedback when things run right but all that is ever seen is negative feedback when things go wrong.

jvonau avatar Mar 20 '23 16:03 jvonau

Just FYI there are thousands of Kolibri educators who've dumped KA Lite.

Then it should be pretty easy to name two.

tim-moody avatar Mar 20 '23 16:03 tim-moody

Then it should be pretty easy to name two.

Some Kolibri educators spend their time here, if you in fact want to develop relationships with them, this is a very good place to start:

https://community.learningequality.org

holta avatar Mar 20 '23 16:03 holta

Ref cloning the kalite install https://community.learningequality.org/t/installing-ka-lite-on-inovato-quadra-device/2737/9

jvonau avatar Mar 20 '23 17:03 jvonau

Other interesting treads: https://community.learningequality.org/t/kolibri-channels/2753 https://community.learningequality.org/t/kolibri-installation-and-setup-raspberry-pi-4/2715

jvonau avatar Mar 20 '23 17:03 jvonau

you mean like https://community.learningequality.org/t/installing-ka-lite-on-inovato-quadra-device/2737

tim-moody avatar Mar 20 '23 17:03 tim-moody

OK @jvonau got there first

tim-moody avatar Mar 20 '23 17:03 tim-moody

Other interesting treads: https://community.learningequality.org/t/kolibri-channels/2753 https://community.learningequality.org/t/kolibri-installation-and-setup-raspberry-pi-4/2715

Thx for highlighting those 🏗️

It's taken a decade (all good things take patience) but Kolibri has made tremendous strides recently.

holta avatar Mar 20 '23 17:03 holta

Some Kolibri educators spend their time here

seeing some implementers; haven't found any teachers yet

https://community.learningequality.org/t/content-in-khan-academy-vs-ka-lite-vs-kolibri/514/3 is the same experience I had 2 years ago when testing

tim-moody avatar Mar 20 '23 17:03 tim-moody

This is not hard work (lots of people are now installing Kolibri with IIAB) but it will take a few months to cleanly articulate all these common installation tips & tricks.

Knowing Kolibri has their own RasPi image I would suspect more Kolibri power users would start with that image rather than IIAB given upstream would respond to issues within their own product first rather than raising an issue here and waiting for a fix.

jvonau avatar Mar 20 '23 17:03 jvonau

Around 2019 Kolibri make the decision to distribute across "all" platforms, no matter the OS, no matter the hardware, no matter where in others' software stack Kolibri resides (etc) — no matter if used for home schooling or informal libraries or schools or whatever.

Some gaming platforms also pursue this kind of "may a thousand flowers bloom" marketing/outreach strategy. In any case, very promising.

holta avatar Mar 20 '23 17:03 holta

yes I agree, kalite should be False as a default. I have always done this in my local_vars.yml and set kolibri to True. You can also leave kolibri to False as a default. Just update our documentation to say this. People can then make the choice if they still want kalite which become unsupported from our perspective or choose kolibri.

Regards Shanti

On Mon, 20 Mar 2023 at 16:06, Jerry Vonau @.***> wrote:

#3227 https://github.com/iiab/iiab/issues/3227 I believe @shanti-bhardwa https://github.com/shanti-bhardwa is using Kolibri out in the wild and has content channels in use.

— Reply to this email directly, view it on GitHub https://github.com/iiab/iiab/issues/3289#issuecomment-1476520104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMTU7MINZ3HVWTDGUO4YPCDW5B6ATANCNFSM52YLQSNQ . You are receiving this because you were mentioned.Message ID: @.***>

shanti-bhardwa avatar Mar 20 '23 19:03 shanti-bhardwa

kalite should be False as a default

We should quickly move in this direction in coming months yes.

You can also leave kolibri to False as a default

Realistically, new implementers don't have anywhere near the wisdom Shanti brings 😆

They need (desperately want is more accurate ;) guidance, docs, tips & tricks videos, etc.

Long story short Kolibri should definitely become the default sometime in 2023 (instead of KA Lite, in most all cases anyway) welcoming newbies who justifiably always beg for clear + friendly defaults (NOT configuration swamps!) 😉

holta avatar Mar 20 '23 20:03 holta