Skip to content

⬆️ Bump the all group with 5 updates#68

Merged
Ousret merged 5 commits intomainfrom
dependabot/cargo/all-8701ea5fa2
Apr 7, 2025
Merged

⬆️ Bump the all group with 5 updates#68
Ousret merged 5 commits intomainfrom
dependabot/cargo/all-8701ea5fa2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 2, 2025

Bumps the all group with 5 updates:

Package From To
pyo3 0.23.5 0.24.1
rustls 0.23.23 0.23.25
rsa 0.9.7 0.9.8
aws-lc-rs 1.12.5 1.13.0
serde 1.0.218 1.0.219

Updates pyo3 from 0.23.5 to 0.24.1

Release notes

Sourced from pyo3's releases.

v0.24.1

This release is a security fix for the PyString::from_object method, which passed &str data to the Python C API without checking for a terminating nul byte. All historical PyO3 versions are affected, and we recommend you upgrade if you are using PyString::from_object. Thank you to @​vthib for the report and @​Dr-Emann for the fix. A RUSTSEC advisory will be published shortly.

Aside from the security fix, this release contains a number of other non-breaking additions:

  • An abi3-py313 feature to support compiling with the Python 3.13 stable ABI.
  • PyAnyMethods::getattr_opt to get optional attributes without paying the cost of a Python exception when the attribute in question does not exist.
  • Constructor for PyInt::new.
  • with_critical_section2 for locking two objects at the same time on the free-threaded build.
  • Fix for a PyO3 0.24.0 regression with Option<&str> and Option<&T> (where T: PyClass) function arguments no longer being permitted

There are also a few other small bug fixes for edge cases, mostly related to compile errors from PyO3's macro code.

Thank you to the following contributors for the improvements:

@​bschoenmaeckers @​davidhewitt @​Dr-Emann @​emmagordon @​epontan @​Icxolu @​IvanIsCoding @​jelmer @​jonaspleyer @​ngoldbaum @​Owen-CH-Leung @​Tpt @​Trolldemorted @​XuehaiPan

PyO3 0.24.0

This release is an incremental improvement of refinements and optimizations following the new APIs established in PyO3's last few releases.

Support for jiff datetime conversions have been added, and also UUID conversions.

The FromPyObject derive macro has gained new #[pyo3(default = ...)] and #[pyo3(rename_all = ...)] options, and the IntoPyObject derive macro has gained a new #[pyo3(into_py_with = ...)] option.

PyO3 will now pass positional arguments to Python functions using the "vectorcall" protocol in many cases, which should be an optimization over the previous behaviour (of creating a Python tuple of positional arguments).

Many methods on iterators of Python collections have been optimized.

There are also many other incremental improvements, bug fixes and smaller features.

Thank you to everyone who contributed code, documentation, design ideas, bug reports, and feedback. The following contributors' commits are included in this release:

@​0x676e67 @​alex @​arielb1 @​bschoenmaeckers @​davidhewitt

... (truncated)

Changelog

Sourced from pyo3's changelog.

[0.24.1] - 2025-03-31

Added

  • Add abi3-py313 feature. #4969
  • Add PyAnyMethods::getattr_opt. #4978
  • Add PyInt::new constructor for all supported number types (i32, u32, i64, u64, isize, usize). #4984
  • Add pyo3::sync::with_critical_section2. #4992
  • Implement PyCallArgs for Borrowed<'_, 'py, PyTuple>, &Bound<'py, PyTuple>, and &Py<PyTuple>. #5013

Fixed

  • Fix is_type_of for native types not using same specialized check as is_type_of_bound. #4981
  • Fix Probe class naming issue with #[pymethods]. #4988
  • Fix compile failure with required #[pyfunction] arguments taking Option<&str> and Option<&T> (for #[pyclass] types). #5002
  • Fix PyString::from_object causing of bounds reads whith encoding and errors parameters which are not nul-terminated. #5008
  • Fix compile error when additional options follow after crate for #[pyfunction]. #5015

[0.24.0] - 2025-03-09

Packaging

  • Add supported CPython/PyPy versions to cargo package metadata. #4756
  • Bump target-lexicon dependency to 0.13. #4822
  • Add optional jiff dependency to add conversions for jiff datetime types. #4823
  • Add optional uuid dependency to add conversions for uuid::Uuid. #4864
  • Bump minimum supported inventory version to 0.3.5. #4954

Added

  • Add PyIterator::send method to allow sending values into a python generator. #4746
  • Add PyCallArgs trait for passing arguments into the Python calling protocol. This enabled using a faster calling convention for certain types, improving performance. #4768
  • Add #[pyo3(default = ...'] option for #[derive(FromPyObject)] to set a default value for extracted fields of named structs. #4829
  • Add #[pyo3(into_py_with = ...)] option for #[derive(IntoPyObject, IntoPyObjectRef)]. #4850
  • Add FFI definitions PyThreadState_GetFrame and PyFrame_GetBack. #4866
  • Optimize last for BoundListIterator, BoundTupleIterator and BorrowedTupleIterator. #4878
  • Optimize Iterator::count() for PyDict, PyList, PyTuple & PySet. #4878
  • Optimize nth, nth_back, advance_by and advance_back_by for BoundTupleIterator #4897
  • Add support for types.GenericAlias as pyo3::types::PyGenericAlias. #4917
  • Add MutextExt trait to help avoid deadlocks with the GIL while locking a std::sync::Mutex. #4934
  • Add #[pyo3(rename_all = "...")] option for #[derive(FromPyObject)]. #4941

Changed

  • Optimize nth, nth_back, advance_by and advance_back_by for BoundListIterator. #4810
  • Use DerefToPyAny in blanket implementations of From<Py<T>> and From<Bound<'py, T>> for PyObject. #4593
  • Map io::ErrorKind::IsADirectory/NotADirectory to the corresponding Python exception on Rust 1.83+. #4747
  • PyAnyMethods::call and friends now require PyCallArgs for their positional arguments. #4768
  • Expose FFI definitions for PyObject_Vectorcall(Method) on the stable abi on 3.12+. #4853
  • #[pyo3(from_py_with = ...)] now take a path rather than a string literal #4860

... (truncated)

Commits

Updates rustls from 0.23.23 to 0.23.25

Commits
  • 1e2b4f3 Prepare 0.23.25
  • 317c5bf Map webpki RequiredEkuNotFound error to InvalidPurpose
  • 3ab8a8e Prepare 0.23.24
  • 70e2b1c Add warning about server-side cross-config resumption
  • 1c318bc Refactor: prefer to take reference on match scrutinee
  • 7a64c74 admin/coverage: only measure core crate coverage
  • 94d4cb7 chore(deps): update dependency go to v1.24.1
  • a209a0e docs: link to manual from front page
  • 8464356 Mark unreachable functions with coverage(off)
  • 4f2d21e Prefer to put check-cfg data in Cargo.toml
  • Additional commits viewable in compare view

Updates rsa from 0.9.7 to 0.9.8

Changelog

Sourced from rsa's changelog.

0.9.8 (2025-03-12)

Added

  • Doc comments to specify the rand version (#473)

#473: RustCrypto/RSA#473

Commits

Updates aws-lc-rs from 1.12.5 to 1.13.0

Release notes

Sourced from aws-lc-rs's releases.

aws-lc-rs v1.13.0

What's Changed

Build improvements

Issues Being Resolved

Other Merged PRs

New Contributors

Full Changelog: aws/aws-lc-rs@v1.12.6...v1.13.0

aws-lc-rs v1.12.6

What's Changed

Build improvements

Issues Being Resolved

  • Could not compile on Windows with crate rustls with config debug="limited" #707

... (truncated)

Commits

Updates serde from 1.0.218 to 1.0.219

Release notes

Sourced from serde's releases.

v1.0.219

  • Prevent absolute_paths Clippy restriction being triggered inside macro-generated code (#2906, thanks @​davidzeng0)
Commits
  • 49d098d Release 1.0.219
  • 40f1d19 Wrap dummy.rs to 80 columns
  • 514848b Merge pull request #2906 from davidzeng0/master
  • 168b6cf fix clippy absolute paths warning
  • a8bdd17 Remove unused Punctuated import
  • 1c96013 Resolve mem_replace_with_default clippy lint
  • f0d1ae0 Ignore elidable_lifetime_names pedantic clippy lint
  • e3eaa6a Merge pull request #2896 from dtolnay/stabledoc
  • 6a630cf Also link to stable proc_macro
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [pyo3](https://github.com/pyo3/pyo3) | `0.23.5` | `0.24.1` |
| [rustls](https://github.com/rustls/rustls) | `0.23.23` | `0.23.25` |
| [rsa](https://github.com/RustCrypto/RSA) | `0.9.7` | `0.9.8` |
| [aws-lc-rs](https://github.com/aws/aws-lc-rs) | `1.12.5` | `1.13.0` |
| [serde](https://github.com/serde-rs/serde) | `1.0.218` | `1.0.219` |


Updates `pyo3` from 0.23.5 to 0.24.1
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/v0.24.1/CHANGELOG.md)
- [Commits](PyO3/pyo3@v0.23.5...v0.24.1)

Updates `rustls` from 0.23.23 to 0.23.25
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](rustls/rustls@v/0.23.23...v/0.23.25)

Updates `rsa` from 0.9.7 to 0.9.8
- [Changelog](https://github.com/RustCrypto/RSA/blob/master/CHANGELOG.md)
- [Commits](RustCrypto/RSA@v0.9.7...v0.9.8)

Updates `aws-lc-rs` from 1.12.5 to 1.13.0
- [Release notes](https://github.com/aws/aws-lc-rs/releases)
- [Commits](aws/aws-lc-rs@v1.12.5...v1.13.0)

Updates `serde` from 1.0.218 to 1.0.219
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.218...v1.0.219)

---
updated-dependencies:
- dependency-name: pyo3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: rustls
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: rsa
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: aws-lc-rs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 2, 2025
Ousret added 3 commits April 4, 2025 07:47
it was used as a workaround until actions/setup-python integrate the freethreaded build natively
@Ousret Ousret force-pushed the dependabot/cargo/all-8701ea5fa2 branch 4 times, most recently from 5387cef to 1a0ebbe Compare April 7, 2025 05:58
it was used as a workaround until actions/setup-python integrate the freethreaded build natively
@Ousret Ousret force-pushed the dependabot/cargo/all-8701ea5fa2 branch from 1a0ebbe to 7d11591 Compare April 7, 2025 06:18
@Ousret Ousret merged commit 285f04d into main Apr 7, 2025
0 of 34 checks passed
@Ousret Ousret deleted the dependabot/cargo/all-8701ea5fa2 branch April 7, 2025 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant