diff --git a/eden/scm/edenscmnative/bindings/Cargo.toml b/eden/scm/edenscmnative/bindings/Cargo.toml index 79780f08ac..86e2a6d245 100644 --- a/eden/scm/edenscmnative/bindings/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/Cargo.toml @@ -12,7 +12,7 @@ incremental = true lto = false [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } env_logger = "0.7" pyblackbox = { path = "modules/pyblackbox" } pybookmarkstore = { path = "modules/pybookmarkstore" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyblackbox/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyblackbox/Cargo.toml index eace9abe24..8a03b67b07 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyblackbox/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyblackbox/Cargo.toml @@ -6,4 +6,4 @@ edition = "2018" [dependencies] blackbox = { path = "../../../../lib/blackbox" } cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } diff --git a/eden/scm/edenscmnative/bindings/modules/pybookmarkstore/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pybookmarkstore/Cargo.toml index 8741f181f5..fc5181e15f 100644 --- a/eden/scm/edenscmnative/bindings/modules/pybookmarkstore/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pybookmarkstore/Cargo.toml @@ -5,6 +5,6 @@ edition = "2018" [dependencies] bookmarkstore = { path = "../../../../lib/bookmarkstore" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } types = { path = "../../../../lib/types" } diff --git a/eden/scm/edenscmnative/bindings/modules/pycliparser/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pycliparser/Cargo.toml index 75ef3012c7..a3bbe81cf4 100644 --- a/eden/scm/edenscmnative/bindings/modules/pycliparser/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pycliparser/Cargo.toml @@ -7,5 +7,5 @@ edition = "2018" clidispatch = { path = "../../../../lib/clidispatch" } cliparser = { path = "../../../../lib/cliparser", features = ["python"] } cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } pyconfigparser = { path = "../pyconfigparser" } diff --git a/eden/scm/edenscmnative/bindings/modules/pycommands/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pycommands/Cargo.toml index 9d4bcefb4a..2479a857f3 100644 --- a/eden/scm/edenscmnative/bindings/modules/pycommands/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pycommands/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" [dependencies] clidispatch = { path = "../../../../lib/clidispatch" } cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } hgcommands = { path = "../../../../lib/hgcommands" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyconfigparser/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyconfigparser/Cargo.toml index 0715381c8f..7db45550e9 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyconfigparser/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyconfigparser/Cargo.toml @@ -6,6 +6,6 @@ edition = "2018" [dependencies] bytes = "0.4.11" configparser = { path = "../../../../lib/configparser" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } util = { path = "../../../../lib/util" } diff --git a/eden/scm/edenscmnative/bindings/modules/pydag/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pydag/Cargo.toml index 19fe564cc5..e415890d93 100644 --- a/eden/scm/edenscmnative/bindings/modules/pydag/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pydag/Cargo.toml @@ -5,6 +5,6 @@ edition = "2018" [dependencies] cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } dag = { path = "../../../../lib/dag" } anyhow = "1.0.20" diff --git a/eden/scm/edenscmnative/bindings/modules/pyedenapi/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyedenapi/Cargo.toml index dbd4316c5b..6a28224c49 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyedenapi/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyedenapi/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] bytes = "0.4" cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } edenapi = { path = "../../../../lib/edenapi" } pyrevisionstore = { path = "../pyrevisionstore" } revisionstore = { path = "../../../../lib/revisionstore" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyerror/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyerror/Cargo.toml index 6afbb29b48..9b07db7c32 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyerror/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyerror/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } indexedlog = { path = "../../../../lib/indexedlog" } metalog = { path = "../../../../lib/metalog" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyhgtime/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyhgtime/Cargo.toml index e66858cf34..557936ec5c 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyhgtime/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyhgtime/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } hgtime = { path = "../../../../lib/hgtime" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyindexes/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyindexes/Cargo.toml index eea00eca0e..cc0cd19853 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyindexes/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyindexes/Cargo.toml @@ -15,9 +15,9 @@ anyhow = "1.0.20" thiserror = "1.0.5" [dependencies.cpython] -version = "0.3" +version = "0.4" default-features = false features = ["python27-sys"] [dependencies.python27-sys] -version = "0.3" +version = "0.4" diff --git a/eden/scm/edenscmnative/bindings/modules/pylz4/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pylz4/Cargo.toml index a73e3e68e4..3b641b7cac 100644 --- a/eden/scm/edenscmnative/bindings/modules/pylz4/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pylz4/Cargo.toml @@ -5,5 +5,5 @@ edition = "2018" [dependencies] cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } lz4-pyframe = { path = "../../../../lib/lz4-pyframe" } diff --git a/eden/scm/edenscmnative/bindings/modules/pymanifest/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pymanifest/Cargo.toml index daedc3dafd..7f2dbc3917 100644 --- a/eden/scm/edenscmnative/bindings/modules/pymanifest/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pymanifest/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" anyhow = "1.0.20" bytes = { version = "0.4.11" } cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } manifest = { path = "../../../../lib/manifest" } manifest-tree = { path = "../../../../lib/manifest-tree" } pathmatcher = { path = "../../../../lib/pathmatcher" } diff --git a/eden/scm/edenscmnative/bindings/modules/pymetalog/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pymetalog/Cargo.toml index 16840c7f13..8ddae55faa 100644 --- a/eden/scm/edenscmnative/bindings/modules/pymetalog/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pymetalog/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } metalog = { path = "../../../../lib/metalog" } diff --git a/eden/scm/edenscmnative/bindings/modules/pymutationstore/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pymutationstore/Cargo.toml index 382a687221..dcdbcde833 100644 --- a/eden/scm/edenscmnative/bindings/modules/pymutationstore/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pymutationstore/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" anyhow = "1.0.20" byteorder = "1.2.7" cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } mutationstore = { path = "../../../../lib/mutationstore" } thiserror = "1.0.5" types = { path = "../../../../lib/types" } diff --git a/eden/scm/edenscmnative/bindings/modules/pynodemap/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pynodemap/Cargo.toml index 7fea3547ed..f7833c2249 100644 --- a/eden/scm/edenscmnative/bindings/modules/pynodemap/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pynodemap/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } nodemap = { path = "../../../../lib/nodemap" } types = { path = "../../../../lib/types" } diff --git a/eden/scm/edenscmnative/bindings/modules/pypathmatcher/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pypathmatcher/Cargo.toml index b47561227f..6892522b7f 100644 --- a/eden/scm/edenscmnative/bindings/modules/pypathmatcher/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pypathmatcher/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" [dependencies] cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } encoding = { path = "../../../../lib/encoding" } pathmatcher = { path = "../../../../lib/pathmatcher" } types = { path = "../../../../lib/types" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyrenderdag/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyrenderdag/Cargo.toml index 53cf95f76e..531b3a9799 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrenderdag/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyrenderdag/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } renderdag = { path = "../../../../lib/renderdag" } parking_lot = "0.9" diff --git a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/Cargo.toml index 4aca05c671..816f1f044c 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] anyhow = "1.0.20" cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } parking_lot = "0.9.0" pyconfigparser = { path = "../pyconfigparser" } revisionstore = { path = "../../../../lib/revisionstore" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/datastorepyext.rs b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/datastorepyext.rs index 2d0eca1fec..5543897d3f 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/datastorepyext.rs +++ b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/datastorepyext.rs @@ -136,7 +136,7 @@ impl DataStorePyExt for T { let results = PyList::new(py, &[]); for key in missing { let key_tuple = from_key_to_tuple(py, &key); - results.insert_item(py, results.len(py), key_tuple.into_object()); + results.append(py, key_tuple.into_object()); } Ok(results) diff --git a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/historystorepyext.rs b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/historystorepyext.rs index f6b445257b..790e00aee3 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/historystorepyext.rs +++ b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/historystorepyext.rs @@ -59,7 +59,7 @@ impl HistoryStorePyExt for T { let results = PyList::new(py, &[]); for key in missing { let key_tuple = from_key_to_tuple(py, &key); - results.insert_item(py, results.len(py), key_tuple.into_object()); + results.append(py, key_tuple.into_object()); } Ok(results) diff --git a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/pythondatastore.rs b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/pythondatastore.rs index 7e01cbf1c1..5e9520072d 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/pythondatastore.rs +++ b/eden/scm/edenscmnative/bindings/modules/pyrevisionstore/src/pythondatastore.rs @@ -175,7 +175,7 @@ impl LocalStore for PythonDataStore { let py_missing = PyList::new(py, &[]); for key in keys.iter() { let py_key = from_key_to_tuple(py, &key); - py_missing.insert_item(py, py_missing.len(py), py_key.into_object()); + py_missing.append(py, py_key.into_object()); } let py_missing = self diff --git a/eden/scm/edenscmnative/bindings/modules/pyrevlogindex/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyrevlogindex/Cargo.toml index 6f70a68b48..37d3758168 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyrevlogindex/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyrevlogindex/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } dag = { path = "../../../../lib/dag" } pydag = { path = "../pydag" } diff --git a/eden/scm/edenscmnative/bindings/modules/pystackdesc/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pystackdesc/Cargo.toml index d986a2b63b..9d9c1da699 100644 --- a/eden/scm/edenscmnative/bindings/modules/pystackdesc/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pystackdesc/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } stackdesc = { path = "../../../../lib/stackdesc/" } diff --git a/eden/scm/edenscmnative/bindings/modules/pythreading/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pythreading/Cargo.toml index 74f8cf28cc..8cb1dee118 100644 --- a/eden/scm/edenscmnative/bindings/modules/pythreading/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pythreading/Cargo.toml @@ -9,9 +9,9 @@ lto = "thin" [dependencies] [dependencies.cpython] -version = "0.3" +version = "0.4" default-features = false features = ["python27-sys"] [dependencies.python27-sys] -version = "0.3" +version = "0.4" diff --git a/eden/scm/edenscmnative/bindings/modules/pytracing/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pytracing/Cargo.toml index 402e6c8ef4..f36c8bad9f 100644 --- a/eden/scm/edenscmnative/bindings/modules/pytracing/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pytracing/Cargo.toml @@ -10,11 +10,11 @@ python3 = [] [dependencies] cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } lazy_static = "1" mincode = { path = "../../../../lib/mincode" } parking_lot = "0.9" -python27-sys = "0.3" +python27-sys = "0.4" serde_json = "1" tracing = "0.1" tracing-collector = { path = "../../../../lib/tracing-collector" } diff --git a/eden/scm/edenscmnative/bindings/modules/pytreestate/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pytreestate/Cargo.toml index 39fac86f53..59fb796f4f 100644 --- a/eden/scm/edenscmnative/bindings/modules/pytreestate/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pytreestate/Cargo.toml @@ -6,5 +6,5 @@ edition = "2018" [dependencies] anyhow = "1.0.20" cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } treestate = { path = "../../../../lib/treestate" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyvlq/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyvlq/Cargo.toml index 4a52fd4108..9a105a4ce4 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyvlq/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyvlq/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } vlqencoding = { path = "../../../../lib/vlqencoding" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyworkingcopy/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyworkingcopy/Cargo.toml index d67311cafb..dce2820476 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyworkingcopy/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyworkingcopy/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" [dependencies] anyhow = "1.0.20" -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } encoding = { path = "../../../../lib/encoding" } pathmatcher = { path = "../../../../lib/pathmatcher" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyzstd/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyzstd/Cargo.toml index 314a8492c5..c125437210 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyzstd/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyzstd/Cargo.toml @@ -5,6 +5,6 @@ edition = "2018" [dependencies] cpython-ext = { path = "../../../../lib/cpython-ext" } -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } zstd = "0.4.18" zstdelta = { path = "../../../../lib/zstdelta/" } diff --git a/eden/scm/edenscmnative/bindings/modules/pyzstore/Cargo.toml b/eden/scm/edenscmnative/bindings/modules/pyzstore/Cargo.toml index d0058545bb..c8f9f96565 100644 --- a/eden/scm/edenscmnative/bindings/modules/pyzstore/Cargo.toml +++ b/eden/scm/edenscmnative/bindings/modules/pyzstore/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2018" [dependencies] -cpython = { version = "0.3", features = ["python27-sys"], default-features = false } +cpython = { version = "0.4", features = ["python27-sys"], default-features = false } cpython-ext = { path = "../../../../lib/cpython-ext" } zstore = { path = "../../../../lib/zstore" } diff --git a/eden/scm/lib/cliparser/Cargo.toml b/eden/scm/lib/cliparser/Cargo.toml index c9be22edb8..1c7e750da6 100644 --- a/eden/scm/lib/cliparser/Cargo.toml +++ b/eden/scm/lib/cliparser/Cargo.toml @@ -12,7 +12,7 @@ cpython-ext = { path = "../cpython-ext", optional = true } thiserror = "1.0.5" [dependencies.cpython] -version = "0.3" +version = "0.4" default-features = false features = ["python27-sys"] optional = true diff --git a/eden/scm/lib/cpython-ext/Cargo.toml b/eden/scm/lib/cpython-ext/Cargo.toml index 773d3e5cbf..bbcef261c3 100644 --- a/eden/scm/lib/cpython-ext/Cargo.toml +++ b/eden/scm/lib/cpython-ext/Cargo.toml @@ -17,9 +17,9 @@ parking_lot = "0.9" serde = "1" [dependencies.cpython] -version = "0.3" +version = "0.4" default-features = false features = ["python27-sys"] [dependencies.python27-sys] -version = "0.3" +version = "0.4" diff --git a/eden/scm/lib/hgcommands/Cargo.toml b/eden/scm/lib/hgcommands/Cargo.toml index 8c2d670f5d..2390c7cf19 100644 --- a/eden/scm/lib/hgcommands/Cargo.toml +++ b/eden/scm/lib/hgcommands/Cargo.toml @@ -36,9 +36,9 @@ zstd = "0.4" path = "../encoding" [dependencies.cpython] -version = "0.3" +version = "0.4" default-features = false features = ["python27-sys"] [dependencies.python27-sys] -version = "0.3" +version = "0.4"