Skip to content

Commit fa9d112

Browse files
committed
Replace Python 3.8 with Python 3.13, with 3.14 tentatively
1 parent 0490a34 commit fa9d112

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.12"
20+
python-version: "3.13"
2121
- uses: actions/cache@v4
2222
id: pip-cache
2323
with:
@@ -51,8 +51,6 @@ jobs:
5151
strategy:
5252
matrix:
5353
include:
54-
- python: "3.8"
55-
toxenv: py38-lower_bound_deps
5654
- python: "3.9"
5755
toxenv: py39-lower_bound_deps
5856
- python: "3.10"
@@ -61,6 +59,8 @@ jobs:
6159
toxenv: py311-upper_bound_deps
6260
- python: "3.12"
6361
toxenv: py312-upper_bound_deps
62+
- python: "3.13"
63+
toxenv: py313-upper_bound_deps
6464
steps:
6565
- uses: actions/checkout@v4
6666
- uses: actions/setup-python@v5
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
# See available versions:
8383
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
84-
python-version: "3.13.0-alpha.3"
84+
python-version: "3.14.0-alpha.5"
8585
- run: pip install 'build==1.0.3' 'setuptools==75.8.0' 'beautifulsoup4>=4.4.1,<5' 'html5lib>=0.999,<2'
8686
- run: python -X dev -W error example.py
8787
- run: make build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This exporter takes the Draft.js ContentState data as input, and outputs HTML ba
3737
pip install draftjs_exporter
3838
```
3939

40-
We support the following Python versions: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13. For legacy Python versions, find compatible releases in the [CHANGELOG](https://github.com/springload/draftjs_exporter/blob/main/CHANGELOG.md).
40+
We support the following Python versions: 3.9, 3.10, 3.11, 3.12, 3.13, 3.14. For legacy Python versions, find compatible releases in the [CHANGELOG](https://github.com/springload/draftjs_exporter/blob/main/CHANGELOG.md).
4141

4242
In your code, create an exporter and use the `render` method to create HTML:
4343

docs/CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ virtualenv .venv
2222
source ./.venv/bin/activate
2323
make init
2424
# Install required Python versions
25-
pyenv install --skip-existing 3.8.5
2625
pyenv install --skip-existing 3.9.1
2726
pyenv install --skip-existing 3.10.0
2827
pyenv install --skip-existing 3.11.0
2928
pyenv install --skip-existing 3.12.1
30-
pyenv install --skip-existing 3.13.0a2
29+
pyenv install --skip-existing 3.13.2
30+
pyenv install --skip-existing 3.14.0a5
3131
# Make required Python versions available globally.
32-
pyenv global system 3.8.5 3.9.1 3.10.0 3.11.0 3.12.0 3.13.0a2
32+
pyenv global system 3.9.1 3.10.0 3.11.0 3.12.0 3.13.2 3.14.0a5
3333
```
3434

3535
### Commands

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[mypy]
22
mypy_path = ./stubs
3-
python_version = 3.8
3+
python_version = 3.9
44
# https://mypy.readthedocs.io/en/latest/config_file.html
55
#### Additional opt-in checks of mypy.
66
# Disallows usage of types that come from unfollowed imports (anything imported from an unfollowed import is automatically given a type of Any).

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
"Operating System :: OS Independent",
3333
"Programming Language :: Python",
3434
"Programming Language :: Python :: 3",
35-
"Programming Language :: Python :: 3.7",
36-
"Programming Language :: Python :: 3.8",
3735
"Programming Language :: Python :: 3.9",
3836
"Programming Language :: Python :: 3.10",
3937
"Programming Language :: Python :: 3.11",
4038
"Programming Language :: Python :: 3.12",
4139
"Programming Language :: Python :: 3.13",
40+
"Programming Language :: Python :: 3.14",
41+
# https://github.com/pypa/trove-classifiers
4242
"Topic :: Internet :: WWW/HTTP",
4343
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
4444
"Topic :: Internet :: WWW/HTTP :: Site Management",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55

66
[tox]
77
usedevelop = True
8-
envlist = py{38,39}-lower_bound_deps,py{310,311,312}-upper_bound_deps
8+
envlist = py{39}-lower_bound_deps,py{310,311,312,313}-upper_bound_deps
99

1010
[testenv]
1111
install_command = pip install {opts} {packages}
1212

1313
basepython =
14-
py38: python3.8
1514
py39: python3.9
1615
py310: python3.10
1716
py311: python3.11
1817
py312: python3.12
18+
py313: python3.13
1919

2020
deps =
2121
setuptools=75.8.0

0 commit comments

Comments
 (0)