-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/error-handlingBad error messages/insufficient error handlingBad error messages/insufficient error handlingarea/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected
Description
Yes, this is my own stupid fault :)
Maybe a sanity check somewhere could be helpful?
The local pyproject.toml file specifies 'kek.tilde' and the one in the git repo does as well. Then the following trace happens.
$ poetry add kek.tilde --git https://gitlab.com/snuk/kek.tilde.git -v
Using virtualenv: /Users/roel/Library/Caches/pypoetry/virtualenvs/kek.tilde-py3.6
Updating dependencies
Resolving dependencies... (0.0s)
[AssertionError]
Exception trace:
/usr/local/lib/python3.6/site-packages/poetry/_vendor/cleo/application.py in run() at line 94
status_code = self.do_run(input_, output_)
/usr/local/lib/python3.6/site-packages/poetry/console/application.py in do_run() at line 87
return super(Application, self).do_run(i, o)
/usr/local/lib/python3.6/site-packages/poetry/_vendor/cleo/application.py in do_run() at line 197
status_code = command.run(input_, output_)
/usr/local/lib/python3.6/site-packages/poetry/console/commands/command.py in run() at line 72
return super(BaseCommand, self).run(i, o)
/usr/local/lib/python3.6/site-packages/poetry/_vendor/cleo/commands/base_command.py in run() at line 146
status_code = self.execute(input_, output_)
/usr/local/lib/python3.6/site-packages/poetry/_vendor/cleo/commands/command.py in execute() at line 107
return self.handle()
/usr/local/lib/python3.6/site-packages/poetry/console/commands/add.py in handle() at line 134
status = installer.run()
/usr/local/lib/python3.6/site-packages/poetry/installation/installer.py in run() at line 75
self._do_install(local_repo)
/usr/local/lib/python3.6/site-packages/poetry/installation/installer.py in _do_install() at line 158
ops = solver.solve(use_latest=self._whitelist)
/usr/local/lib/python3.6/site-packages/poetry/puzzle/solver.py in solve() at line 35
self._package, provider, locked=locked, use_latest=use_latest
/usr/local/lib/python3.6/site-packages/poetry/mixology/__init__.py in resolve_version() at line 8
return solver.solve()
/usr/local/lib/python3.6/site-packages/poetry/mixology/version_solver.py in solve() at line 79
next = self._choose_package_version()
/usr/local/lib/python3.6/site-packages/poetry/mixology/version_solver.py in _choose_package_version() at line 381
for incompatibility in self._provider.incompatibilities_for(version):
/usr/local/lib/python3.6/site-packages/poetry/puzzle/provider.py in incompatibilities_for() at line 293
for dep in dependencies
/usr/local/lib/python3.6/site-packages/poetry/puzzle/provider.py in <listcomp>() at line 293
for dep in dependencies
/usr/local/lib/python3.6/site-packages/poetry/mixology/incompatibility.py in __init__() at line 59
assert by_ref[ref] is not None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/error-handlingBad error messages/insufficient error handlingBad error messages/insufficient error handlingarea/solverRelated to the dependency resolverRelated to the dependency resolverkind/bugSomething isn't working as expectedSomething isn't working as expected