Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avoid installing yanked chrono version v0.4.36 #307

Closed
whynick1 opened this issue Mar 26, 2024 · 1 comment
Closed

Avoid installing yanked chrono version v0.4.36 #307

whynick1 opened this issue Mar 26, 2024 · 1 comment

Comments

@whynick1
Copy link
Contributor

whynick1 commented Mar 26, 2024

The latest version of crates chrono (just released today) is broken.

Today we set chrono = "0.4" in Cargo.toml, which end up install the late version v0.4.36 (see https://crates.io/crates/chrono/0.4.36), which cause pull request check to fail (see https://github.com/apache/iceberg-rust/actions/runs/8440126307/job/23116321561?pr=306). I can also reproduce from my local with make check.

error[E0432]: unresolved import `chrono::LocalResult`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-tz-0.8.6/src/timezone_impl.rs:318:21
    |
318 |         use chrono::LocalResult::*;
    |                     ^^^^^^^^^^^ `LocalResult` is a type alias, not a module
...
@whynick1 whynick1 changed the title Pin chrono version to avoid yanked version v0.4.36 Avoid installing yanked chrono version v0.4.36 Mar 26, 2024
@whynick1
Copy link
Contributor Author

whynick1 commented Mar 26, 2024

https://crates.io/crates/chrono/0.4.36 has been marked as yanked 2 hours ago. Verified locally after cargo update. Closing the issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant