refactor: move common/lib/capa/capa to xmodule/capa#30403
refactor: move common/lib/capa/capa to xmodule/capa#30403iamsobanjaved merged 1 commit intomasterfrom
Conversation
474a866 to
8708398
Compare
1042e67 to
920676c
Compare
requirements/edx/base.txt
Outdated
| -e git+https://github.com/edx/django-wiki.git@1.1.0#egg=django-wiki | ||
| # via -r requirements/edx/github.in | ||
| -e git+https://github.com/jazkarta/edx-jsme.git@690dbf75441fa91c7c4899df0b83d77f7deb5458#egg=edx-jsme | ||
| -e git+https://github.com/iamsobanjaved/edx-jsme.git@c657f4d29f9082fbfd63490f415af00ec5556ecd#egg=edx-jsme |
There was a problem hiding this comment.
whats a reason for this change ?
There was a problem hiding this comment.
iamsobanjaved/edx-jsme@c657f4d
thats the new commit hash with new changes.
There was a problem hiding this comment.
Looking good so far. I am on vacation starting tomorrow until July 6 so don't wait for my approval on this one.
I hope you're able to get a quick review from Jazkarta on the edx-jsme PR. If you end up being blocked by that for a while, one workaround is to add back in temporary support for certain instances of import capa using compatibility modules like this one. You would need to make a new top-level capa directory, containing compatibility modules to match the ones that edx-jsme needs: capa/inputtypes.py, capa/responsetypes.py, and capa/correctmap.py. Hopefully, though, that won't be necessary....
|
Good news @iamsobanjaved : the edx-jsme dependency was just removed from edx-platform entirely: #30321. So that is not a blocker any more. |
920676c to
1cd7453
Compare
kdmccormick
left a comment
There was a problem hiding this comment.
Nice. I tested this in Tutor and it seems to work great.
A couple requests:
- The docs build is currently failing because there are still references to common/lib/capa. Please search for and fix any remaining references to that folder, making sure that the docs build succeeds.
- You can build the docs by entering an LMS shell, running
pip install -r requirements/edx/doc.txt, and then runningmake docs.
- You can build the docs by entering an LMS shell, running
- Before merging please add details in your commit message, as well as a link to the public (openedx.atlassian.net) version of the ticket.
I've fixed the CI build by removing common-3 from the list of required checks.
|
@kdmccormick i am facing same logs for my branch as of master branch ending with this
Complete traceback: https://gist.github.com/iamsobanjaved/67874e03a90df2c317e00464123d94c4 |
|
@iamsobanjaved I think you either have old requirements installed or old Python code cached, from before the Discussion block was moved. Try restarting devstack and/or pulling new images. If that doesn't work, you could try running: and then build the docs again. |
As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory. We have fixed all the occurences of import of this package and also fixed all documents related references. This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock. Ref: https://openedx.atlassian.net/browse/BOM-2582
1cd7453 to
9eba9f9
Compare
|
@kdmccormick thanks, i was able to reproduce the failure locally and fixed that. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
As part of the migration of common/lib packages, we are migrating this within
xmoduledirectory.Related PRs: jazkarta/edx-jsme#8