openedx / openedx/openedx-platform

Remove direct dependencies on numpy/scipy in edx-platform

Open
#35,962 0 comments 0 reactions 1 assignee View on GitHub

@ormsbee is already working on this.

Since Dec 4, 2024.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.