beaker-project/beaker

[RFE] Support Python3 for server and lab-controller

p3ck opened this issue ยท 8 comments

p3ck commented

Is your feature request related to a problem? Please describe.
python2 is dead, Has any work been done to move the server and lab-controller to python3?

Describe the solution you'd like
Dropping turbogears and cherrypy and moving to flask/redis model.

Describe alternatives you've considered
We have containerized beaker for now to isolate it and allow us to deploy on rhel-8 and newer. But we really need to drop python2 completely.

p3ck commented

I am able to commit some resources to this if I have help from others.

This would be great to do. I thought @StykMartin did some initial work. I might be able to get permission from my boss to work on it, but no guarantees.

Flask sounds good. Might also look at FastAPI too. I recently wrote a super simple web service using FastAPI and worked well, but it was only one endpoint ๐Ÿ˜Š

Being able to get off of RHEL 7 would be wonderful.

I thought Resource Hub would be a thing by now and replace Beaker. Apparently not...

I think I have a multi-arch lab-controller build for Python 3 somewhere, so that's not a problem. But Beaker itself with TurboGears is another story.

If we are considering running Beaker in a container then I am open to any tech stack as we won't be struggling with dependencies as we have in the past (looking at you gevent..).

I guess it would be nice to set up a meeting and discuss expectations.

p3ck commented

I'm happy to meet this week if you have time. What times are you available?

I would like to participate.

I don't have a preference, any day this week is fine by me. I have time from 19:00 till 23:00 - TZ GMT+2.

Please loop me in (:

Beaker Community Meeting - 2023-10-12T18:00:00Z

I invited @p3ck @renanrodrigo @mdujava @JohnVillalovos, feel free to forward the invitation if anyone else is interested.