Skip to content

Commit

Permalink
Upgrade poetry-core to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater authored and kasteph committed Feb 12, 2021
1 parent 6c92d42 commit 6f70c3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion poetry/mixology/incompatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,12 @@ def _terse(self, term: Term, allow_every: bool = False) -> str:
if allow_every and term.constraint.is_any():
return "every version of {}".format(term.dependency.complete_name)

return str(term.dependency)
if term.dependency.is_root:
return term.dependency.pretty_name

return "{} ({})".format(
term.dependency.pretty_name, term.dependency.pretty_constraint
)

def _single_term_where(self, callable: callable) -> Optional[Term]:
found = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
[tool.poetry.dependencies]
python = "^3.6"

poetry-core = "^1.0.0"
poetry-core = "^1.0.2"
cleo = "^1.0.0a1"
crashtest = "^0.3.0"
requests = "^2.18"
Expand Down

0 comments on commit 6f70c3e

Please sign in to comment.