Skip to content

Commit

Permalink
Update Python version support to drop 3.8 and add 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Nov 6, 2024
1 parent 534b469 commit 5e9b631
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-PyQt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11", "3.12"]
python-version: ["3.9", "3.11", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-PyQt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11", "3.12"]
python-version: ["3.9", "3.11", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-PySide6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11", "3.12"]
python-version: ["3.9", "3.11", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# PythonQwt Releases

## Version 0.14.0

- Dropped support for Python 3.8

## Version 0.12.7

- Fixed random crashes (segfaults) on Linux related to conflicts between Qt and Python reference counting mechanisms:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ See "Overview" section in [documentation](https://pythonqwt.readthedocs.io/en/la
The `qwt` package short-term roadmap is the following:

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

Expand All @@ -98,7 +98,7 @@ Compatibility table:

### Requirements

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

Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Dependencies
------------

Requirements:
* Python 3.8 or higher
* Python 3.9 or higher
* PyQt5 5.15, PyQt6 or PySide6
* QtPy 1.9 or higher
* NumPy 1.21 or higher
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ classifiers = [
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8, <4"
dependencies = ["NumPy>=1.21", "QtPy>=1.9"]
requires-python = ">=3.9, <4"
dependencies = ["NumPy>=1.19", "QtPy>=1.9"]
dynamic = ["version"]

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

[tool.ruff.lint]
# all rules can be found here: https://beta.ruff.rs/docs/rules/
Expand Down
2 changes: 1 addition & 1 deletion qwt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
from qwt.text import QwtText # noqa: F401
from qwt.toqimage import array_to_qimage as toQImage # noqa: F401

__version__ = "0.12.7"
__version__ = "0.14.0"
QWT_VERSION_STR = "6.1.5"


Expand Down

0 comments on commit 5e9b631

Please sign in to comment.