Skip to content
Merged
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
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ jobs:
- name: CPython 3.12
runs-on: "3.12"
- name: CPython 3.13
runs-on: "3.13-dev"
runs-on: "3.13"
- name: CPython 3.14
runs-on: "3.14-dev"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ See Git checking messages for full history.
## 10.0.0 (2024-xx-xx)
- removed support for Python 3.8
- removed support for Python 3.9
- added support for Python 3.14
- :heart: contributors: @

## 9.0.2 (2024-09-01)
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
"Topic :: Software Development :: Libraries",
]
Expand Down Expand Up @@ -73,14 +74,13 @@ dev = [
"mypy==1.13.0",
"ruff==0.7.3",
"twine==5.1.1",
"wheel==0.45.0",
]
docs = [
"sphinx==8.1.3",
]
tests = [
"numpy==2.1.3 ; sys_platform == 'windows' and python_version >= '3.13'",
"pillow==11.0.0",
"numpy==2.1.3 ; sys_platform == 'linux' and python_version == '3.13'",
"pillow==11.0.0 ; sys_platform == 'linux' and python_version == '3.13'",
"pytest==8.3.3",
"pytest-cov==6.0.0",
"pytest-rerunfailures==14.0.0",
Expand Down
4 changes: 1 addition & 3 deletions src/tests/third_party/test_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

from mss import mss

pytest.importorskip("numpy", reason="Numpy module not available.")

import numpy as np # noqa: E402
np = pytest.importorskip("numpy", reason="Numpy module not available.")


def test_numpy(pixel_ratio: int) -> None:
Expand Down
4 changes: 1 addition & 3 deletions src/tests/third_party/test_pil.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

from mss import mss

pytest.importorskip("PIL", reason="PIL module not available.")

from PIL import Image # noqa: E402
Image = pytest.importorskip("PIL.Image", reason="PIL module not available.")


def test_pil() -> None:
Expand Down