Skip to content

Commit

Permalink
Fix regression in chrono 0.4.20 chronotope/chrono#755.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamiel committed Aug 9, 2022
1 parent 8f8e3b8 commit f6e5b0a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 14 deletions.
43 changes: 41 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions bin/install_prerequisites_alpine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ echo "----- install prerequisite packages -----"
apk update --quiet
apk add --quiet bash curl curl-dev build-base libffi-dev libxml2-dev libxml2-utils openssl-dev python3 python3-dev py3-pip

# FIXME: chrono 0.4.20 basically requires one to set up a correct timezone
# We set /etc/localtime in a Docker context
# see https://github.com/chronotope/chrono/issues/755
apk add tzdata
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime

python3 -m pip install --upgrade pip --quiet
5 changes: 0 additions & 5 deletions bin/install_prerequisites_archlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@ echo "----- install prerequisite packages -----"
pacman -Syy --noconfirm
pacman -Sy --noconfirm curl icu base-devel libxml2 python3 glibc

# FIXME: chrono 0.4.20 basically requires one to set up a correct timezone
# We set /etc/localtime in a Docker context
# see https://github.com/chronotope/chrono/issues/755
ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime

curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
2 changes: 1 addition & 1 deletion packages/hurl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ strict = []
atty = "0.2.14"
base64 = "0.13.0"
brotli = "3.3.4"
chrono = { version = "0.4.20", default-features = false, features = ["clock"] }
chrono = { version = "0.4.21", default-features = false, features = ["clock"] }
clap = { version = "3.2.16", features = ["cargo"] }
colored = "2.0.0"
curl = "0.4.44"
Expand Down

0 comments on commit f6e5b0a

Please sign in to comment.