Upgrade to PyO3 0.24

The main change is that Rust paths are mapped to pathlib.Path, which changes our API (stricter).
This commit is contained in:
Simon Hausmann 2025-04-03 12:16:10 +02:00 committed by Simon Hausmann
parent 0c51f69b0a
commit 826ad7a865
10 changed files with 51 additions and 51 deletions

View file

@ -9,10 +9,9 @@ use pyo3_stub_gen::{
/// The TimerMode specifies what should happen after the timer fired.
///
/// Used by the `Timer.start()` function.
#[derive(Copy, Clone)]
#[derive(Copy, Clone, PartialEq)]
#[gen_stub_pyclass_enum]
#[pyclass(name = "TimerMode", eq, eq_int)]
#[derive(PartialEq)]
pub enum PyTimerMode {
/// A SingleShot timer is fired only once.
SingleShot,