Skip to content

Commit 5e9b631

Browse files
committed
Update Python version support to drop 3.8 and add 3.13
1 parent 534b469 commit 5e9b631

8 files changed

+15
-11
lines changed

.github/workflows/test-PyQt5.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.8", "3.11", "3.12"]
24+
python-version: ["3.9", "3.11", "3.13"]
2525

2626
steps:
2727
- uses: actions/checkout@v3

.github/workflows/test-PyQt6.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.8", "3.11", "3.12"]
24+
python-version: ["3.9", "3.11", "3.13"]
2525

2626
steps:
2727
- uses: actions/checkout@v3

.github/workflows/test-PySide6.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.8", "3.11", "3.12"]
24+
python-version: ["3.9", "3.11", "3.13"]
2525

2626
steps:
2727
- uses: actions/checkout@v3

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PythonQwt Releases
22

3+
## Version 0.14.0
4+
5+
- Dropped support for Python 3.8
6+
37
## Version 0.12.7
48

59
- Fixed random crashes (segfaults) on Linux related to conflicts between Qt and Python reference counting mechanisms:

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ See "Overview" section in [documentation](https://pythonqwt.readthedocs.io/en/la
7979
The `qwt` package short-term roadmap is the following:
8080

8181
- [X] Drop support for PyQt4 and PySide2
82-
- [X] Drop support for Python < 3.8
82+
- [X] Drop support for Python <= 3.8
8383
- [X] Replace `setup.py` by `pyproject.toml`, using `setuptools` (e.g. see `guidata`)
8484
- [ ] Add more unit tests: the ultimate goal is to reach 90% code coverage
8585

@@ -98,7 +98,7 @@ Compatibility table:
9898

9999
### Requirements
100100

101-
- Python >=3.8
101+
- Python >=3.9
102102
- QtPy >= 1.3 (and a Python-to-Qt binding library, see above)
103103
- NumPy >= 1.5
104104

doc/installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Dependencies
55
------------
66

77
Requirements:
8-
* Python 3.8 or higher
8+
* Python 3.9 or higher
99
* PyQt5 5.15, PyQt6 or PySide6
1010
* QtPy 1.9 or higher
1111
* NumPy 1.21 or higher

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ classifiers = [
2424
"Operating System :: OS Independent",
2525
"Operating System :: POSIX",
2626
"Operating System :: Unix",
27-
"Programming Language :: Python :: 3.8",
2827
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
3130
"Programming Language :: Python :: 3.12",
31+
"Programming Language :: Python :: 3.13",
3232
]
33-
requires-python = ">=3.8, <4"
34-
dependencies = ["NumPy>=1.21", "QtPy>=1.9"]
33+
requires-python = ">=3.9, <4"
34+
dependencies = ["NumPy>=1.19", "QtPy>=1.9"]
3535
dynamic = ["version"]
3636

3737
[project.urls]
@@ -62,7 +62,7 @@ addopts = "qwt"
6262
exclude = [".git", ".vscode", "build", "dist"]
6363
line-length = 88 # Same as Black.
6464
indent-width = 4 # Same as Black.
65-
target-version = "py38" # Assume Python 3.8
65+
target-version = "py39" # Assume Python 3.9.
6666

6767
[tool.ruff.lint]
6868
# all rules can be found here: https://beta.ruff.rs/docs/rules/

qwt/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
from qwt.text import QwtText # noqa: F401
5656
from qwt.toqimage import array_to_qimage as toQImage # noqa: F401
5757

58-
__version__ = "0.12.7"
58+
__version__ = "0.14.0"
5959
QWT_VERSION_STR = "6.1.5"
6060

6161

0 commit comments

Comments
 (0)