Skip to content

Commit 65ab8c4

Browse files
committed
Add support for python 3.12
1 parent cb93c53 commit 65ab8c4

4 files changed

Lines changed: 193 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu, windows, macos-x86_64, macos-arm64]
23-
python-version: ["3.8", "3.9", "3.10", "3.11"]
23+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2424
qt-version: ["pyside2", "pyside6", "pyqt5", "pyqt6"]
2525
include:
2626
- os: ubuntu
@@ -38,6 +38,8 @@ jobs:
3838
# pyside2 requires python <3.11
3939
- python-version: "3.11"
4040
qt-version: pyside2
41+
- python-version: "3.12"
42+
qt-version: pyside2
4143
# pyside6 and pyqt6 require python >=3.9
4244
- python-version: "3.8"
4345
qt-version: pyside6

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ More detailed examples can be found [here](https://github.com/CabbageDevelopment
6969

7070
## Requirements
7171

72-
- Python >= 3.8
72+
- Python >=3.8, <3.13
7373
- PyQt5/PyQt6 or PySide2/PySide6
7474

7575
`qasync` is tested on Ubuntu, Windows and MacOS.

poetry.lock

Lines changed: 176 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,24 @@ classifiers = [
2929
]
3030

3131
[tool.poetry.dependencies]
32-
python = ">=3.8, <3.12"
32+
python = ">=3.8, <3.13"
3333

3434
[tool.poetry.group.dev.dependencies]
3535
pre-commit = "^2.21"
3636

3737
[tool.poetry.group.test.dependencies]
38-
pytest = "^7.4"
39-
pytest-cov = "^4.1"
40-
pytest-xdist = { version = "^3.3", extras = ["psutil"] }
38+
pytest = [
39+
{ version = "^7.4", python = "<3.9" },
40+
{ version = "^8.4", python = ">=3.9" },
41+
]
42+
pytest-cov = [
43+
{ version = "^4.1", python = "<3.9" },
44+
{ version = "^6.2", python = ">=3.9" },
45+
]
46+
pytest-xdist = [
47+
{ version = "^3.3", extras = [ "psutil", ], python = "<3.9" },
48+
{ version = "^3.8", extras = [ "psutil", ], python = ">=3.9" },
49+
]
4150

4251
[tool.poetry.group.typing.dependencies]
4352
mypy = ">=1.0"

0 commit comments

Comments
 (0)