Skip to content

Commit db47456

Browse files
committed
feat!: drop support for python 3.8
1 parent 90c9d2c commit db47456

File tree

9 files changed

+20
-14
lines changed

9 files changed

+20
-14
lines changed

.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.8', '3.11', '3.12']
17+
python-version: ['3.11', '3.12']
1818
toxenv: [quality, django42]
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.8' && matrix.toxenv == 'django42'
37+
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
3838
uses: codecov/codecov-action@v4
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@v2
1717
with:
18-
python-version: 3.8
18+
python-version: 3.11
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-22.04"
2121
tools:
22-
python: "3.8"
22+
python: "3.11"
2323

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

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ Change history for XBlock
55
Unreleased
66
----------
77

8+
5.0.0 - 2024-05-30
9+
------------------
10+
11+
* dropped python 3.8 support
12+
* transitioned from deprecated pkg_resources lib to importlib-resources
13+
14+
815
4.1.0 - 2024-05-16
916
------------------
1017

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ One Time Setup
4545
cd XBlock
4646
4747
# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
48-
mkvirtualenv -p python3.8 XBlock
48+
mkvirtualenv -p python3.11 XBlock
4949
5050
Every time you develop something in this repo
5151
---------------------------------------------

docs/xblock-tutorial/getting_started/prereqs.rst

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

1313

14-
**********
15-
Python 3.8
16-
**********
14+
***********
15+
Python 3.11
16+
***********
1717

1818
To run the a virtual environment and the XBlock SDK, and to build an XBlock,
19-
you must have Python 3.8 installed on your computer.
19+
you must have Python 3.1 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.8, follow the `VirtualEnv Installation`_
51+
After you have installed Python 3.11, follow the `VirtualEnv Installation`_
5252
instructions.
5353

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

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def get_version(*file_paths):
7373
'License :: OSI Approved :: Apache Software License',
7474
'Natural Language :: English',
7575
"Programming Language :: Python :: 3",
76-
"Programming Language :: Python :: 3.8",
7776
"Programming Language :: Python :: 3.11",
7877
"Programming Language :: Python :: 3.12",
7978
]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,311,312}-django{42}, quality, docs
2+
envlist = py{311,312}-django{42}, quality, docs
33

44
[pytest]
55
DJANGO_SETTINGS_MODULE = xblock.test.settings
@@ -22,7 +22,7 @@ allowlist_externals =
2222

2323
[testenv:docs]
2424
basepython =
25-
python3.8
25+
python3.11
2626
changedir =
2727
{toxinidir}/docs
2828
deps =

xblock/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
XBlock Courseware Components
33
"""
44

5-
__version__ = '4.1.1'
5+
__version__ = '5.0.0'

0 commit comments

Comments
 (0)