Skip to content

Commit c03f993

Browse files
Merge pull request #112 from PlotPyStack/chore/drop-python39
chore: require Python 3.10 or newer
2 parents f80ff5c + b086df0 commit c03f993

8 files changed

Lines changed: 14 additions & 9 deletions

File tree

‎.github/copilot-instructions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
### Technology Stack
88

9-
- **Python**: 3.9+
9+
- **Python**: 3.10+
1010
- **Core**: NumPy (≥1.21), QtPy (≥1.9)
1111
- **GUI**: Qt via QtPy (PyQt5/PyQt6/PySide6)
1212
- **Testing**: pytest

‎.github/workflows/test-PyQt5.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ["3.9", "3.11", "3.13", "3.14"]
25+
python-version: ["3.10", "3.11", "3.13", "3.14"]
2626

2727
steps:
2828
- uses: actions/checkout@v7

‎.github/workflows/test-PyQt6.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ["3.9", "3.11", "3.13", "3.14"]
25+
python-version: ["3.10", "3.11", "3.13", "3.14"]
2626

2727
steps:
2828
- uses: actions/checkout@v7

‎.github/workflows/test-PySide6.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ["3.9", "3.11", "3.13", "3.14"]
25+
python-version: ["3.10", "3.11", "3.13", "3.14"]
2626

2727
steps:
2828
- uses: actions/checkout@v7

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# PythonQwt Releases
22

3+
## Unreleased
4+
5+
### Requirements
6+
7+
- Python 3.10 or later is now required. Python 3.9 users must keep an earlier compatible release.
8+
39
## Version 0.16.3
410

511
### New features

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Compatibility table:
100100

101101
### Requirements
102102

103-
- Python >=3.9
103+
- Python >=3.10
104104
- QtPy >= 1.9 (and a Python-to-Qt binding library, see above)
105105
- NumPy >= 1.21
106106

‎doc/installation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Dependencies
55
------------
66

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

‎pyproject.toml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ classifiers = [
2323
"Operating System :: OS Independent",
2424
"Operating System :: POSIX",
2525
"Operating System :: Unix",
26-
"Programming Language :: Python :: 3.9",
2726
"Programming Language :: Python :: 3.10",
2827
"Programming Language :: Python :: 3.11",
2928
"Programming Language :: Python :: 3.12",
3029
"Programming Language :: Python :: 3.13",
3130
"Programming Language :: Python :: 3.14",
3231
]
33-
requires-python = ">=3.9, <4"
32+
requires-python = ">=3.10, <4"
3433
dependencies = ["NumPy>=1.21", "QtPy>=1.9"]
3534
dynamic = ["version"]
3635

@@ -62,7 +61,7 @@ addopts = "qwt"
6261
exclude = [".git", ".vscode", "build", "dist","venv*",".venv*"]
6362
line-length = 88 # Same as Black.
6463
indent-width = 4 # Same as Black.
65-
target-version = "py39" # Assume Python 3.9.
64+
target-version = "py310" # Assume Python 3.10.
6665

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

0 commit comments

Comments
 (0)