Skip to content

Commit

Permalink
[py] Fix installing selenium-manager from source distributions
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Jan 24, 2025
1 parent d4ba7a5 commit c4d453b
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 9 deletions.
2 changes: 2 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ python.toolchain(
python.toolchain(python_version = "3.10")
python.toolchain(python_version = "3.11")
python.toolchain(python_version = "3.12")
python.toolchain(python_version = "3.13")
use_repo(python, "pythons_hub")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
Expand All @@ -131,6 +132,7 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
"3.10",
"3.11",
"3.12",
"3.13",
]
]

Expand Down
3 changes: 0 additions & 3 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ exclude = ["test*"]
namespaces = true
# include-package-data is `true` by default in pyproject.toml

[[tool.setuptools-rust.ext-modules]]
target = "selenium.webdriver.common.selenium-manager"

[[tool.setuptools-rust.bins]]
target = "selenium.webdriver.common.selenium-manager"

Expand Down
75 changes: 69 additions & 6 deletions rust/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "7cafa1024c14fe343d60d434da00caf40cc5f74a656d1ffb146147861837045b",
"checksum": "dd0b1d61473c324a69e9446829245d736b5cf37dfd115cacf1169662fa518d3e",
"crates": {
"addr2line 0.21.0": {
"name": "addr2line",
Expand Down Expand Up @@ -2039,16 +2039,79 @@
"id": "jobserver 0.1.31",
"target": "jobserver"
},
{
"id": "libc 0.2.168",
"target": "libc"
},
{
"id": "shlex 1.3.0",
"target": "shlex"
}
],
"selects": {}
"selects": {
"aarch64-apple-darwin": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"aarch64-unknown-linux-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"aarch64-unknown-nixos-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"arm-unknown-linux-gnueabi": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"i686-unknown-linux-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"powerpc-unknown-linux-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"s390x-unknown-linux-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"x86_64-apple-darwin": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"x86_64-unknown-freebsd": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"x86_64-unknown-linux-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
],
"x86_64-unknown-nixos-gnu": [
{
"id": "libc 0.2.168",
"target": "libc"
}
]
}
},
"edition": "2018",
"version": "1.1.30"
Expand Down

0 comments on commit c4d453b

Please sign in to comment.