Could not determine home directory. #2601
-
|
Hi, I'm using httpx in a docker container where the executing user is dictated from the outside (Jenkins) and no HOME environment variable is available. I'm getting an exception in this case: Way to reproduce:
I know it's not a common issue, anyhow, I think it is easy to catch this in httpx. Works without issues like this: Are you interested in a PR for this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thank you for raising this. I believe this is a duplicate of #2526, which has been resolved by #2535 - so this should be fixed in the next release. You could try installing directly from GitHub in order to verify this... $ pip install git+https://github.com/encode/httpx |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the quick reply. It works for me in the mentioned version. 👍 |
Beta Was this translation helpful? Give feedback.
Thank you for raising this.
I believe this is a duplicate of #2526, which has been resolved by #2535 - so this should be fixed in the next release.
You could try installing directly from GitHub in order to verify this...