Skip to content

Commit

Permalink
Workaround for psf/requests#5871
Browse files Browse the repository at this point in the history
```
> hass-cli template <(echo '{{ states.lock.front_door }}')
warning: Trying to detect encoding from a tiny portion of (4) byte(s).
ascii passed initial chaos probing. Mean measured chaos is 0.000000 %
ascii should target any language(s) of ['Latin Based']
ascii is most likely the one. Stopping the process.
None
```
  • Loading branch information
joshuaspence committed Dec 14, 2021
1 parent 16b2064 commit bd25473
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions home/venv/requirements.in
Expand Up @@ -11,3 +11,6 @@ yamllint

# See pganssle/zoneinfo#111.
backports.zoneinfo ; python_version < '3.9'

# See psf/requests#5871.
requests[use_chardet_on_py3]
5 changes: 4 additions & 1 deletion home/venv/requirements.txt
Expand Up @@ -37,6 +37,8 @@ cffi==1.15.0
# pynacl
cfgv==3.3.1
# via pre-commit
chardet==4.0.0
# via requests
charset-normalizer==2.0.9
# via
# aiohttp
Expand Down Expand Up @@ -169,8 +171,9 @@ regex==2021.11.10
# via
# dateparser
# homeassistant-cli
requests[socks]==2.26.0
requests[socks,use_chardet_on_py3]==2.26.0
# via
# -r home/venv/requirements.in
# docker
# docker-compose
# homeassistant-cli
Expand Down

0 comments on commit bd25473

Please sign in to comment.