Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to install mkdocs using poetry raises an AssertionError #4156

Closed
vivekhub opened this issue Jun 8, 2021 · 2 comments
Closed

Attempting to install mkdocs using poetry raises an AssertionError #4156

vivekhub opened this issue Jun 8, 2021 · 2 comments
Labels
status/duplicate Duplicate issues

Comments

@vivekhub
Copy link

vivekhub commented Jun 8, 2021

  • [x ] I am on the latest Poetry version.
  • [ x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x ] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

This toml file causes poetry to raise an AssertionError when run. It was generated by Poetry automatically

[vivekv@mbp ~/projects/mkdocs]$ poetry install
Updating dependencies
Resolving dependencies... (0.0s)

  AssertionError

  

  at ~/.poetry/lib/poetry/mixology/incompatibility.py:111 in __str__
      107│         )
      108│ 
      109│     def __str__(self):
      110│         if isinstance(self._cause, DependencyCause):
    → 111│             assert len(self._terms) == 2
      112│ 
      113│             depender = self._terms[0]
      114│             dependee = self._terms[1]
      115│             assert depender.is_positive()
@vivekhub vivekhub added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 8, 2021
@finswimmer
Copy link
Member

Hello @vivekhub,

you cannot name you project like a dependency.

The error message could be cleaner here. A ticket already exists: #236

fin swimmer

@finswimmer finswimmer added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 8, 2021
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants