Commit f52dbf0
Update Rust crate pyo3 to 0.27.0 (#5478)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [pyo3](https://redirect.github.com/pyo3/pyo3) | workspace.dependencies
| minor | `0.26.0` -> `0.27.0` |
---
### Release Notes
<details>
<summary>pyo3/pyo3 (pyo3)</summary>
###
[`v0.27.1`](https://redirect.github.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0271---2025-10-21)
[Compare
Source](https://redirect.github.com/pyo3/pyo3/compare/v0.27.0...v0.27.1)
##### Fixed
- Fix `clippy:declare_interior_mutable_const` warning from
`#[pyfunction]`.
[#​5538](https://redirect.github.com/PyO3/pyo3/pull/5538)
- Expose `pyo3::types::PySendResult` in public API.
[#​5539](https://redirect.github.com/PyO3/pyo3/pull/5539)
###
[`v0.27.0`](https://redirect.github.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0270---2025-10-19)
[Compare
Source](https://redirect.github.com/pyo3/pyo3/compare/v0.26.0...v0.27.0)
##### Packaging
- Extend range of supported versions of `hashbrown` optional dependency
to include version 0.16.
[#​5428](https://redirect.github.com/PyO3/pyo3/pull/5428)
- Bump optional `num-bigint` dependency minimum version to 0.4.4.
[#​5471](https://redirect.github.com/PyO3/pyo3/pull/5471)
- Test against Python 3.14 final release.
[#​5499](https://redirect.github.com/PyO3/pyo3/pull/5499)
- Drop support for PyPy 3.9 and 3.10.
[#​5516](https://redirect.github.com/PyO3/pyo3/pull/5516)
- Provide a better error message when building an outdated PyO3 for a
too-new Python version.
[#​5519](https://redirect.github.com/PyO3/pyo3/pull/5519)
##### Added
- Add `FromPyObjectOwned` as convenient trait bound for `FromPyObject`
when the data is not borrowed from Python.
[#​4390](https://redirect.github.com/PyO3/pyo3/pull/4390)
- Add `Borrowed::extract`, same as `PyAnyMethods::extract`, but does not
restrict the lifetime by deref.
[#​4390](https://redirect.github.com/PyO3/pyo3/pull/4390)
- `experimental-inspect`: basic support for `#[derive(IntoPyObject)]`
(no struct fields support yet).
[#​5365](https://redirect.github.com/PyO3/pyo3/pull/5365)
- `experimental-inspect`: support `#[pyo3(get, set)]` and
`#[pyclass(get_all, set_all)]`.
[#​5370](https://redirect.github.com/PyO3/pyo3/pull/5370)
- Add `PyTypeCheck::classinfo_object` that returns an object that can be
used as parameter in `isinstance` or `issubclass`.
[#​5387](https://redirect.github.com/PyO3/pyo3/pull/5387)
- Implement `PyTypeInfo` on `datetime.*` types even when the limited API
is enabled.
[#​5388](https://redirect.github.com/PyO3/pyo3/pull/5388)
- Implement `PyTypeInfo` on `PyIterator`, `PyMapping` and `PySequence`.
[#​5402](https://redirect.github.com/PyO3/pyo3/pull/5402)
- Implement `PyTypeInfo` on `PyCode` when using the stable ABI.
[#​5403](https://redirect.github.com/PyO3/pyo3/pull/5403)
- Implement `PyTypeInfo` on `PyWeakrefReference` when using the stable
ABI. [#​5404](https://redirect.github.com/PyO3/pyo3/pull/5404)
- Add `pyo3::sync::RwLockExt` trait, analogous to `pyo3::sync::MutexExt`
for readwrite locks.
[#​5435](https://redirect.github.com/PyO3/pyo3/pull/5435)
- Add `PyString::from_bytes`.
[#​5437](https://redirect.github.com/PyO3/pyo3/pull/5437)
- Implement `AsRef<[u8]>` for `PyBytes`.
[#​5445](https://redirect.github.com/PyO3/pyo3/pull/5445)
- Add `CastError` and `CastIntoError`.
[#​5468](https://redirect.github.com/PyO3/pyo3/pull/5468)
- Add `PyCapsuleMethods::pointer_checked` and
`PyCapsuleMethods::is_valid_checked`.
[#​5474](https://redirect.github.com/PyO3/pyo3/pull/5474)
- Add `Borrowed::cast`, `Borrowed::cast_exact` and
`Borrowed::cast_unchecked`.
[#​5475](https://redirect.github.com/PyO3/pyo3/pull/5475)
- Add conversions for `jiff::civil::ISOWeekDate`.
[#​5478](https://redirect.github.com/PyO3/pyo3/pull/5478)
- Add conversions for `&Cstr`, `Cstring` and `Cow<Cstr>`.
[#​5482](https://redirect.github.com/PyO3/pyo3/pull/5482)
- add `#[pyclass(skip_from_py_object)]` option, to opt-out of the
`FromPyObject: PyClass + Clone` blanket impl.
[#​5488](https://redirect.github.com/PyO3/pyo3/pull/5488)
- Add `PyErr::add_note`.
[#​5489](https://redirect.github.com/PyO3/pyo3/pull/5489)
- Add `FromPyObject` impl for `Cow<Path>` & `Cow<OsStr>`.
[#​5497](https://redirect.github.com/PyO3/pyo3/pull/5497)
- Add `#[pyclass(from_py_object)]` pyclass option, to opt-in to the
extraction of pyclasses by value (requires `Clone`).
[#​5506](https://redirect.github.com/PyO3/pyo3/pull/5506)
##### Changed
- Rework `FromPyObject` trait for flexibility and performance:
[#​4390](https://redirect.github.com/PyO3/pyo3/pull/4390)
- Add a second lifetime to `FromPyObject`, to allow borrowing data from
Python objects (e.g. `&str` from Python `str`).
- Replace `extract_bound` with `extract`, which takes `Borrowed<'a, 'py,
PyAny>`.
- Optimize `FromPyObject` implementations for `Vec<u8>` and `[u8; N]`
from `bytes` and `bytearray`.
[#​5244](https://redirect.github.com/PyO3/pyo3/pull/5244)
- Deprecate `#[pyfn]` attribute.
[#​5384](https://redirect.github.com/PyO3/pyo3/pull/5384)
- Fetch type name dynamically on cast errors instead of using
`PyTypeCheck::NAME`.
[#​5387](https://redirect.github.com/PyO3/pyo3/pull/5387)
- Deprecate `PyTypeCheck::NAME` in favour of
`PyTypeCheck::classinfo_object` which provides the type information at
runtime. [#​5387](https://redirect.github.com/PyO3/pyo3/pull/5387)
- `PyClassGuard(Mut)` and `PyRef(Mut)` extraction now returns an opaque
Rust error
[#​5413](https://redirect.github.com/PyO3/pyo3/pull/5413)
- Fetch type name dynamically when exporting types implementing
`PyTypeInfo` with `#[pymodule_use]`.
[#​5414](https://redirect.github.com/PyO3/pyo3/pull/5414)
- Improve `Debug` representation of `PyBuffer<T>`.
[#​5442](https://redirect.github.com/PyO3/pyo3/pull/5442)
- `experimental-inspect`: change the way introspection data is emitted
in the binaries to avoid a pointer indirection and simplify parsing.
[#​5450](https://redirect.github.com/PyO3/pyo3/pull/5450)
- Optimize `Py<T>::drop` for the case when attached to the Python
interpreter.
[#​5454](https://redirect.github.com/PyO3/pyo3/pull/5454)
- Replace `DowncastError` and `DowncastIntoError` with `CastError` and
`CastIntoError`.
[#​5468](https://redirect.github.com/PyO3/pyo3/pull/5468)
- Enable fast-path for 128-bit integer conversions on `GraalPy`.
[#​5471](https://redirect.github.com/PyO3/pyo3/pull/5471)
- Deprecate `PyAnyMethods::downcast` functions in favour of
`Bound::cast` functions.
[#​5472](https://redirect.github.com/PyO3/pyo3/pull/5472)
- Make `PyTypeCheck` an `unsafe trait`.
[#​5473](https://redirect.github.com/PyO3/pyo3/pull/5473)
- Deprecate unchecked `PyCapsuleMethods`: `pointer()`, `reference()`,
and `is_valid()`.
[#​5474](https://redirect.github.com/PyO3/pyo3/pull/5474)
- Reduce lifetime of return value in `PyCapsuleMethods::reference`.
[#​5474](https://redirect.github.com/PyO3/pyo3/pull/5474)
- `PyCapsuleMethods::name` now returns `CapsuleName` wrapper instead of
`&CStr`. [#​5474](https://redirect.github.com/PyO3/pyo3/pull/5474)
- Deprecate `import_exception_bound` in favour of `import_exception`.
[#​5480](https://redirect.github.com/PyO3/pyo3/pull/5480)
- `PyList::get_item_unchecked`, `PyTuple::get_item_unchecked`, and
`PyTuple::get_borrowed_item_unchecked` no longer check for null values
at the provided index.
[#​5494](https://redirect.github.com/PyO3/pyo3/pull/5494)
- Allow converting naive datetime into chrono `DateTime<Local>`.
[#​5507](https://redirect.github.com/PyO3/pyo3/pull/5507)
##### Removed
- Removed `FromPyObjectBound` trait.
[#​4390](https://redirect.github.com/PyO3/pyo3/pull/4390)
##### Fixed
- Fix compilation failure on `wasm32-wasip2`.
[#​5368](https://redirect.github.com/PyO3/pyo3/pull/5368)
- Fix `OsStr` conversion for non-utf8 strings on Windows.
[#​5444](https://redirect.github.com/PyO3/pyo3/pull/5444)
- Fix issue with `cargo vendor` caused by gitignored build artifact
`emscripten/pybuilddir.txt`.
[#​5456](https://redirect.github.com/PyO3/pyo3/pull/5456)
- Stop leaking `PyMethodDef` instances inside `#[pyfunction]` macro
generated code.
[#​5459](https://redirect.github.com/PyO3/pyo3/pull/5459)
- Don't export definition of FFI struct `PyObjectObFlagsAndRefcnt` on
32-bit Python 3.14 (doesn't exist).
[#​5499](https://redirect.github.com/PyO3/pyo3/pull/5499)
- Fix failure to build for `abi3` interpreters on Windows using
maturin's built-in sysconfig in combination with the
`generate-import-lib` feature.
[#​5503](https://redirect.github.com/PyO3/pyo3/pull/5503)
- Fix FFI definitions `PyModule_ExecDef` and `PyModule_FromDefAndSpec2`
on PyPy. [#​5529](https://redirect.github.com/PyO3/pyo3/pull/5529)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/vortex-data/vortex).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTYuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiY2hvcmUiXX0=-->
---------
Signed-off-by: Robert Kruszewski <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kruszewski <[email protected]>1 parent faaab0f commit f52dbf0
File tree
19 files changed
+196
-159
lines changed- vortex-python/src
- arrays
- py
- dtype
- expr
- scalar
19 files changed
+196
-159
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | | - | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | | - | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
201 | | - | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| |||
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | | - | |
| 246 | + | |
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
248 | 250 | | |
249 | 251 | | |
250 | | - | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
297 | 299 | | |
298 | 300 | | |
299 | 301 | | |
300 | | - | |
| 302 | + | |
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| |||
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
350 | | - | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
358 | | - | |
| 360 | + | |
359 | 361 | | |
360 | 362 | | |
361 | 363 | | |
| |||
392 | 394 | | |
393 | 395 | | |
394 | 396 | | |
395 | | - | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
399 | 403 | | |
400 | 404 | | |
401 | | - | |
| 405 | + | |
402 | 406 | | |
403 | 407 | | |
404 | 408 | | |
405 | 409 | | |
406 | 410 | | |
407 | 411 | | |
408 | | - | |
| 412 | + | |
409 | 413 | | |
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
413 | 417 | | |
414 | 418 | | |
415 | | - | |
| 419 | + | |
416 | 420 | | |
417 | 421 | | |
418 | 422 | | |
419 | 423 | | |
420 | 424 | | |
421 | 425 | | |
422 | | - | |
| 426 | + | |
423 | 427 | | |
424 | 428 | | |
425 | 429 | | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | | - | |
| 433 | + | |
430 | 434 | | |
431 | 435 | | |
432 | 436 | | |
433 | 437 | | |
434 | 438 | | |
435 | 439 | | |
436 | | - | |
| 440 | + | |
437 | 441 | | |
438 | 442 | | |
439 | 443 | | |
| |||
467 | 471 | | |
468 | 472 | | |
469 | 473 | | |
470 | | - | |
| 474 | + | |
471 | 475 | | |
472 | 476 | | |
473 | 477 | | |
| |||
546 | 550 | | |
547 | 551 | | |
548 | 552 | | |
549 | | - | |
| 553 | + | |
550 | 554 | | |
551 | 555 | | |
552 | 556 | | |
| |||
592 | 596 | | |
593 | 597 | | |
594 | 598 | | |
595 | | - | |
| 599 | + | |
596 | 600 | | |
597 | 601 | | |
598 | 602 | | |
| |||
608 | 612 | | |
609 | 613 | | |
610 | 614 | | |
611 | | - | |
| 615 | + | |
612 | 616 | | |
613 | 617 | | |
614 | 618 | | |
| |||
643 | 647 | | |
644 | 648 | | |
645 | 649 | | |
646 | | - | |
| 650 | + | |
647 | 651 | | |
648 | 652 | | |
649 | 653 | | |
650 | 654 | | |
651 | 655 | | |
652 | 656 | | |
653 | | - | |
| 657 | + | |
654 | 658 | | |
655 | 659 | | |
656 | 660 | | |
| |||
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
669 | | - | |
| 673 | + | |
670 | 674 | | |
671 | 675 | | |
672 | 676 | | |
| |||
698 | 702 | | |
699 | 703 | | |
700 | 704 | | |
701 | | - | |
| 705 | + | |
702 | 706 | | |
703 | 707 | | |
704 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments