Upgrade to lilac

This commit is contained in:
Régis Behmo 2021-06-06 15:34:32 +02:00
parent 016ae9011e
commit f2912e69da
4 changed files with 7 additions and 8 deletions

View File

@ -2,7 +2,7 @@ variables:
TUTOR_PLUGIN: xqueue TUTOR_PLUGIN: xqueue
TUTOR_IMAGES: xqueue TUTOR_IMAGES: xqueue
TUTOR_PYPI_PACKAGE: tutor-xqueue TUTOR_PYPI_PACKAGE: tutor-xqueue
OPENEDX_RELEASE: koa OPENEDX_RELEASE: lilac
include: include:
- project: 'community/tutor-ci' - project: 'community/tutor-ci'

View File

@ -29,10 +29,10 @@ In the Open edX studio, edit a course and add a new "Advanced blank problem" ("P
<codeparam> <codeparam>
<initial_display> <initial_display>
# students write your program here # students write your program here
print "" print("")
</initial_display> </initial_display>
<answer_display> <answer_display>
print "hello world" print("hello world")
</answer_display> </answer_display>
<grader_payload> <grader_payload>
{"output": "hello world", "max_length": 2} {"output": "hello world", "max_length": 2}
@ -41,8 +41,7 @@ In the Open edX studio, edit a course and add a new "Advanced blank problem" ("P
</coderesponse> </coderesponse>
</problem> </problem>
.. note:: Note that the queue name must be "openedx".
The queue name must be "openedx".
Save and publish the created unit. Then, access the unit from the LMS and attempt to answer the problem. The answer is sent to the Xqueue service. If you know how to use the Xqueue API, you can access it at http(s)://xqueue.LMS_HOST (in production) or http://xqueue.local.overhang.io (in development). However, the Xqueue API is a bit awkward to use. Tutor provides a simple command-line interface to interact with the Xqueue service. Save and publish the created unit. Then, access the unit from the LMS and attempt to answer the problem. The answer is sent to the Xqueue service. If you know how to use the Xqueue API, you can access it at http(s)://xqueue.LMS_HOST (in production) or http://xqueue.local.overhang.io (in development). However, the Xqueue API is a bit awkward to use. Tutor provides a simple command-line interface to interact with the Xqueue service.
@ -75,7 +74,7 @@ Show the first submission that should be graded::
Grade the submission (in this case, mark it as being correct):: Grade the submission (in this case, mark it as being correct)::
$ tutor xqueue submissions grade 1 692c2896cdfc8bdc2d073bc3b3daf928 0.9 true "Good job\!" $ tutor xqueue submissions grade 1 692c2896cdfc8bdc2d073bc3b3daf928 0.9 true "Good job!"
{ {
"content": "", "content": "",
"return_code": 0 "return_code": 0

View File

@ -32,7 +32,7 @@ setup(
packages=find_packages(exclude=["tests*"]), packages=find_packages(exclude=["tests*"]),
include_package_data=True, include_package_data=True,
python_requires=">=3.5", python_requires=">=3.5",
install_requires=["tutor-openedx>=11.0.0,<12.0.0", "requests"], install_requires=["tutor-openedx>=12.0.0,<13.0.0", "requests"],
entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]}, entry_points={"tutor.plugin.v0": ["xqueue = tutorxqueue.plugin"]},
classifiers=[ classifiers=[
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",

View File

@ -1 +1 @@
__version__ = "11.0.2" __version__ = "12.0.0"