-
Notifications
You must be signed in to change notification settings - Fork 108
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
Python312 upgrade #357
Python312 upgrade #357
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #357 +/- ##
==========================================
- Coverage 61.40% 52.94% -8.46%
==========================================
Files 16 16
Lines 1705 1713 +8
Branches 115 307 +192
==========================================
- Hits 1047 907 -140
- Misses 642 793 +151
+ Partials 16 13 -3
|
becc0fc
to
fd8c571
Compare
d587fb2
to
2f94958
Compare
673b028
to
435fe3b
Compare
435fe3b
to
e4fc0fd
Compare
294ff61
to
7d86f4c
Compare
7d86f4c
to
99ba2b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code itself looks good & the functionality is also intact. I think we can now also remove the deprecation warning like below. I was able to import the correct files in LMS & CMS shells.
edx.devstack.lms | 2024-03-22 10:28:53,486 WARNING 1219 [py.warnings] [user 3] [ip 192.168.65.1] warnings.py:109 - /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/edx_sga/sga.py:37: DeprecatedPackageWarning: Please use import xblock.utils.studio_editable instead of xblockutils.studio_editable because the 'xblock-utils' package has been deprecated and migrated to within 'xblock' package.
edx.devstack.lms | from xblockutils.studio_editable import StudioEditableXBlockMixin
Tests will continue to fail until the merge of openedx/edx-platform#34398. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What are the relevant tickets?
#356
What's this PR do?
Upgrade Python to version 3.12 and remove all depreciation warnings
How should this be manually tested?
Note
The xblock-sdk workbench currently doesn't work with XBlock==2.0.0. Hopefully the issue shall be solved in the new release of xblock-sdk. Therefore, the version of xblock has been temporarily set to 1.10.0 in the test_requirements.txtFixed