Skip to content

Commit b684f05

Browse files
committed
poetry: support Python 3.10
Bleak 0.13 adds support for Python 3.10 (and fixes major memory leak on Windows). Limiting Python version to <3.11 might also help speed up poetry update according to some comments in python-poetry/poetry#2094.
1 parent af3281d commit b684f05

File tree

3 files changed

+29
-53
lines changed

3 files changed

+29
-53
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Added
10+
- Added support for Python 3.10.
11+
912
### Fixed
1013
- Fixed `tqdm` dependency version.
1114

poetry.lock

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

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,15 @@ pybricksdev = 'pybricksdev.cli:main'
3131
aioserial = "^1.3.0"
3232
argcomplete = "^1.11.1"
3333
asyncssh = "^2.2.1"
34-
bleak = "^0.12.1"
34+
bleak = "^0.13.0"
3535
mpy-cross = "1.14"
36-
python = "^3.8"
36+
python = ">=3.8,<3.11"
3737
tqdm = "^4.62.3"
3838
validators = "^0.18.2"
3939
pyusb = "^1.0.2"
4040
semver = "^2.13.0"
4141
appdirs = "^1.4.4"
4242
prompt-toolkit = "^3.0.18"
43-
winrt = {version = "^1.0.21033", platform = "win32"}
4443

4544
[tool.poetry.dev-dependencies]
4645
black = {version = "^21.5b1", allow-prereleases = true}

0 commit comments

Comments
 (0)