projectsyn / reclass-rs

Reimplementation of https://github.com/kapicorp/reclass in Rust with Python bindings through PyO3.
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Update Rust crate pyo3 to v0.20.3 #102

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
pyo3 dependencies patch =0.20.2 -> =0.20.3

Release Notes

pyo3/pyo3 (pyo3) ### [`v0.20.3`](https://togithub.com/pyo3/pyo3/blob/HEAD/CHANGELOG.md#0203---2024-02-23) [Compare Source](https://togithub.com/pyo3/pyo3/compare/v0.20.2...v0.20.3) ##### Packaging - Add `portable-atomic` dependency. [#​3619](https://togithub.com/PyO3/pyo3/pull/3619) - Check maximum version of Python at build time and for versions not yet supported require opt-in to the `abi3` stable ABI by the environment variable `PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1`. [#​3821](https://togithub.com/PyO3/pyo3/pull/3821) ##### Fixed - Use `portable-atomic` to support platforms without 64-bit atomics. [#​3619](https://togithub.com/PyO3/pyo3/pull/3619) - Fix compilation failure with `either` feature enabled without `experimental-inspect` enabled. [#​3834](https://togithub.com/PyO3/pyo3/pull/3834)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 6 months ago

Benchmark for 4a31d16

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1617.1±113.36µs | 1630.8±114.28µs | +0.85% | | Reclass::inventory() single-threaded | 3.6±0.06ms | 3.6±0.05ms | 0.00% |
simu commented 6 months ago

Looks like the Python version limit breaks the default maturin wheel builds. Leaving this unmerged for now.

github-actions[bot] commented 6 months ago

Benchmark for 495308b

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1638.4±118.26µs | 1644.0±148.61µs | +0.34% | | Reclass::inventory() single-threaded | 3.6±0.12ms | 3.6±0.08ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for c027885

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1637.1±109.52µs | 1621.1±59.27µs | -0.98% | | Reclass::inventory() single-threaded | 3.6±0.09ms | 3.6±0.04ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for abe72cf

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1632.1±115.36µs | 1641.0±119.85µs | +0.55% | | Reclass::inventory() single-threaded | 3.6±0.14ms | 3.6±0.04ms | 0.00% |
simu commented 6 months ago

CI issue has been reported upstream, cf. https://github.com/PyO3/maturin/issues/1960

github-actions[bot] commented 6 months ago

Benchmark for 5b55a36

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1608.1±55.89µs | 1640.4±120.18µs | +2.01% | | Reclass::inventory() single-threaded | **3.6±0.04ms** | 3.7±0.29ms | **+2.78%** |
github-actions[bot] commented 6 months ago

Benchmark for 2d59dfe

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1623.7±63.53µs | 1662.6±123.90µs | +2.40% | | Reclass::inventory() single-threaded | 3.6±0.06ms | 3.6±0.07ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for 1079427

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1614.5±54.64µs | 1662.2±138.53µs | +2.95% | | Reclass::inventory() single-threaded | 3.6±0.02ms | 3.6±0.04ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for 1e28c19

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1637.9±126.35µs | 1649.2±120.97µs | +0.69% | | Reclass::inventory() single-threaded | 3.6±0.09ms | 3.6±0.12ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for 293b922

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1655.3±120.27µs | 1624.4±53.96µs | -1.87% | | Reclass::inventory() single-threaded | 3.7±0.04ms | 3.7±0.11ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for bbf5a48

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1613.8±53.36µs | 1616.9±56.19µs | +0.19% | | Reclass::inventory() single-threaded | 3.6±0.05ms | 3.6±0.03ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for 4a2db1b

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1652.6±116.03µs | 1628.2±93.28µs | -1.48% | | Reclass::inventory() single-threaded | 3.6±0.11ms | 3.6±0.14ms | 0.00% |
github-actions[bot] commented 6 months ago

Benchmark for bd95489

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1658.1±125.38µs | 1664.1±124.69µs | +0.36% | | Reclass::inventory() single-threaded | 3.7±0.06ms | **3.6±0.07ms** | **-2.70%** |
github-actions[bot] commented 5 months ago

Benchmark for 3bfa7f4

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1647.2±127.84µs | 1659.8±169.52µs | +0.76% | | Reclass::inventory() single-threaded | 3.6±0.11ms | 3.6±0.06ms | 0.00% |
simu commented 5 months ago

Since PyO3 is one of the most important dependencies of this project, I'll keep the exact version specification, since we'll get update PRs from Renovate regardless of whether we specify the exact version or just a patch version.

simu commented 5 months ago

The CI issues have been fixed in maurin v1.5.0 which doesn't detect unsupported pre-release Python versions anymore when executed with --find-interpreter (cf. https://github.com/PyO3/maturin/pull/1964).

github-actions[bot] commented 5 months ago

Benchmark for 04af110

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Reclass::inventory() multi-threaded | 1612.5±57.37µs | 1631.7±118.18µs | +1.19% | | Reclass::inventory() single-threaded | 3.6±0.02ms | 3.6±0.03ms | 0.00% |