Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
run: pipx run cibuildwheel==2.21.2
run: pipx run cibuildwheel==4.3.1

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
pip install babel

- name: Build wheels
uses: pypa/cibuildwheel@v3.3.1
uses: pypa/cibuildwheel@v4.3.1
env:
CIBW_BEFORE_BUILD: pip install babel && pybabel compile -d plotpy/locale -D plotpy

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_pyqt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.13", "3.14"]
python-version: ["3.9", "3.13", "3.14", "3.15"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion doc/dev/platforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The following sections describe the reference platforms for the project.

.. note::

The officially supported Python versions are 3.9, 3.10, 3.11, 3.12 and 3.13.
The officially supported Python versions are 3.9 through 3.15.

The officially supported Qt binding is PyQt5. However, efforts have been
made and will continue to be made to support PyQt6 and PySide6 as well.
Expand Down
17 changes: 17 additions & 0 deletions plotpy/tests/unit/test_python_support.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Licensed under the terms of the BSD 3-Clause
# (see plotpy/LICENSE for details)

"""Tests for supported Python versions in package metadata."""

from __future__ import annotations

from importlib.metadata import metadata

import pytest


@pytest.mark.parametrize("minor", range(9, 16))
def test_python_classifiers(minor):
"""Check that package metadata advertises every supported Python version."""
classifiers = metadata("PlotPy").get_all("Classifier")
assert f"Programming Language :: Python :: 3.{minor}" in classifiers
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
Expand Down Expand Up @@ -117,5 +118,5 @@ line-ending = "auto" # Like Black, automatically detect the appropr
convention = "google"

[tool.cibuildwheel]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*"]
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", "cp314-*", "cp315-*"]
skip = ["*-manylinux_i686", "*-musllinux*"]
Loading