-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
- Poetry version: 1.6.1
- Python version: 3.9
- OS version and name: Ubuntu 22.04
- pyproject.toml: See https://github.com/cvent/poetry-empty-file-repro/blob/main/pyproject.toml
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
When running poetry install against a project, it sometimes 'corrupts' the installation of packages by creating empty, 0-byte files, when they should be full of content.
I have managed to create a minimal-reproduction repository, but in testing, it seems extremely sensitive to alterations (pyproject dependencies, lockfile, etc).
It seems to happen independently of creating a local venv.
I have not observed this happening in other packages, but also havent checked.
pip install jira appears to work fine consistently, and poetry add jira in an empty project too, so I don't think its a problem with the package itself.
See this GitHub Action run for logs and behaviour (inside a docker container, natively, and with a non-reproducing job) https://github.com/cvent/poetry-empty-file-repro/actions/runs/6016097573/job/16319349035