poetry add pre-commit fails to resolve dependencies
See original GitHub issue- Poetry version: Poetry (version 1.2.1)
- Python version: Python 3.10.4
- OS version and name: macOS 12.6
- pyproject.toml: https://gist.github.com/JasonF-BJSS/d4fe8281cb7b21ba5eb8e90fd1cda13e
- 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
With pyproject.toml https://gist.github.com/JasonF-BJSS/d4fe8281cb7b21ba5eb8e90fd1cda13e
running poetry add pre-commit fails to resolve dependencies
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to solve Python poetry dependency error - Stack Overflow
I've run poetry config virtualenvs. create false previously for another project and the configuration was set at a global level. Running the ...
Read more >poetry export pre-commit hook · Issue #2457 - GitHub
For installing it it wants to build a wheel for poetry but fails so because for building it it wants to use itself...
Read more >pre-commit hooks | master | Documentation - Poetry
The poetry-export hook calls the poetry export command to sync your requirements.txt file with your current dependencies. Note. It is recommended to run...
Read more >Python with Poetry and pre-commit hooks - Object Partners
If any of the hooks fails, then the commit won't complete. For instance, if Black updates formatting, then the newly-updated files will be...
Read more >Python HOW: Using Poetry, Make, and pre-commit-hooks to ...
We use Poetry to manage the project virtual environment and resolve dependencies. Install Poetry as described here.
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

you forgot to provide any output that could help anyone to understand what is happening
I am unable to reproduce this either – please try what @dimbleby has suggested. Fixes for this deadlock are in the 1.3 branch.