Skip to content

Commit 14b7d31

Browse files
committed
pyproject: relax version constraints
Poetry pins major versions by default, but this causes problems for consumers when version constraints can't be resolved. Use >= instead of ^. Fixes: #106 References: https://github.com/zanieb/poetry-relax?tab=readme-ov-file#references
1 parent 190746a commit 14b7d31

File tree

3 files changed

+35
-30
lines changed

3 files changed

+35
-30
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
### Fixed
10+
- Relax version constraints. ([pybricksdev#106])
11+
12+
[pybricksdev#106]: https://github.com/pybricks/pybricksdev/issues/106
13+
914
## [1.0.0] - 2024-11-29
1015

1116
### Added

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -28,45 +28,45 @@ include = [
2828
pybricksdev = 'pybricksdev.cli:main'
2929

3030
[tool.poetry.dependencies]
31-
aioserial = "^1.3.0"
32-
argcomplete = "^1.11.1"
33-
asyncssh = "^2.2.1"
34-
bleak = "^0.22.0"
35-
mpy-cross-v5 = "^1.0.0"
31+
aioserial = ">=1.3.0"
32+
argcomplete = ">=1.11.1"
33+
asyncssh = ">=2.2.1"
34+
bleak = ">=0.22.0"
35+
mpy-cross-v5 = ">=1.0.0"
3636
python = ">=3.10,<3.14"
37-
tqdm = "^4.62.3"
38-
pyusb = "^1.0.2"
39-
semver = "^2.13.0"
40-
appdirs = "^1.4.4"
41-
prompt-toolkit = "^3.0.18"
42-
mpy-cross-v6 = "^1.0.0"
43-
packaging = "^22"
44-
typing-extensions = "^4.3.0"
45-
reactivex = "^4.0.4"
46-
hidapi = "^0.14.0"
37+
tqdm = ">=4.62.3"
38+
pyusb = ">=1.0.2"
39+
semver = ">=2.13.0"
40+
appdirs = ">=1.4.4"
41+
prompt-toolkit = ">=3.0.18"
42+
mpy-cross-v6 = ">=1.0.0"
43+
packaging = ">=22"
44+
typing-extensions = ">=4.3.0"
45+
reactivex = ">=4.0.4"
46+
hidapi = ">=0.14.0"
4747

4848
[tool.poetry.group.notebook.dependencies]
49-
ipykernel = "^5.3.1"
50-
ipywidgets = "^7.6.3"
51-
nbstripout = "^0.3.8"
52-
notebook = "^6.0.3"
53-
pybricks = {version = "^3", allow-prereleases = true}
49+
ipykernel = ">=5.3.1"
50+
ipywidgets = ">=7.6.3"
51+
nbstripout = ">=0.3.8"
52+
notebook = ">=6.0.3"
53+
pybricks = {version = ">=3", allow-prereleases = true}
5454

5555
[tool.poetry.group.lint.dependencies]
5656
black = ">=23,<25"
57-
flake8 = "^6.0.0"
58-
isort = "^5.12.0"
57+
flake8 = ">=6.0.0"
58+
isort = ">=5.12.0"
5959

6060
[tool.poetry.group.docs.dependencies]
61-
sphinx = "^6.1.3"
62-
sphinx-rtd-theme = "^1.2.0"
63-
toml = "^0.10.2"
64-
typing-extensions = "^4.5.0"
61+
sphinx = ">=6.1.3"
62+
sphinx-rtd-theme = ">=1.2.0"
63+
toml = ">=0.10.2"
64+
typing-extensions = ">=4.5.0"
6565

6666
[tool.poetry.group.test.dependencies]
67-
coverage = {extras = ["toml"], version = "^7.2.3"}
68-
pytest = "^7.3.1"
69-
pytest-asyncio = "^0.21.0"
67+
coverage = {extras = ["toml"], version = ">=7.2.3"}
68+
pytest = ">=7.3.1"
69+
pytest-asyncio = ">=0.21.0"
7070

7171
[build-system]
7272
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)