course-discovery
course-discovery copied to clipboard
feat: add python311 support
Description
This PR contains changes for upgrading python 3.8 to python 3.11.
Changes include :-
- Dependencies and version upgrades
Done as a part of following :-
- https://github.com/openedx/public-engineering/issues/233
- https://github.com/openedx/edx-platform/issues/34229
- https://github.com/openedx/course-discovery/issues/4307
Thanks for the pull request, @ichintanjoshi! Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:
- supporting documentation
- Open edX discussion forum threads
- timeline information ("this must be merged by XX date", and why that is)
- partner information ("this is a course on edx.org")
- any other information that can help Product understand the context for the PR
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.
Hi @openedx/course-discovery-maintainers! Would someone be able to review this for us? Thanks!
@ichintanjoshi 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.
This PR didn't run unit tests on python 3.11 and 3.12 versions because these versions weren't available on the docker image and the test suites just skipped unit tests. For the services that run CI on docker, we need to modify Dockerfile as well.
py311-django42: skipped because could not find python interpreter with spec(s): py311
https://github.com/openedx/course-discovery/actions/runs/8684080396/job/23811059094#step:4:1646
py312-django42: skipped because could not find python interpreter with spec(s): py312
https://github.com/openedx/course-discovery/actions/runs/8684080396/job/23811059586#step:4:1646
@iamsobanjaved or @ichintanjoshi is one of you working on fixing this?
Yup @feanil, almost ready, just need to clean commits, will do shortly.
Fix: https://github.com/openedx/course-discovery/pull/4328
@feanil I am coming back from vacation on Monday and will take a look into it.
#4328 is ready for review, it updates the Dockerfile to add support for Python 3.11 and 3.12
cc @feanil @ichintanjoshi