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

Poetry 1.1.0b2 PackageInfoError #2850

Closed
3 tasks done
omushpapa opened this issue Aug 23, 2020 · 2 comments · Fixed by #2810
Closed
3 tasks done

Poetry 1.1.0b2 PackageInfoError #2850

omushpapa opened this issue Aug 23, 2020 · 2 comments · Fixed by #2810
Labels
kind/bug Something isn't working as expected

Comments

@omushpapa
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: OpenSUSE 15.1
  • Poetry version: 1.1.0b2
  • Link of a Gist with the contents of your pyproject.toml file: My pyproject.toml

Issue

When running poetry add PyPDF2, I get:

Using version ^1.26.0 for PyPDF2

Updating dependencies
Resolving dependencies... (0.0s)

  PackageInfoError

  Unable to determine package info for path: /tmp/tmpvrzu96mh/PyPDF2-1.26.0

  at ~/.poetry/lib/poetry/inspection/info.py:322 in from_setup_files
      318│         )
      319│ 
      320│         if not (info.name and info.version) and not info.requires_dist:
      321│             # there is nothing useful here
    → 322│             raise PackageInfoError(path)
      323│ 
      324│         return info
      325│ 
      326│     @staticmethod
@omushpapa omushpapa added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 23, 2020
@omushpapa omushpapa changed the title Poetry 1.1.0a2 PackageInfoError Poetry 1.1.0b2 PackageInfoError Aug 23, 2020
@finswimmer
Copy link
Member

Hello @GianTas,

this will be fixed if #2810 is merged.

fin swimmer

Copy link

github-actions bot commented Mar 3, 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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants