Otter-grader

Latest version: v6.1.2

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 17

5.2.1

* Fixed an `AttributeError` when using OK tests from notebook metadata per [743](https://github.com/ucbds-infra/otter-grader/issues/743)

5.2.0

* Migrate installation of `ottr` from `setup.sh` to `environment.yml` with the [`r-ottr` conda-forge recipe](https://anaconda.org/conda-forge/r-ottr)
* Updated Otter Assign to allow multiline statements in test cases for Python 3.9+ per [590](https://github.com/ucbds-infra/otter-grader/issues/590)
* Added `otter_include` tag to allow inclusion of tagged markdown cells within the solution block into the student notebook per [730](https://github.com/ucbds-infra/otter-grader/issues/730)
* Removed dependency on `nbconvert` during import so that Otter can be imported on Jupyterlite per [736](https://github.com/ucbds-infra/otter-grader/issues/736)

5.1.4

* Prevented the `Notebook` class from attempting to resolve the notebook path when in grading mode
* Gracefully handle a failure in reading the results pickle file by returning results indicating that such a failure has occurred per [723](https://github.com/ucbds-infra/otter-grader/issues/723)
* Use `tempfile.mkstemp` instead of `tempfile.NamedTemporaryFile` for the results pickle file used during notebook execution per [723issuecomment-1710689536](https://github.com/ucbds-infra/otter-grader/issues/723#issuecomment-1710689536)

5.1.3

* Fixed bug in submission zip download link per [719](https://github.com/ucbds-infra/otter-grader/issues/719)

5.1.2

* Enabled the use of custom Jupyter kernels by enforcing the use of the `python3` kernel inside Otter grading containers per [706](https://github.com/ucbds-infra/otter-grader/issues/706)
* Fixed a bug that was preventing Otter from exiting when an error was thrown during notebook execution caused by the log capturing solution per [707](https://github.com/ucbds-infra/otter-grader/issues/707)
* Updated PDF upload logic to surface error statuses returned by the Gradescope API

5.1.1

* Fixed a bug in attempting to read the users from the submission metadata when validating the autograder notebook in Otter Assign per [695](https://github.com/ucbds-infra/otter-grader/issues/695)
* Added `__getstate__` to `test_case` to fix pickling bug for exception style tests per [696](https://github.com/ucbds-infra/otter-grader/issues/696)
* Added back remove cell ID patch to Otter Assign for notebooks with nbformat version < 4.5 per [701](https://github.com/ucbds-infra/otter-grader/issues/701)

Page 4 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.