update to stable pyo3 0.13 release

This commit is contained in:
Damien Elmes 2020-12-23 10:08:38 +10:00
parent 72baccd423
commit c4382e38a1
9 changed files with 61 additions and 61 deletions

25
Cargo.lock generated
View file

@ -1580,8 +1580,9 @@ dependencies = [
[[package]] [[package]]
name = "pyo3" name = "pyo3"
version = "0.12.4" version = "0.13.0"
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cdd01a4c2719dd1f3ceab0875fa1a2c2cd3c619477349d78f43cd716b345436"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"ctor", "ctor",
@ -1590,26 +1591,28 @@ dependencies = [
"libc", "libc",
"parking_lot", "parking_lot",
"paste", "paste",
"pyo3cls", "pyo3-macros",
"unindent", "unindent",
] ]
[[package]] [[package]]
name = "pyo3-derive-backend" name = "pyo3-macros"
version = "0.12.4" version = "0.13.0"
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f8218769d13e354f841d559a19b0cf22cfd55959c7046ef594e5f34dbe46d16"
dependencies = [ dependencies = [
"proc-macro2", "pyo3-macros-backend",
"quote", "quote",
"syn", "syn",
] ]
[[package]] [[package]]
name = "pyo3cls" name = "pyo3-macros-backend"
version = "0.12.4" version = "0.13.0"
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc4da0bfdf76f0a5971c698f2cb6b3f832a6f80f16dedeeb3f123eb0431ecce2"
dependencies = [ dependencies = [
"pyo3-derive-backend", "proc-macro2",
"quote", "quote",
"syn", "syn",
] ]

View file

@ -1652,33 +1652,33 @@ def raze_fetch_remote_crates():
) )
maybe( maybe(
new_git_repository, http_archive,
name = "raze__pyo3__0_12_4", name = "raze__pyo3__0_13_0",
remote = "https://github.com/PyO3/pyo3.git", url = "https://crates.io/api/v1/crates/pyo3/0.13.0/download",
shallow_since = "1606725379 +0000", type = "tar.gz",
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106", sha256 = "5cdd01a4c2719dd1f3ceab0875fa1a2c2cd3c619477349d78f43cd716b345436",
build_file = Label("//cargo/remote:BUILD.pyo3-0.12.4.bazel"), strip_prefix = "pyo3-0.13.0",
init_submodules = True, build_file = Label("//cargo/remote:BUILD.pyo3-0.13.0.bazel"),
) )
maybe( maybe(
new_git_repository, http_archive,
name = "raze__pyo3_derive_backend__0_12_4", name = "raze__pyo3_macros__0_13_0",
remote = "https://github.com/PyO3/pyo3.git", url = "https://crates.io/api/v1/crates/pyo3-macros/0.13.0/download",
shallow_since = "1606725379 +0000", type = "tar.gz",
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106", sha256 = "7f8218769d13e354f841d559a19b0cf22cfd55959c7046ef594e5f34dbe46d16",
build_file = Label("//cargo/remote:BUILD.pyo3-derive-backend-0.12.4.bazel"), strip_prefix = "pyo3-macros-0.13.0",
init_submodules = True, build_file = Label("//cargo/remote:BUILD.pyo3-macros-0.13.0.bazel"),
) )
maybe( maybe(
new_git_repository, http_archive,
name = "raze__pyo3cls__0_12_4", name = "raze__pyo3_macros_backend__0_13_0",
remote = "https://github.com/PyO3/pyo3.git", url = "https://crates.io/api/v1/crates/pyo3-macros-backend/0.13.0/download",
shallow_since = "1606725379 +0000", type = "tar.gz",
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106", sha256 = "fc4da0bfdf76f0a5971c698f2cb6b3f832a6f80f16dedeeb3f123eb0431ecce2",
build_file = Label("//cargo/remote:BUILD.pyo3cls-0.12.4.bazel"), strip_prefix = "pyo3-macros-backend-0.13.0",
init_submodules = True, build_file = Label("//cargo/remote:BUILD.pyo3-macros-backend-0.13.0.bazel"),
) )
maybe( maybe(

View file

@ -1495,7 +1495,7 @@
}, },
{ {
"name": "pyo3", "name": "pyo3",
"version": "0.12.4", "version": "0.13.0",
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>", "authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
"repository": "https://github.com/pyo3/pyo3", "repository": "https://github.com/pyo3/pyo3",
"license": "Apache-2.0", "license": "Apache-2.0",
@ -1503,23 +1503,23 @@
"description": "Bindings to Python interpreter" "description": "Bindings to Python interpreter"
}, },
{ {
"name": "pyo3-derive-backend", "name": "pyo3-macros",
"version": "0.12.4", "version": "0.13.0",
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
"repository": "https://github.com/pyo3/pyo3",
"license": "Apache-2.0",
"license_file": null,
"description": "Code generation for PyO3 package"
},
{
"name": "pyo3cls",
"version": "0.12.4",
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>", "authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
"repository": "https://github.com/pyo3/pyo3", "repository": "https://github.com/pyo3/pyo3",
"license": "Apache-2.0", "license": "Apache-2.0",
"license_file": null, "license_file": null,
"description": "Proc macros for PyO3 package" "description": "Proc macros for PyO3 package"
}, },
{
"name": "pyo3-macros-backend",
"version": "0.13.0",
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
"repository": "https://github.com/pyo3/pyo3",
"license": "Apache-2.0",
"license_file": null,
"description": "Code generation for PyO3 package"
},
{ {
"name": "quote", "name": "quote",
"version": "1.0.8", "version": "1.0.8",

View file

@ -49,7 +49,7 @@ cargo_build_script(
"inventory", "inventory",
"macros", "macros",
"paste", "paste",
"pyo3cls", "pyo3-macros",
"unindent", "unindent",
], ],
crate_root = "build.rs", crate_root = "build.rs",
@ -62,7 +62,7 @@ cargo_build_script(
"cargo-raze", "cargo-raze",
"manual", "manual",
], ],
version = "0.12.4", version = "0.13.0",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = [ deps = [
], ],
@ -92,7 +92,7 @@ rust_library(
"inventory", "inventory",
"macros", "macros",
"paste", "paste",
"pyo3cls", "pyo3-macros",
"unindent", "unindent",
], ],
crate_root = "src/lib.rs", crate_root = "src/lib.rs",
@ -104,7 +104,7 @@ rust_library(
"@raze__ctor__0_1_16//:ctor", "@raze__ctor__0_1_16//:ctor",
"@raze__indoc__1_0_3//:indoc", "@raze__indoc__1_0_3//:indoc",
"@raze__paste__1_0_4//:paste", "@raze__paste__1_0_4//:paste",
"@raze__pyo3cls__0_12_4//:pyo3cls", "@raze__pyo3_macros__0_13_0//:pyo3_macros",
], ],
rustc_flags = [ rustc_flags = [
"--cap-lints=allow", "--cap-lints=allow",
@ -113,7 +113,7 @@ rust_library(
"cargo-raze", "cargo-raze",
"manual", "manual",
], ],
version = "0.12.4", version = "0.13.0",
# buildifier: leave-alone # buildifier: leave-alone
deps = [ deps = [
":pyo3_build_script", ":pyo3_build_script",

View file

@ -31,11 +31,11 @@ licenses([
# Generated Targets # Generated Targets
rust_library( rust_library(
name = "pyo3cls", name = "pyo3_macros",
srcs = glob(["**/*.rs"]), srcs = glob(["**/*.rs"]),
crate_features = [ crate_features = [
], ],
crate_root = "pyo3cls/src/lib.rs", crate_root = "src/lib.rs",
crate_type = "proc-macro", crate_type = "proc-macro",
data = [], data = [],
edition = "2018", edition = "2018",
@ -46,10 +46,10 @@ rust_library(
"cargo-raze", "cargo-raze",
"manual", "manual",
], ],
version = "0.12.4", version = "0.13.0",
# buildifier: leave-alone # buildifier: leave-alone
deps = [ deps = [
"@raze__pyo3_derive_backend__0_12_4//:pyo3_derive_backend", "@raze__pyo3_macros_backend__0_13_0//:pyo3_macros_backend",
"@raze__quote__1_0_8//:quote", "@raze__quote__1_0_8//:quote",
"@raze__syn__1_0_55//:syn", "@raze__syn__1_0_55//:syn",
], ],

View file

@ -31,11 +31,11 @@ licenses([
# Generated Targets # Generated Targets
rust_library( rust_library(
name = "pyo3_derive_backend", name = "pyo3_macros_backend",
srcs = glob(["**/*.rs"]), srcs = glob(["**/*.rs"]),
crate_features = [ crate_features = [
], ],
crate_root = "pyo3-derive-backend/src/lib.rs", crate_root = "src/lib.rs",
crate_type = "lib", crate_type = "lib",
data = [], data = [],
edition = "2018", edition = "2018",
@ -46,7 +46,7 @@ rust_library(
"cargo-raze", "cargo-raze",
"manual", "manual",
], ],
version = "0.12.4", version = "0.13.0",
# buildifier: leave-alone # buildifier: leave-alone
deps = [ deps = [
"@raze__proc_macro2__1_0_24//:proc_macro2", "@raze__proc_macro2__1_0_24//:proc_macro2",

View file

@ -19,8 +19,6 @@ COMMITS_SHALLOW_SINCE = {
"96e1358555c49905de89170f2b1102a7d8b6c4c2": "1598411535 +1000", "96e1358555c49905de89170f2b1102a7d8b6c4c2": "1598411535 +1000",
# prost # prost
"4ded4a98ef339da0b7babd4efee3fbe8adaf746b": "1598739849 -0700", "4ded4a98ef339da0b7babd4efee3fbe8adaf746b": "1598739849 -0700",
# pyo3
"92b7a9736c9585883df5ec5bc01004caa7f65106": "1606725379 +0000",
} }
import os import os

View file

@ -11,8 +11,7 @@ anki = { path = "../../rslib" }
# /cargo/update.py needs to be run if updating the version below # /cargo/update.py needs to be run if updating the version below
[dependencies.pyo3] [dependencies.pyo3]
git = "https://github.com/PyO3/pyo3.git" version = "0.13"
rev = "92b7a9736c9585883df5ec5bc01004caa7f65106"
features = ["extension-module", "abi3"] features = ["extension-module", "abi3"]
[lib] [lib]

View file

@ -14,7 +14,7 @@ licenses([
# Aliased targets # Aliased targets
alias( alias(
name = "pyo3", name = "pyo3",
actual = "@raze__pyo3__0_12_4//:pyo3", actual = "@raze__pyo3__0_13_0//:pyo3",
tags = [ tags = [
"cargo-raze", "cargo-raze",
"manual", "manual",