Closed paolodina closed 2 years ago
Hi @paolodina this may be a limitation of the python-dateutil
library, which version do you have installed?
That said, I think pyinfra should handle this situation and show a warning rather than bailing on the exception.
Hi Nick, I have the latest 2.8.2
.
I'm not sure about side effects, but as a workaround I specified a different locale via env
:
apt.deb(
....
env={'LC_TIME': "en_US.UTF-8"}
)
I just released v1.6.2
with a change that always sets LC_TIME
for the date fact which should fix this properly (https://github.com/Fizzadar/pyinfra/commit/6e94ab59886a7062afcb45467469c154731aead1).
Describe the bug
Installing a
.deb
file from url fails.Error similar to #288.
To Reproduce
Expected behavior
The command should end without errors.
Meta
pyinfra --support
How was pyinfra installed (source/pip)?
I'm using pipx to run pyinfra (had no problems so far).
Include pyinfra-debug.log (if one was created)
Missing.
Output with
-vv
and--debug