depot/third_party/nixpkgs/pkgs/development/python-modules/selenium/dont-build-the-selenium-manager.patch
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

37 lines
992 B
Diff

From e52d75248a5d18bcf965591eb240a11a23147634 Mon Sep 17 00:00:00 2001
From: Pavel Sobolev <contact@paveloom.dev>
Date: Sat, 3 Aug 2024 22:38:49 +0300
Subject: [PATCH] Don't build the Selenium Manager.
---
py/setup.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/py/setup.py b/py/setup.py
index a71007f..fdda74e 100755
--- a/py/setup.py
+++ b/py/setup.py
@@ -19,7 +19,6 @@ from distutils.command.install import INSTALL_SCHEMES
from os.path import dirname, join, abspath
from setuptools import setup
from setuptools.command.install import install
-from setuptools_rust import Binding, RustExtension
for scheme in INSTALL_SCHEMES.values():
@@ -84,12 +83,6 @@ setup_args = {
"typing_extensions~=4.9",
"websocket-client~=1.8",
],
- 'rust_extensions': [
- RustExtension(
- {"selenium-manager": "selenium.webdriver.common.selenium-manager"},
- binding=Binding.Exec
- )
- ],
'zip_safe': False
}
--
2.45.2