Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to python 3.11+ #69

Open
jaismith opened this issue Oct 25, 2023 · 3 comments
Open

upgrade to python 3.11+ #69

jaismith opened this issue Oct 25, 2023 · 3 comments

Comments

@jaismith
Copy link
Member

upgrade python

LL runs on the deprecated heroku-18 stack, which is deprecated and can no longer be built for deployments. This is blocking all LL deployments.

We currently run python 2, which is not supported by any Heroku stacks beyond 18. To unblock deployments, we need to upgrade to python 3 (3.11+).

@zack-overflow
Copy link

Could ChatGPT (or an AI-enabled IDE like Cursor) do this accurately, or at least help with it?

@coho905
Copy link

coho905 commented Nov 22, 2023

have you looked into the autoconversion tool provided by Python? I think its called 2to3 It should do some basic conversions like print" " becomes print(" ") and so on.

@zack-overflow
Copy link

zack-overflow commented Nov 22, 2023

have you looked into the autoconversion tool provided by Python? I think its called 2to3 It should do some basic conversions like print" " becomes print(" ") and so on.

This a good idea--thank you Colin. I have seen a few of these tools over the years. Probably would be pretty effective for changing the LL code itself (although I have seen/heard that it is not always perfect and can introduce some painful bugs). I think an equally large issue is with dependencies and other infrastructure. There also needs to be a data migration from the old dynos to new dynos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants