Skip to content

Commit

Permalink
fix: fix editable installation via pip
Browse files Browse the repository at this point in the history
Poetry-core implements PEP660 from version 1.0.8.
This patch bumps poetry-core version in build-system section
for enable editabple installation via pip ('pip install -e .').

For more info see:
- python-poetry/poetry#34 (comment)
- python-poetry/poetry#5056
- python-poetry/poetry-core#257
  • Loading branch information
lobziik committed May 9, 2022
1 parent 08902a1 commit 5623fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ known_first_party = "schemathesis"
known_third_party = ["_pytest", "aiohttp", "attr", "click", "curlify", "fastapi", "flask", "graphene", "graphql", "graphql_server", "hypothesis", "hypothesis_graphql", "hypothesis_jsonschema", "jsonschema", "junit_xml", "packaging", "pydantic", "pytest", "pytest_subtests", "requests", "schemathesis", "starlette", "typing_extensions", "urllib3", "werkzeug", "yaml", "yarl"]

[build-system]
requires = ["poetry>=0.12", "setuptools"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 5623fd4

Please sign in to comment.