Skip to content

Commit 1478770

Browse files
committed
Switch version dependencies to use >=
1 parent 689c203 commit 1478770

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ Version numbers should follow https://semver.org/spec/v2.0.0.html
77

88
## [Unreleased]
99

10+
## Fixed
11+
12+
- Use `>=` to define minimum version numbers, not `~X.Y.Z`.
13+
This fixes an issue where installing alongside other versions of `attrs`
14+
caused an error:
15+
`django-schema-graph 2.2.0 depends on attrs<22.0.0 and >=21.4.0`
16+
1017

1118
## [2.2.0] - 2022-10-26
1219

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ classifiers = [
4040

4141

4242
[tool.poetry.dependencies]
43-
python = "^3.6"
44-
attrs = "^21.4.0"
43+
python = ">=3.6"
44+
attrs = ">=21.4.0"
4545

4646
[tool.poetry.dev-dependencies]
4747
django-environ = "^0.4.5"

0 commit comments

Comments
 (0)