beaker icon indicating copy to clipboard operation
beaker copied to clipboard

[RFE] Support Python3 for server and lab-controller

Open p3ck opened this issue 1 year ago • 8 comments

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 avatar Oct 06 '23 14:10 p3ck

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

p3ck avatar Oct 06 '23 14:10 p3ck

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.

JohnVillalovos avatar Oct 06 '23 16:10 JohnVillalovos

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.

StykMartin avatar Oct 06 '23 17:10 StykMartin

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

p3ck avatar Oct 10 '23 14:10 p3ck

I would like to participate.

mdujava avatar Oct 10 '23 19:10 mdujava

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.

StykMartin avatar Oct 10 '23 21:10 StykMartin

Please loop me in (:

renanrodrigo avatar Oct 11 '23 01:10 renanrodrigo

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.

StykMartin avatar Oct 11 '23 14:10 StykMartin