Skip to content

Avoid installing yanked chrono version v0.4.36 #307

@whynick1

Description

@whynick1

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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions