diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9891477..87cef96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ variables: TUTOR_PLUGIN: xqueue TUTOR_IMAGES: xqueue TUTOR_PYPI_PACKAGE: tutor-xqueue - OPENEDX_RELEASE: koa + OPENEDX_RELEASE: lilac include: - project: 'community/tutor-ci' diff --git a/README.rst b/README.rst index 5520e4f..a9db174 100644 --- a/README.rst +++ b/README.rst @@ -29,10 +29,10 @@ In the Open edX studio, edit a course and add a new "Advanced blank problem" ("P # students write your program here - print "" + print("") - print "hello world" + print("hello world") {"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 -.. note:: - The queue name must be "openedx". +Note that 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. @@ -75,7 +74,7 @@ Show the first submission that should be graded:: 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": "", "return_code": 0 diff --git a/setup.py b/setup.py index 5248d72..baaf9c2 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup( packages=find_packages(exclude=["tests*"]), include_package_data=True, 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"]}, classifiers=[ "Development Status :: 3 - Alpha", diff --git a/tutorxqueue/__about__.py b/tutorxqueue/__about__.py index 4123898..0e21ac9 100644 --- a/tutorxqueue/__about__.py +++ b/tutorxqueue/__about__.py @@ -1 +1 @@ -__version__ = "11.0.2" +__version__ = "12.0.0"