-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
AssertionError in mixology/incompatibility.py #3491
Comments
Possibly the same assertionerror appears when your poetry project name is equal to a dependency you are adding: |
Solved it. |
same issue, it's the project name. I think this can be closed, @sanderland comment definitely fixes the problem. |
Except, the error message is totally unhelpful in finding out what the problem is. I think it should at least give a hint as to what the problem is and that the project should be renamed. Using |
I just ran into this. @zEdS15B3GCwq is absolutly right, the error message is pretty bad and should be improved. |
Yeah, this error is pretty unhelpful. An error message along these lines would be much better, IMO:
|
The problem is still present :( |
Just ran into this myself |
This issue seems to be triggered, if the package you want to add is named like the folder the poetry project resides in. In my case it was |
And this bug is closed why? It is still present; the error message is still completely meaningless. |
short story long: rename your poetry environment so it doesn't match the package name. |
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. |
-vvv
option).Issue
An Assertion is failing when attempting to add a project that depends via path on another project. The other projects pyproject.toml is the following:
The text was updated successfully, but these errors were encountered: