Giter Club home page Giter Club logo

Comments (4)

sdispater avatar sdispater commented on September 12, 2024

Well I just checked and it seems the maintainers of django-imgix have messed up their releases.

If you take a look at https://pypi.org/pypi/django-imgix/json you can see that there are no distributions for release 1.1.0 but the tarball of 1.1.0 is actually under the 1.0.0 release. So the resolver fails because it can't find any distributions for release 1.1.0 since no packages is returned (See https://github.com/sdispater/poetry/blob/master/poetry/repositories/pypi_repository.py#L92).

I could remove this condition but it would lead to the dependency being resolved (even though its dependencies wouldn't be) so I prefer poetry to fail early.

However, I agree that I should add some logging information in the PyPI repository class to ease debugging.

from poetry.

radix avatar radix commented on September 12, 2024

I appreciate very much that you looked into this problem @sdispater. I'll work around this problem by using a git dependency.

from poetry.

sdispater avatar sdispater commented on September 12, 2024

With the new resolver introduced in 0.10.0 the error message is much more explanatory:

[SolverProblemError]
Because my-package depends on django-imgix (1.1.0) which doesn't match any versions, versio
n solving failed.

from poetry.

github-actions avatar github-actions commented on September 12, 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.

from poetry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.