Skip to content

Remove direct dependencies on numpy/scipy in edx-platform #35962

Open

Description

@ormsbee

We still use them in openedx-calc (for now) and openedx-chem (for now), but there are places in edx-platform where we can substitute our current usage with Python stdlib calls, such as:

https://github.com/openedx/edx-platform/blob/25536bbc3619ca15897f2405e94f5ef6814e6018/cms/djangoapps/contentstore/api/views/course_quality.py#L270-L276

The long term goal would be to isolate numpy/scipy to just the parts of the XBlocks that need them (and possibly isolate them to just the codejailed execution environment). This would reduce memory usage and make upgrades less painful.

We have to be really careful if we're touching anything related to grading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions