Skip to content

Commit

Permalink
Merge pull request #34788 from openedx/feanil/python311_reqs
Browse files Browse the repository at this point in the history
feanil/python311 reqs
  • Loading branch information
Feanil Patel authored Jun 11, 2024
2 parents 17d3e66 + 623061f commit 0b45e99
Show file tree
Hide file tree
Showing 21 changed files with 315 additions and 523 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-consistent-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-python@v5
if: ${{ env.RELEVANT == 'true' }}
with:
python-version: "3.8"
python-version: '3.11'

- name: "Recompile requirements"
if: ${{ env.RELEVANT == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.11"

- name: Run make compile-requirements
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.11"

- name: Update any pinned dependencies
env:
Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/api/views/course_quality.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,5 @@ def _stats_dict(self, data): # lint-amnesty, pylint: disable=missing-function-d
max=max(data),
mean=np.around(np.mean(data)),
median=np.around(np.median(data)),
mode=stats.mode(data, axis=None)[0][0],
mode=stats.mode(data, axis=None)[0],
)
26 changes: 11 additions & 15 deletions requirements/edx-sandbox/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
Expand All @@ -14,15 +14,13 @@ click==8.1.6
# nltk
codejail-includes==1.0.0
# via -r requirements/edx-sandbox/base.in
contourpy==1.1.1
contourpy==1.2.1
# via matplotlib
cryptography==42.0.7
cryptography==42.0.8
# via -r requirements/edx-sandbox/base.in
cycler==0.12.1
# via matplotlib
fonttools==4.51.0
# via matplotlib
importlib-resources==6.4.0
fonttools==4.53.0
# via matplotlib
joblib==1.4.2
# via nltk
Expand All @@ -37,17 +35,17 @@ markupsafe==2.1.5
# via
# chem
# openedx-calc
matplotlib==3.7.5
matplotlib==3.9.0
# via -r requirements/edx-sandbox/base.in
mpmath==1.3.0
# via sympy
networkx==3.1
networkx==3.3
# via -r requirements/edx-sandbox/base.in
nltk==3.8.1
# via
# -r requirements/edx-sandbox/base.in
# chem
numpy==1.24.4
numpy==1.26.4
# via
# chem
# contourpy
Expand All @@ -56,7 +54,7 @@ numpy==1.24.4
# scipy
openedx-calc==3.1.0
# via -r requirements/edx-sandbox/base.in
packaging==24.0
packaging==24.1
# via matplotlib
pillow==10.3.0
# via matplotlib
Expand All @@ -72,9 +70,9 @@ python-dateutil==2.9.0.post0
# via matplotlib
random2==1.0.2
# via -r requirements/edx-sandbox/base.in
regex==2024.5.10
regex==2024.5.15
# via nltk
scipy==1.10.1
scipy==1.13.1
# via
# -r requirements/edx-sandbox/base.in
# chem
Expand All @@ -83,11 +81,9 @@ six==1.16.0
# via
# codejail-includes
# python-dateutil
sympy==1.12
sympy==1.12.1
# via
# -r requirements/edx-sandbox/base.in
# openedx-calc
tqdm==4.66.4
# via nltk
zipp==3.18.1
# via importlib-resources
7 changes: 2 additions & 5 deletions requirements/edx/assets.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# make upgrade
Expand All @@ -12,10 +12,7 @@ libsass==0.10.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/assets.in
nodeenv==1.8.0
nodeenv==1.9.1
# via -r requirements/edx/assets.in
six==1.16.0
# via libsass

# The following packages are considered to be unsafe in a requirements file:
# setuptools
Loading

0 comments on commit 0b45e99

Please sign in to comment.