Skip to content
New issue

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

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

Already on GitHub? # to your account

missing dependencies throw assertion errors instead of dependency solving error #144

Open
itziakos opened this issue Mar 2, 2016 · 1 comment

Comments

@itziakos
Copy link
Member

itziakos commented Mar 2, 2016

for example legacy

PS C:\Users\itziakos\Projects\haas> jaguar --no-debug install ipython-3.0.0-1
Fetching package repositories indices.. done
One of the requested package has broken dependencies
(Dependency solving error: Could not resolve "terminado 0.5" required by "RemotePackageMetadata('ipython-3.0.0-1', key='ipython-3.0.0-1.egg', available=True, product='free', repository_info='BroodRepository(<https://packages.enthought.com>, <enthought/free>)')")

while sat_solver

PS C:\Users\itziakos\Projects\haas> jaguar --no-debug install ipython-3.0.0-1
Fetching package repositories indices.. done
Unexpected error
AssertionError("No candidates found for requirement 'terminado', needed for dependency RepositoryPackageMetadata('ipython-3.0.0-1', repo=Repository(<enthought/free>))",)
@itziakos itziakos changed the title missing depedencies throw assertion errors instead of dependency solving error missing dependencies throw assertion errors instead of dependency solving error Mar 2, 2016
@cournape
Copy link
Contributor

cournape commented Mar 7, 2016

We need to do 2 things here:

  1. Better error handling in the SAT solver (that should not be too complicated)
  2. Figure out what to do about broken dependencies when they are not explicitly required. In your case, we should fail with a message clear to the legacy case, but if all you want is one version of ipython, we should maybe just ignore packages with broken dependencies.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants