Duplicated artifacts in cache
See original GitHub issue- 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: Linux Ubuntu 20.04
- Poetry version: 1.1.13
Issue
Poetry was able somehow to create multiple same name entries in the cache:
~/.cache/pypoetry/artifacts$ find . -name forma*
./f7/4a/92/77326137086392f59eb66c784e369a6ab387f4178c4b950abe48ed5c4c/formasaurus-0.9.0+ds.3-py2.py3-none-any.whl
./e5/21/35/b92d6ab0cf36e72fc6a56d5ae502caf69b52f953a671d9e196cb1b4abd/formasaurus-0.9.0+ds.2-py2.py3-none-any.whl
./c4/38/b9/6d7ce39991c8319ed8ac62765317620a34d76f60f30152ca89e85d298b/formasaurus-0.9.0+ds.2-py2.py3-none-any.whl
./d9/25/49/b44cc41365aeb2139a3a5a87d530560a01faf827479ed1cffbcb6c2e0b/formasaurus-0.9.0+ds.3-py2.py3-none-any.whl
This will likely generate broken poetry.lock
files since the collected artifact (by name) is no longer deterministic.
Issue Analytics
- State:
- Created a year ago
- Comments:30 (17 by maintainers)
Top Results From Across the Web
multiple cache in a same job (#32814) · Issues - GitLab
when multiple, parallel build stages use separate output directories that need to be cached, but the generated artifacts are all desired (or ...
Read more >Artifacts FAQs - Documentation - Weights & Biases - Wandb
When are artifact files deleted? W&B stores artifact files in a way that minimizes duplication across successive artifact versions, as described above.
Read more >[RTFACT-17848] Cached artifact in a smart remote repository ...
[RTFACT-17848] Cached artifact in a smart remote repository is not updated when the same name artifact with different content is uploaded again Created:...
Read more >Seriously... can we make them swappable with other artifacts ...
I am literally destroying duplicate artifacts… ... Just go to caches, get the materials and get the xp from it.
Read more >Gradle dependency caching mechanism - Stack Overflow
all these folders are storing duplicate artifacts. so my questions is, why and in what conditions gradle has to create multiple artifacts ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@finswimmer that looks as though it would be expected if you have installed this package at different times using different versions of python - because the interpreter_version() is incorporated into the hash that makes up the directory name. So maybe that.
Hey @tilusnet,
I will close this as there seems to be no issue and Poetry behaves like expected (https://github.com/python-poetry/poetry/issues/5921#issuecomment-1168593540, https://github.com/python-poetry/poetry/issues/5921#issuecomment-1168602395)
Feel free to leave more information if you think there’s still an issue.
fin swimmer