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 Sandbox to Python 3.11 #850

Closed
UsamaSadiq opened this issue Nov 11, 2024 · 2 comments
Closed

Upgrade Sandbox to Python 3.11 #850

UsamaSadiq opened this issue Nov 11, 2024 · 2 comments
Assignees

Comments

@UsamaSadiq
Copy link
Member

Description

  • Since Ecommerce still requires Python 3.8, we need to add support for Python 3.11 and Python 3.12 in sandbox and upgrade sandbox env to use Python 3.11 for now
  • Since edx-platform is currently running on Python 3.11, we can upgrade sandbox to Python 3.11 for now
  • Once edx-platform has been successfully updated to Python 3.12 and Ecommerce has been deprecated (planned to be deprecated in Jan 25), sandbox can be upgraded to Python 3.12 and all the redundant/unnecessary commands can be cleaned out.

TODO

  • Add support for Python 3.11 and Python 3.12 in configuration
  • Upgrade sandbox to run on Python 3.11 by default instead of Python 3.8
  • Run Ecommerce conditionally on Python 3.8 if required.
@github-project-automation github-project-automation bot moved this to Backlog in Arbi-BOM Nov 11, 2024
@UsamaSadiq UsamaSadiq moved this from Backlog to In Progress in Arbi-BOM Nov 11, 2024
@UsamaSadiq UsamaSadiq self-assigned this Nov 11, 2024
@UsamaSadiq
Copy link
Member Author

Sandbox build is finally successful.
LMS codejail testing: Created Test Course on sandbox to create, publish codejail sample problems.
Analytics API testing: will need owning team (markhor)'s help in testing the endpoint.
Had to create following PRs to make the build green:
analytics-data-api (Python 3.11 dependencies upgrade)
configuration (Updating all services config to use Python 3.11 env except Ecommerce, xqueue and ecommerce-worker)
sandbox-internal (Update developer-sandbox version to Python 3.11)
edge-internal (Update codejail sandbox to Python 3.11)
edx-internal (Update codejail sandbox to Python 3.11)
edx-platform (Update codejail sandbox requirements to Python 3.11)

@UsamaSadiq UsamaSadiq moved this from In Progress to Author Team Review in Arbi-BOM Nov 14, 2024
@UsamaSadiq
Copy link
Member Author

Sandbox has successfully been upgraded to run with Python 3.11.
All of the IDAs have been updated to their respective Python version except the following which will have their separate follow up issues to be created:

  • codejail ( Python 3.8 )
  • analytics-api ( Python 3.8 )
  • Ecommerce ( Python 3.8 )
  • Xqueue ( Python 3.8 )

The pending open PRs will be merged along with the progress on the follow up issues.

@github-project-automation github-project-automation bot moved this from Author Team Review to Done in Arbi-BOM Nov 15, 2024
@jristau1984 jristau1984 moved this from Done to Done - Long Term Storage in Arbi-BOM Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done - Long Term Storage
Development

No branches or pull requests

1 participant