Skip to content

Commit 4c4c3d3

Browse files
authored
Merge pull request #896 from openedx/feanil/drop_python_3.11
chore: drop Python 3.11 support
2 parents ae2589b + 96aa3f6 commit 4c4c3d3

16 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ['3.11', '3.12']
17+
python-version: ['3.12']
1818
toxenv: [quality, django42, django52]
1919

2020
steps:
@@ -34,7 +34,7 @@ jobs:
3434
run: tox -e ${{ matrix.toxenv }}
3535

3636
- name: Run Coverage
37-
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
37+
if: matrix.python-version == '3.12' && matrix.toxenv == 'django42'
3838
uses: codecov/codecov-action@v5
3939
with:
4040
flags: unittests

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: setup python
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.11
18+
python-version: 3.12
1919

2020
- name: Install pip
2121
run: pip install wheel setuptools

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ formats:
1919
build:
2020
os: "ubuntu-lts-latest"
2121
tools:
22-
python: "3.11"
22+
python: "3.12"
2323

2424
# Optionally set the version of Python and requirements required to build your docs
2525
python:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ the same name as the repo and activate it:
5050
.. code-block:: bash
5151
5252
cd XBlock
53-
mkvirtualenv -p python3.11 XBlock
53+
mkvirtualenv -p python3.12 XBlock
5454
5555
Every time you develop something in this repo
5656
---------------------------------------------

docs/xblock-tutorial/getting_started/prereqs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ To build an XBlock, you must have the following tools on your computer.
1212

1313

1414
***********
15-
Python 3.11
15+
Python 3.12
1616
***********
1717

1818
To run the a virtual environment and the XBlock SDK, and to build an XBlock,
19-
you must have Python 3.11 installed on your computer.
19+
you must have Python 3.12 installed on your computer.
2020

2121
`Download Python`_ for your operating system and follow the installation
2222
instructions.
@@ -48,7 +48,7 @@ applications you might need.
4848
The instructions and examples in this tutorial use `VirtualEnv`_ and
4949
`VirtualEnvWrapper`_ to build XBlocks. You can also use `PyEnv`_.
5050

51-
After you have installed Python 3.11, follow the `VirtualEnv Installation`_
51+
After you have installed Python 3.12, follow the `VirtualEnv Installation`_
5252
instructions.
5353

5454
For information on creating the virtual environment for your XBlock, see

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade

requirements/ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade

requirements/django.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade

requirements/doc.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -126,7 +126,7 @@ snowballstemmer==3.0.1
126126
# via sphinx
127127
soupsieve==2.8.3
128128
# via beautifulsoup4
129-
sphinx==9.0.4
129+
sphinx==9.1.0
130130
# via
131131
# -r requirements/doc.in
132132
# pydata-sphinx-theme

0 commit comments

Comments
 (0)