Skip to content

Commit

Permalink
Chrono: allow deprecation warning until upgrading to 0.4.35+
Browse files Browse the repository at this point in the history
Requirering 0.4.35 is blocked on MSRV (Chrono: 1.61, PyO3: 1.56)
  • Loading branch information
Tpt committed Mar 6, 2024
1 parent 57bbc32 commit 3244543
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/conversions/chrono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
//! });
//! }
//! ```

// `chrono::Duration` has been renamed to `chrono::TimeDelta` and its constructor changed
// TODO: upgrade to Chrono 0.4.35+ after upgrading our MSRV to 1.61+
#![allow(deprecated)]

use crate::exceptions::{PyTypeError, PyUserWarning, PyValueError};
#[cfg(Py_LIMITED_API)]
use crate::sync::GILOnceCell;
Expand Down

0 comments on commit 3244543

Please sign in to comment.