Skip to content

Commit 7089691

Browse files
authored
feat: add support for Python 3.13 (#277)
1 parent 1210521 commit 7089691

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ jobs:
6464
- name: CPython 3.11
6565
runs-on: "3.11"
6666
- name: CPython 3.12
67-
runs-on: "3.12-dev"
67+
runs-on: "3.12"
68+
- name: CPython 3.13
69+
runs-on: "3.13-dev"
6870
- name: PyPy 3.9
6971
runs-on: "pypy-3.9"
7072
steps:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
See Git checking messages for full history.
44

55
## 9.0.2 (2023/xx/xx)
6+
- added support for Python 3.13
67
- leveled up the packaging using `hatchling`
78
- used `ruff` to lint the code base (#275)
89
- MSS: minor optimization when using an output file format without date (#275)

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ classifiers = [
3636
"Programming Language :: Python :: 3.10",
3737
"Programming Language :: Python :: 3.11",
3838
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.13",
3940
"Topic :: Multimedia :: Graphics :: Capture :: Screen Capture",
4041
"Topic :: Software Development :: Libraries",
4142
]
@@ -70,7 +71,7 @@ mss = "mss.__main__:main"
7071

7172
[project.optional-dependencies]
7273
test = [
73-
"numpy",
74+
"numpy ; sys_platform == 'windows' and python_version >= '3.13'",
7475
"pillow",
7576
"pytest",
7677
"pytest-cov",

0 commit comments

Comments
 (0)