fix: unpin numpy (#30761)

This commit is contained in:
Mohammad Ahtasham ul Hassan
2022-07-28 15:56:03 +05:00
committed by GitHub
parent 6cdc481db8
commit bd90ebde7b
3 changed files with 2 additions and 9 deletions

View File

@@ -12,10 +12,3 @@ random2 # Implementation of random module that works
scipy # Math, science, and engineering library
sympy # Symbolic math library
codejail-includes # CodeJail manages execution of untrusted code in secure sandboxes.
# numpy>=1.17.0 caused failures in importing numpy in code-jail environment.
# The issue will be investigated and fixed in https://openedx.atlassian.net/browse/BOM-2841.
numpy>=1.16.0,<1.17.0

View File

@@ -42,9 +42,8 @@ nltk==3.7
# via
# -r requirements/edx-sandbox/py38.in
# chem
numpy==1.16.6
numpy==1.22.4
# via
# -r requirements/edx-sandbox/py38.in
# chem
# matplotlib
# openedx-calc

View File

@@ -28,6 +28,7 @@ from six.moves import xrange
random = random_module.Random(%r)
random.Random = random_module.Random
random.SystemRandom = random_module.SystemRandom
sys.modules['random'] = random
"""