Skip to content

Commit

Permalink
Revert back to standard dependency version requirements (#9)
Browse files Browse the repository at this point in the history
Using the caret ^ for versioning means that the plugins requires poetry >=2.0.0,<3.0.0. This means that one cannot simply just upgrade the plugin then update poetry when coming from poetry 1.8.3. The plugin needs to be removed and reinstalled once poetry is updated. This version makes it easier. Upgrade the plugin poetry `self add poetry-pre-...@latest`

It also does not break the compatibility continuity of the plugin.
  • Loading branch information
kohlerj authored Jan 13, 2025
1 parent 4726425 commit e3029cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [{include = "poetry_pre_commit_plugin", from = "src"}]

[tool.poetry.dependencies]
python = "^3.7"
poetry = "^2.0.0"
poetry = ">=1.0.0,<3.0.0"

[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2"
Expand Down

0 comments on commit e3029cf

Please sign in to comment.