Skip to content

Commit c4d453b

Browse files
committed
[py] Fix installing selenium-manager from source distributions
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent d4ba7a5 commit c4d453b

File tree

3 files changed

+71
-9
lines changed

3 files changed

+71
-9
lines changed

MODULE.bazel

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ python.toolchain(
116116
python.toolchain(python_version = "3.10")
117117
python.toolchain(python_version = "3.11")
118118
python.toolchain(python_version = "3.12")
119+
python.toolchain(python_version = "3.13")
119120
use_repo(python, "pythons_hub")
120121

121122
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
@@ -131,6 +132,7 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
131132
"3.10",
132133
"3.11",
133134
"3.12",
135+
"3.13",
134136
]
135137
]
136138

py/pyproject.toml

-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ exclude = ["test*"]
4343
namespaces = true
4444
# include-package-data is `true` by default in pyproject.toml
4545

46-
[[tool.setuptools-rust.ext-modules]]
47-
target = "selenium.webdriver.common.selenium-manager"
48-
4946
[[tool.setuptools-rust.bins]]
5047
target = "selenium.webdriver.common.selenium-manager"
5148

rust/Cargo.Bazel.lock

+69-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"checksum": "7cafa1024c14fe343d60d434da00caf40cc5f74a656d1ffb146147861837045b",
2+
"checksum": "dd0b1d61473c324a69e9446829245d736b5cf37dfd115cacf1169662fa518d3e",
33
"crates": {
44
"addr2line 0.21.0": {
55
"name": "addr2line",
@@ -2039,16 +2039,79 @@
20392039
"id": "jobserver 0.1.31",
20402040
"target": "jobserver"
20412041
},
2042-
{
2043-
"id": "libc 0.2.168",
2044-
"target": "libc"
2045-
},
20462042
{
20472043
"id": "shlex 1.3.0",
20482044
"target": "shlex"
20492045
}
20502046
],
2051-
"selects": {}
2047+
"selects": {
2048+
"aarch64-apple-darwin": [
2049+
{
2050+
"id": "libc 0.2.168",
2051+
"target": "libc"
2052+
}
2053+
],
2054+
"aarch64-unknown-linux-gnu": [
2055+
{
2056+
"id": "libc 0.2.168",
2057+
"target": "libc"
2058+
}
2059+
],
2060+
"aarch64-unknown-nixos-gnu": [
2061+
{
2062+
"id": "libc 0.2.168",
2063+
"target": "libc"
2064+
}
2065+
],
2066+
"arm-unknown-linux-gnueabi": [
2067+
{
2068+
"id": "libc 0.2.168",
2069+
"target": "libc"
2070+
}
2071+
],
2072+
"i686-unknown-linux-gnu": [
2073+
{
2074+
"id": "libc 0.2.168",
2075+
"target": "libc"
2076+
}
2077+
],
2078+
"powerpc-unknown-linux-gnu": [
2079+
{
2080+
"id": "libc 0.2.168",
2081+
"target": "libc"
2082+
}
2083+
],
2084+
"s390x-unknown-linux-gnu": [
2085+
{
2086+
"id": "libc 0.2.168",
2087+
"target": "libc"
2088+
}
2089+
],
2090+
"x86_64-apple-darwin": [
2091+
{
2092+
"id": "libc 0.2.168",
2093+
"target": "libc"
2094+
}
2095+
],
2096+
"x86_64-unknown-freebsd": [
2097+
{
2098+
"id": "libc 0.2.168",
2099+
"target": "libc"
2100+
}
2101+
],
2102+
"x86_64-unknown-linux-gnu": [
2103+
{
2104+
"id": "libc 0.2.168",
2105+
"target": "libc"
2106+
}
2107+
],
2108+
"x86_64-unknown-nixos-gnu": [
2109+
{
2110+
"id": "libc 0.2.168",
2111+
"target": "libc"
2112+
}
2113+
]
2114+
}
20522115
},
20532116
"edition": "2018",
20542117
"version": "1.1.30"

0 commit comments

Comments
 (0)