Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't swallow ImportError in temporary_directory()
Fixes python-poetry#3026 If the context wrapped by the temporary_directory() context manager raised ImportError (for example because distutils.util cannot be imported, python-poetry#721 python-poetry#1837), it would previously keep going, causing a RuntimeError from contextlib: RuntimeError: generator didn't stop after throw()
- Loading branch information