-
Notifications
You must be signed in to change notification settings - Fork 65
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
Failed to fetch wheel: tantivy==0.22.0 (Python 3.13.0) #371
Comments
@wallies Any chance we can get a wheel up for 3.13? If you're not able I can get to it next week. |
@cjrh we need to upgrade pyo3 version to 0.22.0 as that has the support for python 3.13 |
Didn't #390 take care of that? I am wondering if we can close this out |
@jamesbraza no we need to update pyo3 https://github.com/quickwit-oss/tantivy-py/blob/master/Cargo.toml#L27
We could do like we have in CI build and use forward compatibility to supress the check but we cant guarantee things will work properly. |
Okay, I made a PR to do this: #401 |
Hm looks like PyO3/pyo3#3916 broke things here. I tried a bunch of stuff tonight, but bottom line I don't know enough Rust/PyO3 to complete this one. |
The closest I got was this in impl<'source> FromPyObject<'source> for OccurQueryPair {
--- fn extract(ob: &'source PyAny) -> PyResult<Self> {
--- let tuple = ob.downcast::<PyTuple>()?;
--- let occur = tuple.get_item(0)?.extract()?;
--- let query = tuple.get_item(1)?.extract()?;
+++ fn extract_bound(ob: &Bound<'source, PyAny>) -> PyResult<Self> {
+++ let (occur, query): (Occur, Query) = ob.extract()?;
Ok(OccurQueryPair(occur, query))
}
} |
The text was updated successfully, but these errors were encountered: