Package Details: python-selenium 4.27.1-2

Git Clone URL: https://aur.archlinux.org/python-selenium.git (read-only, click to copy)
Package Base: python-selenium
Description: Python language bindings for Selenium WebDriver
Upstream URL: https://github.com/SeleniumHQ/selenium
Licenses: Apache-2.0
Submitter: jelly
Maintainer: carsme (txtsd)
Last Packager: txtsd
Votes: 32
Popularity: 1.49
First Submitted: 2022-01-23 14:41 (UTC)
Last Updated: 2024-11-28 04:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

macxcool commented on 2024-09-04 20:23 (UTC) (edited on 2024-09-04 20:24 (UTC) by macxcool)

Yes. I get:

patching file py/setup.py
    Updating crates.io index
error: failed to select a version for `env_logger`.
    ... required by package `selenium-manager v0.4.24 (/home/<USER>/.cache/paru/clone/python-selenium/src/selenium-selenium-4.24.0/rust)`
versions that meet the requirements `^0.11.5` (locked to 0.11.5) are: 0.11.5

the package `selenium-manager` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


failed to select a version for `env_logger` which could resolve this conflict
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'python-selenium-4.24.0-1': 
error: packages failed to build: python-selenium-4.24.0-1

kbipinkumar commented on 2024-09-02 04:27 (UTC)

version 4.24.0 seems to have updated dependencies.

==> Starting build()...
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
    main()
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
  File "<string>", line 22, in <module>
ModuleNotFoundError: No module named 'setuptools_rust'

alibiloon commented on 2024-07-22 20:19 (UTC)

@jgodden thank you so much man this worked for me my script is running again

Mailaender commented on 2024-05-21 16:26 (UTC)

I get a lot of formatting(?) errors in the unit tests:

FAILED build/lib/selenium/webdriver/common/selenium_manager.py::ruff::format - pytest_ruff.RuffError: File would be reformatted
[...]

which causes the package build to fail. I can only install this with paru python-selenium --nocheck because of failing unit tests.

petronny commented on 2023-09-18 09:37 (UTC) (edited on 2023-09-18 10:17 (UTC) by petronny)

And it's also possible to fix the NoSuchDriverException with out installing selenium-manager. In my case, I'm using the geckodriver and I update my code from

with webdriver.Firefox() as driver:

to

from selenium.webdriver.firefox.service import Service

with webdriver.Firefox(service=Service('/usr/bin/geckodriver')) as driver:

and everything works again.

PS. To further disable the warning about log_output:

with webdriver.Firefox(service=Service('/usr/bin/geckodriver', log_output=sys.stderr)) as driver:

or so on.

petronny commented on 2023-09-18 09:15 (UTC)

Hi, I only use python but I guess selenium-manager may be also needed by other language bindings for selenium (Java/CSharp/Ruby). In that case keeping selenium-manager as a separate package is better.

carsme commented on 2023-09-17 11:26 (UTC)

Unless someone objects, I'll incorporate the contents selenium-manager into this package. You OK with that, @thrasibule?

Shalrath commented on 2023-09-16 13:48 (UTC)

4.12.0-1 works when AUR package selenium-manager is installed.