Closed
Description
- 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