Skip to content
Snippets Groups Projects
Commit 63e86fc9bfec authored by Simon Sapin's avatar Simon Sapin
Browse files

rust: update the rust-cpython crate to 0.7.0

This notably brings support for Python 3.10, and includes the panic message
when propagating a Rust panic as a Python exception.

https://github.com/dgrunwald/rust-cpython/blob/master/CHANGELOG.md#070---2021-10-09

Differential Revision: https://phab.mercurial-scm.org/D11630
parent 47fabca85457
No related branches found
No related tags found
No related merge requests found
......@@ -159,5 +159,5 @@
[[package]]
name = "cpython"
version = "0.6.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
......@@ -163,5 +163,5 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8094679a4e9bfc8035572162624bc800eda35b5f9eff2537b9cd9aacc3d9782e"
checksum = "b7d46ba8ace7f3a1d204ac5060a706d0a68de6b42eafb6a586cc08bebcffe664"
dependencies = [
"libc",
"num-traits",
......@@ -655,5 +655,5 @@
[[package]]
name = "python27-sys"
version = "0.6.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
......@@ -659,5 +659,5 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5826ddbc5366eb0b0492040fdc25bf50bb49092c192bd45e80fb7a24dc6832ab"
checksum = "94670354e264300dde81a5864cbb6bfc9d56ac3dcf3a278c32cb52f816f4dfd1"
dependencies = [
"libc",
"regex",
......@@ -665,5 +665,5 @@
[[package]]
name = "python3-sys"
version = "0.6.0"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
......@@ -669,5 +669,5 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b78af21b29594951a47fc3dac9b9eff0a3f077dec2f780ee943ae16a668f3b6a"
checksum = "b18b32e64c103d5045f44644d7ddddd65336f7a0521f6fde673240a9ecceb77e"
dependencies = [
"libc",
"regex",
......
......@@ -21,9 +21,10 @@
python3-bin = ["cpython/python3-sys"]
[dependencies]
cpython = { version = "0.7.0", default-features = false }
crossbeam-channel = "0.4"
hg-core = { path = "../hg-core"}
libc = "0.2"
log = "0.4.8"
env_logger = "0.7.1"
stable_deref_trait = "1.2.0"
......@@ -24,10 +25,6 @@
crossbeam-channel = "0.4"
hg-core = { path = "../hg-core"}
libc = "0.2"
log = "0.4.8"
env_logger = "0.7.1"
stable_deref_trait = "1.2.0"
[dependencies.cpython]
version = "0.6.0"
default-features = false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment