Skip to content

Commit ed6b7ba

Browse files
Bump pyo3 from 0.23.5 to 0.24.2 (#18460)
Also bump pythonize from 0.23.0 to 0.24.0, otherwise we couldn't compile as pythonize 0.23.0 required pyo3 "^0.23.0". Addresses [RUSTSEC-2025-0020](https://rustsec.org/advisories/RUSTSEC-2025-0020), although Synapse is not affected as we don't make use of `PyString::from_object`. [pyo3 0.24.x](https://github.com/PyO3/pyo3/releases/tag/v0.24.0) include some performance optimisations apparently, and no breaking changes. ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [x] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [x] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))
1 parent b7d4841 commit ed6b7ba

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

changelog.d/18460.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump pyo3 from 0.23.5 to 0.24.2.

rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ http = "1.1.0"
3030
lazy_static = "1.4.0"
3131
log = "0.4.17"
3232
mime = "0.3.17"
33-
pyo3 = { version = "0.23.5", features = [
33+
pyo3 = { version = "0.24.2", features = [
3434
"macros",
3535
"anyhow",
3636
"abi3",
3737
"abi3-py39",
3838
] }
3939
pyo3-log = "0.12.0"
40-
pythonize = "0.23.0"
40+
pythonize = "0.24.0"
4141
regex = "1.6.0"
4242
sha2 = "0.10.8"
4343
serde = { version = "1.0.144", features = ["derive"] }

0 commit comments

Comments
 (0)