Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 19, 2025

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
pyo3 dependencies minor 0.24.0 -> 0.25.0 age adoption passing confidence
ruff (source, changelog) project.optional-dependencies patch ==0.11.9 -> ==0.11.10 age adoption passing confidence

Release Notes

pyo3/pyo3 (pyo3)

v0.25.0

Compare Source

Packaging
  • Support Python 3.14.0b1. #​4811
  • Bump supported GraalPy version to 24.2. #​5116
  • Add optional bigdecimal dependency to add conversions for bigdecimal::BigDecimal. #​5011
  • Add optional time dependency to add conversions for time types. #​5057
  • Remove cfg-if dependency. #​5110
  • Add optional ordered_float dependency to add conversions for ordered_float::NotNan and ordered_float::OrderedFloat. #​5114
Added
  • Add initial type stub generation to the experimental-inspect feature. #​3977
  • Add #[pyclass(generic)] option to support runtime generic typing. #​4926
  • Implement OnceExt & MutexExt for parking_lot & lock_api. Use the new extension traits by enabling the arc_lock, lock_api, or parking_lot cargo features. #​5044
  • Implement From/Into for Borrowed<T> -> Py<T>. #​5054
  • Add PyTzInfo constructors. #​5055
  • Add FFI definition PY_INVALID_STACK_EFFECT. #​5064
  • Implement AsRef<Py<PyAny>> for Py<T>, Bound<T> and Borrowed<T>. #​5071
  • Add FFI definition PyModule_Add and compat::PyModule_Add. #​5085
  • Add FFI definitions Py_HashBuffer, Py_HashPointer, and PyObject_GenericHash. #​5086
  • Support #[pymodule_export] on const items in declarative modules. #​5096
  • Add #[pyclass(immutable_type)] option (on Python 3.14+ with abi3, or 3.10+ otherwise) for immutable type objects. #​5101
  • Support #[pyo3(rename_all)] support on #[derive(IntoPyObject)]. #​5112
  • Add PyRange wrapper. #​5117
Changed
  • Enable use of datetime types with abi3 feature enabled. #​4970
  • Deprecate timezone_utc in favor of PyTzInfo::utc. #​5055
  • Reduce visibility of some CPython implementation details: #​5064
    • The FFI definition PyCodeObject is now an opaque struct on all Python versions.
    • The FFI definition PyFutureFeatures is now only defined up until Python 3.10 (it was present in CPython headers but unused in 3.11 and 3.12).
  • Change PyAnyMethods::is to take other: &Bound<T>. #​5071
  • Change Py::is to take other: &Py<T>. #​5071
  • Change PyVisit::call to take T: Into<Option<&Py<T>>>. #​5071
  • Expose PyDateTime_DATE_GET_TZINFO and PyDateTime_TIME_GET_TZINFO on PyPy 3.10 and later. #​5079
  • Add #[track_caller] to with_gil and with_gil_unchecked. #​5109
  • Use std::thread::park() instead of libc::pause() or sleep(9999999). #​5115
Removed
  • Remove all functionality deprecated in PyO3 0.23. #​4982
  • Remove deprecated IntoPy and ToPyObject traits. #​5010
  • Remove private types from pyo3-ffi (i.e. starting with _Py) which are not referenced by public APIs: _PyLocalMonitors, _Py_GlobalMonitors, _PyCoCached, _PyCoLineInstrumentationData, _PyCoMonitoringData, _PyCompilerSrcLocation, _PyErr_StackItem. #​5064
  • Remove FFI definition PyCode_GetNumFree (PyO3 cannot support it due to knowledge of the code object). #​5064
  • Remove AsPyPointer trait. #​5071
  • Remove support for the deprecated string form of from_py_with. #​5097
  • Remove FFI definitions of private static variables: _PyMethodWrapper_Type, _PyCoroWrapper_Type, _PyImport_FrozenBootstrap, _PyImport_FrozenStdlib, _PyImport_FrozenTest, _PyManagedBuffer_Type, _PySet_Dummy, _PyWeakref_ProxyType, and _PyWeakref_CallableProxyType. #​5105
  • Remove FFI definitions PyASCIIObjectState, PyUnicode_IS_ASCII, PyUnicode_IS_COMPACT, and PyUnicode_IS_COMPACT_ASCII on Python 3.14 and newer. #​5133
Fixed
  • Correctly pick up the shared state for conda-based Python installation when reading information from sysconfigdata. #​5037
  • Fix compile failure with #[derive(IntoPyObject, FromPyObject)] when using #[pyo3()] options recognised by only one of the two derives. #​5070
  • Fix various compile errors from missing FFI definitions using certain feature combinations on PyPy and GraalPy. #​5091
  • Fallback on backports.zoneinfo for python <3.9 when converting timezones into python. #​5120
astral-sh/ruff (ruff)

v0.11.10

Compare Source

Preview features
  • [ruff] Implement a recursive check for RUF060 (#​17976)
  • [airflow] Enable autofixes for AIR301 and AIR311 (#​17941)
  • [airflow] Apply try catch guard to all AIR3 rules (#​17887)
  • [airflow] Extend AIR311 rules (#​17913)
Bug fixes
  • [flake8-bugbear] Ignore B028 if skip_file_prefixes is present (#​18047)
  • [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments (#​18046)
  • [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) (#​18075)
  • [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal (#​18045)
  • [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) (#​17968)
  • [refurb] Mark autofix as safe only for number literals (FURB116) (#​17692)
Rule changes
  • [flake8-bandit] Skip S608 for expressionless f-strings (#​17999)
  • [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) (#​17650)
  • [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) (#​17933)
CLI
Documentation
  • Update Neovim setup docs (#​18108)
  • [flake8-simplify] Add fix safety section (SIM103) (#​18086)
  • [flake8-simplify] Add fix safety section (SIM112) (#​18099)
  • [pylint] Add fix safety section (PLC0414) (#​17802)
  • [pylint] Add fix safety section (PLE4703) (#​17824)
  • [pylint] Add fix safety section (PLW1514) (#​17932)
  • [pylint] Add fix safety section (PLW3301) (#​17878)
  • [ruff] Add fix safety section (RUF007) (#​17755)
  • [ruff] Add fix safety section (RUF033) (#​17760)

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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot merged commit f73d2f1 into main May 19, 2025
44 checks passed
@renovate renovate bot deleted the renovate/dependencies-(non-major) branch May 19, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant