Skip to content

refactor(hydro_cli)!: use direct &dyn Any upcasting for Rust 1.86, update pyo3, fix #1821 #1825

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from

Conversation

MingweiSamuel
Copy link
Member

@MingweiSamuel MingweiSamuel commented Apr 7, 2025

Fix #1821

https://pyo3.rs/v0.23.0/migration#from-020-to-021

BREAKING CHANGE: Now uses pyo3 0.24

@MingweiSamuel MingweiSamuel marked this pull request as ready for review April 7, 2025 16:55
@MingweiSamuel MingweiSamuel requested a review from shadaj April 7, 2025 16:55
Copy link
Member

@shadaj shadaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Very confused seeing the Hydro Deploy test failure, don't see any changes that would have broken anything...

@MingweiSamuel
Copy link
Member Author

Seems to be an actual error

@MingweiSamuel
Copy link
Member Author

So weird, something with pyo3

@MingweiSamuel
Copy link
Member Author

I am not sure how to get the hydrocli tests to actually run locally

@shadaj
Copy link
Member

shadaj commented Apr 10, 2025

I am not sure how to get the hydrocli tests to actually run locally

Need to maturin develop to install the package into your venv, then run pytest in the tests directory.

Still ultra confused what broke here though (should we enable backtraces in CI?).

@MingweiSamuel MingweiSamuel changed the title refactor: use direct &dyn Any upcasting for Rust 1.86, fix #1821 refactor: use direct &dyn Any upcasting for Rust 1.86, update pyo3, fix #1821 Apr 14, 2025
@MingweiSamuel MingweiSamuel changed the title refactor: use direct &dyn Any upcasting for Rust 1.86, update pyo3, fix #1821 refactor(hydro_cli)!: use direct &dyn Any upcasting for Rust 1.86, update pyo3, fix #1821 Apr 14, 2025
@MingweiSamuel
Copy link
Member Author

Thinking this might be a genuine bug in the python code

@MingweiSamuel
Copy link
Member Author

MingweiSamuel commented Apr 16, 2025

#1841

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants