Skip to content

Commit 8d465cc

Browse files
Bump pyo3 from 0.20.2 to 0.20.3 (#40)
Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.20.2 to 0.20.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pyo3/pyo3/releases">pyo3's releases</a>.</em></p> <blockquote> <h2>PyO3 0.20.3</h2> <p>This is a stability &amp; compatibility release to fix a couple of minor compilation edge cases from PyO3 0.20.2.</p> <p>The <code>portable-atomic</code> dependency has been added to resolve compile failures on platforms without 64-bit atomic support.</p> <p>A maximum Python version check (currently for Python 3.12) has been added to prevent using old PyO3 code against future Python versions beyond the supported range.</p> <p>Thank you to the following users for the improvements:</p> <p><a href="https://github.com/adamreichold"><code>@​adamreichold</code></a> <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md">pyo3's changelog</a>.</em></p> <blockquote> <h2>[0.20.3] - 2024-02-23</h2> <h3>Packaging</h3> <ul> <li>Add <code>portable-atomic</code> dependency. <a href="https://redirect.github.com/PyO3/pyo3/pull/3619">#3619</a></li> <li>Check maximum version of Python at build time and for versions not yet supported require opt-in to the <code>abi3</code> stable ABI by the environment variable <code>PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1</code>. <a href="https://redirect.github.com/PyO3/pyo3/pull/3821">#3821</a></li> </ul> <h3>Fixed</h3> <ul> <li>Use <code>portable-atomic</code> to support platforms without 64-bit atomics. <a href="https://redirect.github.com/PyO3/pyo3/pull/3619">#3619</a></li> <li>Fix compilation failure with <code>either</code> feature enabled without <code>experimental-inspect</code> enabled. <a href="https://redirect.github.com/PyO3/pyo3/pull/3834">#3834</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyO3/pyo3/commit/901f54ba1fff1da69c3e2b346147b7022ee53ddc"><code>901f54b</code></a> release: 0.20.3</li> <li><a href="https://github.com/PyO3/pyo3/commit/23298629e78217ca5cd7fac77197043635392507"><code>2329862</code></a> ci: workaround more aggressive nightly rust lints</li> <li><a href="https://github.com/PyO3/pyo3/commit/284d6ee25b3d2a5d3d2a90a384faea3178fa7c45"><code>284d6ee</code></a> ci: updates for Rust 1.76</li> <li><a href="https://github.com/PyO3/pyo3/commit/482883a78c47ca729cca822d513951df365d9afb"><code>482883a</code></a> fix <code>either</code> feature conditional compilation, again (<a href="https://redirect.github.com/pyo3/pyo3/issues/3834">#3834</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/c375c8a186398cd5e4c90f548eefee8c7d5602a2"><code>c375c8a</code></a> add maximum Python version check (<a href="https://redirect.github.com/pyo3/pyo3/issues/3821">#3821</a>)</li> <li><a href="https://github.com/PyO3/pyo3/commit/9d1b11f70459367593e4cb92919f5f98c156dda9"><code>9d1b11f</code></a> Use portable-atomic for targets which lack 64-bit atomics used to check inter...</li> <li><a href="https://github.com/PyO3/pyo3/commit/4774ded49a998d4bb021cd23664a46d33d606401"><code>4774ded</code></a> Merge pull request <a href="https://redirect.github.com/pyo3/pyo3/issues/3725">#3725</a> from PyO3/release-0.20.2</li> <li>See full diff in <a href="https://github.com/pyo3/pyo3/compare/v0.20.2...v0.20.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyo3&package-manager=cargo&previous-version=0.20.2&new-version=0.20.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 6b29a96 + 391a5dc commit 8d465cc

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

Cargo.lock

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ dependencies = [
8686
"windows-targets",
8787
]
8888

89+
[[package]]
90+
name = "portable-atomic"
91+
version = "1.6.0"
92+
source = "registry+https://github.com/rust-lang/crates.io-index"
93+
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
94+
8995
[[package]]
9096
name = "proc-macro2"
9197
version = "1.0.69"
@@ -104,15 +110,16 @@ dependencies = [
104110

105111
[[package]]
106112
name = "pyo3"
107-
version = "0.20.2"
113+
version = "0.20.3"
108114
source = "registry+https://github.com/rust-lang/crates.io-index"
109-
checksum = "9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0"
115+
checksum = "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
110116
dependencies = [
111117
"cfg-if",
112118
"indoc",
113119
"libc",
114120
"memoffset",
115121
"parking_lot",
122+
"portable-atomic",
116123
"pyo3-build-config",
117124
"pyo3-ffi",
118125
"pyo3-macros",
@@ -121,29 +128,29 @@ dependencies = [
121128

122129
[[package]]
123130
name = "pyo3-build-config"
124-
version = "0.20.2"
131+
version = "0.20.3"
125132
source = "registry+https://github.com/rust-lang/crates.io-index"
126-
checksum = "07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be"
133+
checksum = "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
127134
dependencies = [
128135
"once_cell",
129136
"target-lexicon",
130137
]
131138

132139
[[package]]
133140
name = "pyo3-ffi"
134-
version = "0.20.2"
141+
version = "0.20.3"
135142
source = "registry+https://github.com/rust-lang/crates.io-index"
136-
checksum = "dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1"
143+
checksum = "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
137144
dependencies = [
138145
"libc",
139146
"pyo3-build-config",
140147
]
141148

142149
[[package]]
143150
name = "pyo3-macros"
144-
version = "0.20.2"
151+
version = "0.20.3"
145152
source = "registry+https://github.com/rust-lang/crates.io-index"
146-
checksum = "05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3"
153+
checksum = "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
147154
dependencies = [
148155
"proc-macro2",
149156
"pyo3-macros-backend",
@@ -153,12 +160,13 @@ dependencies = [
153160

154161
[[package]]
155162
name = "pyo3-macros-backend"
156-
version = "0.20.2"
163+
version = "0.20.3"
157164
source = "registry+https://github.com/rust-lang/crates.io-index"
158-
checksum = "0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f"
165+
checksum = "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
159166
dependencies = [
160167
"heck",
161168
"proc-macro2",
169+
"pyo3-build-config",
162170
"quote",
163171
"syn",
164172
]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ crate-type = ["cdylib",]
99

1010

1111
[dependencies]
12-
pyo3 = { version = "^0.20.2", features = ["extension-module"] }
12+
pyo3 = { version = "^0.20.3", features = ["extension-module"] }

0 commit comments

Comments
 (0)