diff --git a/.github/workflows/test-PyQt5.yml b/.github/workflows/test-PyQt5.yml index fc7338d..fc855b6 100644 --- a/.github/workflows/test-PyQt5.yml +++ b/.github/workflows/test-PyQt5.yml @@ -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 diff --git a/.github/workflows/test-PyQt6.yml b/.github/workflows/test-PyQt6.yml index bc78e45..504e217 100644 --- a/.github/workflows/test-PyQt6.yml +++ b/.github/workflows/test-PyQt6.yml @@ -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 diff --git a/.github/workflows/test-PySide6.yml b/.github/workflows/test-PySide6.yml index a370e44..01cdf8b 100644 --- a/.github/workflows/test-PySide6.yml +++ b/.github/workflows/test-PySide6.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index afa6de4..189f124 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/README.md b/README.md index f28c528..aa32603 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/doc/installation.rst b/doc/installation.rst index 6466e4b..3bca5f5 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 3cd98ec..4c9005a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] @@ -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/ diff --git a/qwt/__init__.py b/qwt/__init__.py index bd13c5f..58b73ae 100644 --- a/qwt/__init__.py +++ b/qwt/__init__.py @@ -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"