Skip to content

Commit

Permalink
style: update poetry-core version that supports PEP 660 hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Aug 21, 2023
1 parent 9e37732 commit 0496d5a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ pudb = "*"
icecream = "*"

[build-system]
# https://github.com/python-poetry/poetry/issues/1993
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
Expand Down
4 changes: 1 addition & 3 deletions src/nitpick/resources/python/poetry-editable.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ name = "Poetry (editable projects; PEP 600 support)"
url = "https://github.com/python-poetry/poetry"

["pyproject.toml".build-system]
# Support PEP 660 hooks
# https://github.com/python-poetry/poetry-core/pull/182#issuecomment-1005195851
requires = ["poetry-core@https://github.com/python-poetry/poetry-core/archive/325312c016d69189ac93c945ba0c1b69296c5e54.zip"]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
3 changes: 1 addition & 2 deletions src/nitpick/resources/python/poetry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ name = "Poetry"
url = "https://github.com/python-poetry/poetry"

["pyproject.toml".build-system]
# https://github.com/python-poetry/poetry/issues/1993
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion tests/test_builtin/python/poetry-editable/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = [ "poetry-core@https://github.com/python-poetry/poetry-core/archive/325312c016d69189ac93c945ba0c1b69296c5e54.zip",]
requires = [ "poetry-core>=1.0.8",]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion tests/test_builtin/python/poetry/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = [ "poetry-core>=1.0.0",]
requires = [ "poetry-core>=1.0.8",]
build-backend = "poetry.core.masonry.api"

0 comments on commit 0496d5a

Please sign in to comment.