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

Can't be installed with poetry 1.4.0 #102

Closed
dimaqq opened this issue Feb 28, 2023 · 7 comments
Closed

Can't be installed with poetry 1.4.0 #102

dimaqq opened this issue Feb 28, 2023 · 7 comments

Comments

@dimaqq
Copy link

dimaqq commented Feb 28, 2023

poetry 1.3.2 intsalled hypercorn fine, but poetry 1.4.0 fails: python-poetry/poetry#7572

other libraries are installed correctly, so... could it be that something is broken specifically in hypercorn artefacts?

@Oblynx
Copy link

Oblynx commented Feb 28, 2023

Same issue with Poetry 1.4.0:

  • Installing hypercorn (0.14.3): Failed

  KeyError

  "There is no item named 'Hypercorn-0.14.3.dist-info/WHEEL' in the archive"

  at /usr/local/lib/python3.11/zipfile.py:1473 in getinfo
      1469│     def getinfo(self, name):
      1470│         """Return the instance of ZipInfo given 'name'."""
      1471│         info = self.NameToInfo.get(name)
      1472│         if info is None:
    → 1473│             raise KeyError(
      1474│                 'There is no item named %r in the archive' % name)
      1475│ 
      1476│         return info
      1477│ 

@dacevedo12
Copy link

Maybe related montag451/pypi-mirror#21

@jakubhejhal
Copy link

The issue is with "Hypercorn" package name starting with uppercase "H".

python-poetry/poetry#7572

@pgjones
Copy link
Owner

pgjones commented Mar 1, 2023

It looks like this will be fixed with poetry, but that I should also lowercase Hypercorn in the next release.

Thanks for the help figuring this out.

plockaby added a commit to paullockaby/enphase-proxy that referenced this issue Mar 4, 2023
We can unpin poetry when either of these issues are closed:
- python-poetry/poetry#7572
- pgjones/hypercorn#102
@XChikuX
Copy link

XChikuX commented Apr 22, 2023

How close are we to the next release, btw? I don't see a roadmap of features.

@kskalski
Copy link

I think the current version of poetry includes installer version 0.7.0, which fixes this issue. It works for me at least and python-poetry/poetry#7572 is now closed.

@XChikuX
Copy link

XChikuX commented Jun 7, 2023

We can close this. Poetry install for hypercorn has been working fine for a while.

@dimaqq dimaqq closed this as completed Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants