Skip to content

Commit 81bbeaa

Browse files
committed
fix: Update more mentions of Python 3.11
And add back and comment the old 3.11 tests for when we drop future major dependencies.
1 parent 0455359 commit 81bbeaa

6 files changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,17 @@ jobs:
5555
# out when not in use to easily add/drop future support for any given major dependency.
5656
#
5757
# We're testing the older version of Ubuntu and running the xmodule tests since those rely on many
58-
# dependent complex libraries and will hopefully catch most issues quickly.
58+
# include:
59+
# - shard_name: "xmodule-with-cms"
60+
# python-version: "3.12"
61+
# django-version: "pinned"
62+
# mongo-version: "7.0"
63+
# os-version: "ubuntu-24.04"
64+
# - shard_name: "xmodule-with-lms"
65+
# python-version: "3.12"
66+
# django-version: "pinned"
67+
# mongo-version: "7.0"
68+
# os-version: "ubuntu-24.04" # dependent complex libraries and will hopefully catch most issues quickly.
5969
steps:
6070
- name: checkout repo
6171
uses: actions/checkout@v6

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: "ubuntu-lts-latest"
55
tools:
6-
python: "3.11"
6+
python: "3.12"
77

88
sphinx:
99
configuration: docs/conf.py

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ OS:
7878

7979
Interpreters/Tools:
8080

81-
* Python 3.11 or 3.12
81+
* Python 3.12
8282

8383
* Node: See the ``.nvmrc`` file in this repository.
8484

scripts/structures_pruning/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Structures Pruning Scripts
22
==========================
33

4-
`This <https://github.com/openedx/edx-platform/tree/master/scripts/structures_pruning>`_ directory contains mongo db structures pruning script that is migrated from the
4+
`This <https://github.com/openedx/edx-platform/tree/master/scripts/structures_pruning>`_ directory contains mongo db structures pruning script that is migrated from the
55
`tubular <https://github.com/openedx/tubular>`_ repository.
66

77

@@ -29,11 +29,11 @@ To download the scripts, you can perform a partial clone of the edx-platform rep
2929
Create Python Virtual Environment
3030
---------------------------------
3131

32-
Create a Python virtual environment using Python 3.11:
32+
Create a Python virtual environment using Python 3.12:
3333

3434
.. code-block:: bash
3535
36-
python3.11 -m venv ../venv
36+
python3.12 -m venv ../venv
3737
source ../venv/bin/activate
3838
3939
Install Pip Packages

scripts/user_retirement/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ To download the scripts, you can perform a partial clone of the edx-platform rep
2828
Create Python Virtual Environment
2929
---------------------------------
3030

31-
Create a Python virtual environment using Python 3.11:
31+
Create a Python virtual environment using Python 3.12:
3232

3333
.. code-block:: bash
3434
35-
python3.11 -m venv ../venv
35+
python3.12 -m venv ../venv
3636
source ../venv/bin/activate
3737
3838
Install Pip Packages

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{311} quality
2+
envlist = py{312} quality
33

44
# This is needed to prevent the lms, cms, and openedx packages inside the "Open
55
# edX" package (defined in pyproject.toml) from getting installed into site-packages

0 commit comments

Comments
 (0)