Skip to content

Update the AskSage method.#1399

Open
drgrice1 wants to merge 1 commit intoopenwebwork:PG-2.21from
drgrice1:asksage-update
Open

Update the AskSage method.#1399
drgrice1 wants to merge 1 commit intoopenwebwork:PG-2.21from
drgrice1:asksage-update

Conversation

@drgrice1
Copy link
Copy Markdown
Member

The code that is submitted via the AskSage method no longer works with the newer versions of Sage and needs to be updated.

Also the public Sage cell server at https://sagecell.sagemath.org/service no longer accepts public code via its service endpoint. So make the URL for a sagecell server configurable.

Files for building a sagecell server and deploying it via docker have been added in the fsagecell-docker directory. Instructions for doing so are in the sagecell-docker/README.md file.

Remove the accepted_tos parameter from the AskSage call. Just add the parameter internally, and stop requiring that the author do so. It is a meaningless gesture to force the author to do so. Furthermore, the docker build is set to not require that parameter.

Also make it so that the AskSage method can be called without passing any arguments, since there are now none that are required.

The code that is submitted via the AskSage method no longer works with
the newer versions of Sage and needs to be updated.

Also the public Sage cell server at https://sagecell.sagemath.org/service
no longer accepts public code via its `service` endpoint.  So make the
URL for a sagecell server configurable.

Files for building a sagecell server and deploying it via docker have
been added in the `fsagecell-docker` directory. Instructions for doing
so are in the `sagecell-docker/README.md` file.

Remove the `accepted_tos` parameter from the `AskSage` call.  Just add
the parameter internally, and stop requiring that the author do so.  It
is a meaningless gesture to force the author to do so.  Furthermore, the
docker build is set to not require that parameter.

Also make it so that the `AskSage` method can be called without passing
any arguments, since there are now none that are required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant