-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Finish upgrading frontend frameworks (formerly BD-39) #31616
Comments
FYI @arbrandes , @davidjoy , and @jmbowman . I dropped this into the Frontend Dev WG project. |
For whoever pick this up, make sure
|
This is related to, or perhaps entirely duplicated by, this platform-roadmap issue: openedx/platform-roadmap#15 |
Tentatively assigning @andrey-canon , who had an idea of how to approach this. |
Figured it's worth leaving a mention of openedx/wg-frontend#166 in this issue, given it mentions upgrading React. Not sure if this issue now intends to be only about the Paragon upgrade or also still about getting React upgraded to latest v18 as well? |
The current libsass version, 0.10.0, doesn't seem to support Python 3.10:
So this might become an issue sooner than later. |
Confirmed that this is due to a breaking change in Py 3.10. From https://docs.python.org/3.9/library/collections.html#module-collections:
|
(FWIW, the Paragon library and its associated documentation site supports (nearly) the latest Dart Sass version via the In terms of what the desired version of Paragon is to install into It's also still a bit unclear to me about the strategy to support the older |
The impression I've gotten from @arbrandes and from TNL is that we are on a sort of bold sprint towards finishing the MFE-ification of edx-platform for everything except XBlock views. If that's true I don't think upgrading Paragon in edx-platform would be a wise use of engineering time. My hope is that we can leave comprehensive theming in place, relatively untouched, until the the final micro-frontend is available in the community release, at which point we deprecate it. Libsass is a bit different because (a) it'll hard-block our next Python upgrade, and (b) unlike Paragon, it's used all across our core XBlock views. I've written about React-ifying XBlock views but so far nobody has bitten at picking up that discovery. |
UPDATE: The Python upgrade no longer depends on upgrading libsass-python due to: #34439 It would still be nice to get off libsass-python, but we are "safe" to leave libsass-python pinned to its ancient 0.10.0 version for the forseeable future. |
Since we aren't going to actively pursue this in FY25, I'm going to close for now and we can reopen a ticket if/when we do pursue. |
What needs upgrading
Background
The original scope for the BD-39 project was to upgrade React and Paragon. Upgrading Paragon would involve other upgrades, including: removing edx-bootstrap, upgrading bootstrap, and upgrading libsass-python.
React was upgraded 🎉 , but the Paragon was not.
Abandoned PRs include:
The text was updated successfully, but these errors were encountered: