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

the installation of the PyFunctional package has failed due to a missing item in the package archive. #176

Closed
dario-github opened this issue Feb 28, 2023 · 3 comments
Labels

Comments

@dario-github
Copy link

When I used github action to run poetry install, I got an error that is not expected.

  • Installing pyfunctional (1.4.3)

  KeyError

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

  at /opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/zipfile.py:1441 in getinfo
      1437│     def getinfo(self, name):
      1438│         """Return the instance of ZipInfo given 'name'."""
      1439│         info = self.NameToInfo.get(name)
      1440│         if info is None:
    → 1441│             raise KeyError(
      1442│                 'There is no item named %r in the archive' % name)
      1443│ 
      1444│         return info
      1445│ 
@mstandley-tempus
Copy link

When I inspect the contents of wheel file, I see that the path to the file is pyfunctional-1.4.3.dist-info/WHEEL not PyFunctional-1.4.3.dist-info/WHEEL. Could the case difference in the directory name be causing this error?

@mstandley-tempus
Copy link

I think this problem is specific to the poetry package manager, introduced in 1.4.0. see: python-poetry/poetry#7572

@stale
Copy link

stale bot commented Apr 25, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 25, 2023
@stale stale bot closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants