-
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
Remove symmath from edx-platform #29869
Conversation
8aa03e9
to
fbb00dc
Compare
8743c0f
to
3c8b3b2
Compare
Cool! Could you drop a note in https://openedx.atlassian.net/browse/BOM-2581 once this is merged so we can close it out? There are more tasks like this in that ticket's parent epic if you want to keep going. ^_^ Oh, and there's a new pip-tools release that should resolve the issue you noted: https://github.com/jazzband/pip-tools/releases/tag/6.5.0 |
2bee665
to
72da685
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.
Did you test this out manually? The ## Test instructions
section of the PR description is a great place to communicate whether & how you manually verified that your code works -- sometimes I use it less as "test instructions" and more as "test explanation".
2b10b1b
to
eb95153
Compare
Code looks good! Only blocker for me is this question: #29869 (review) |
The code has been tested:
|
@Carlos-Muniz Could you go into LMS/Studio and confirm that a symbolic math problem renders and can be responded to? |
f3c7861
to
ffbfe19
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.
Pending tests, looks good to me 👍🏻
This allows common/lib/capa/capa/responsetypes.py to not have to change.
scripts/post-pip-compile.sh uses common/lib/symmath/ as its sample directory to clean up after using pip-tools. Since symmath has been removed, xmodule, the largest of the directories in common/lib/ will replace it.
ffbfe19
to
d5a41ec
Compare
Closes openedx/axim-engineering#65 |
@Carlos-Muniz @kdmccormick I can't figure out why, but something in this broke the edxapp build on GoCD. This is the ansible output where it's failing. We may need to revert this. `TASK [edxapp : code sandbox | Install base sandbox requirements and create sandbox virtualenv] *** MSG: stdout: Looking in indexes: https://pypi.python.org/simple :stderr: ERROR: Command errored out with exit status 1: |
@jdmulloy weird! This is totally safe to revert if needed -- no data migrations or anything. @Carlos-Muniz and I can take a look at a fix tomorrow. |
Thanks, @kdmccormick, @Carlos-Muniz! Reverting now to see if we can get a green build. |
This line in the logs jumped out at me:
Seems like something changed with Lo and behold: https://github.com/openedx/edx-platform/pull/29869/files#diff-b637ba9a442d8914ab88f5231e76fa60adc6d862fc13fdcaff4bb27329edd4beL7-R7. Notice the additional |
Great catch @kdmccormick! |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR may have caused e2e tests to fail on Stage. If you're a member of the edX org, please visit #e2e-troubleshooting on Slack to help diagnose the cause of these failures. Otherwise, it is the reviewer's responsibility. E2E tests have failed. https://gocd.tools.edx.org/go/tab/pipeline/history/deploy_to_stage |
EdX Release Notice: This PR has been deployed to the production environment. |
Description
This PR removes
symmath
fromcommon/lib/
, all removable mentions ofsymmath
withinedx-platform
and upgrades the requirements to no longer use a non-existent symmath.This is the second part of BOM-2581.
Symmath has been added to openedx-calc alongside calc in openedx-calc PR #38.
Testing Instructions
The code has been tested:
openedx-calc
was checked to be3.0.1
, and thatsymmath
was not incommon/lib/
Additional information
There is an issue with pip-tools using pip version >=22.0.0. Pip is currently constrained to <20.3.4, and so this shouldn't be an issue, but this may still be an issue.
There is currently an issue with the package m2r, which was causing make upgrade to fail. The dependency mistune has been constrained to <2.0.0 in order for everything to work as it once did.
In the near future, these may be fixed.