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: 33
Popularity: 2.98
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 »

a.kudelin commented on 2023-05-07 11:03 (UTC)

@CarloWood, sorry, can't reproduce.

CarloWood commented on 2023-05-05 14:18 (UTC)

All tests fail, which stops the install. All tests fail with the same error, here is the last one:

___________________________________ ERROR at setup of test_from_dict ____________________________________

    @pytest.fixture(autouse=True, scope="session")
    def webserver():
>       webserver = SimpleWebServer(host=get_lan_ip())

conftest.py:254: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/selenium/webdriver/common/webserver.py:145: in __init__
    self.server = ThreadedHTTPServer((host, port), HtmlOnlyHandler)
/usr/lib/python3.11/socketserver.py:456: in __init__
    self.server_bind()
/usr/lib/python3.11/http/server.py:136: in server_bind
    socketserver.TCPServer.server_bind(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <test.selenium.webdriver.common.webserver.ThreadedHTTPServer object at 0x7f3da45823d0>

    def server_bind(self):
        """Called by constructor to bind the socket.

        May be overridden.

        """
        if self.allow_reuse_address and hasattr(socket, "SO_REUSEADDR"):
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
        if self.allow_reuse_port and hasattr(socket, "SO_REUSEPORT"):
            self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
>       self.socket.bind(self.server_address)
E       OverflowError: bind(): port must be 0-65535.

/usr/lib/python3.11/socketserver.py:472: OverflowError

a.kudelin commented on 2023-02-14 14:01 (UTC)

@gingercat245, could you please try to build the package manually? I mean 1) clone URL with git, 2) go into the cloned directory, 3) run makepkg -Cfs. I suspect the issue with checksums is produced by an AUR helper.

gingercat245 commented on 2023-02-14 06:06 (UTC)

Hi,

I am also getting the validation check error. I have tried removing older packages as well. But it still failed. Please help.


Building python-selenium...
==> Making package: python-selenium 4.8.0-1 (Tue 14 Feb 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found selenium-4.8.0.tar.gz
==> Validating source files with sha256sums...
    selenium-4.8.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-selenium

nemock commented on 2023-02-05 00:49 (UTC)

I am getting this:


Building python-selenium...
==> Making package: python-selenium 4.8.0-1 (So 05 Feb 2023 01:35:33 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found selenium-4.8.0.tar.gz
==> Validating source files with sha256sums...
    selenium-4.8.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-selenium

completely clearing the package database and trying again did not work for me.

veras commented on 2023-02-04 11:48 (UTC) (edited on 2023-02-04 11:54 (UTC) by veras)

Getting the same fail error as Alex.

update: completely clearing the package database and trying again, it worked.

a.kudelin commented on 2023-02-01 09:47 (UTC)

@AlexBocken, sorry, I can't reproduce. Maybe you had a network issue? Could you please try again in a clean environment?

AlexBocken commented on 2023-01-30 19:39 (UTC)

4.8.0-1 fails on checksum validation:

:: Proceed with installation? [Y/n]:
fetching devel info...
==> Making package: python-selenium 4.8.0-1 (Mon 30 Jan 2023 08:37:21 PM CET)
==> Retrieving sources...
  -> Downloading selenium-4.8.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 85.8M  100 85.8M    0     0  18.8M      0  0:00:04  0:00:04 --:--:-- 21.3M
==> Validating source files with sha256sums...
    selenium-4.8.0.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'python-selenium-4.8.0-1':
error: packages failed to build: python-selenium-4.8.0-1
◆ python-selenium ❯❯❯ sha256sum selenium-4.8.0.tar.gz
69cc135dae520cb54c718cac514d47daeca0e280befdd50bcc8035436694a952  selenium-4.8.0.tar.gz

carsme commented on 2023-01-22 11:23 (UTC)

Getting the following error in the check step when trying to install:

==> Starting check()...
Traceback (most recent call last):
  File "/bin/pytest", line 8, in <module>
    sys.exit(console_main())
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 190, in console_main
    code = main()
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 148, in main
    config = _prepareconfig(args, plugins)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 329, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/usr/lib/python3.10/site-packages/pluggy/_hooks.py", line 265, in __call__
    return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_manager.py", line 80, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 55, in _multicall
    gen.send(outcome)
  File "/usr/lib/python3.10/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/usr/lib/python3.10/site-packages/pluggy/_result.py", line 60, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/lib/python3.10/site-packages/pluggy/_callers.py", line 39, in _multicall
    res = hook_impl.function(*args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1058, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1352, in parse
    args = self._parser.parse_setoption(
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 143, in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 113, in parse
    self.optparser = self._getparser()
  File "/usr/lib/python3.10/site-packages/_pytest/config/argparsing.py", line 130, in _getparser
    arggroup.add_argument(*n, **a)
  File "/usr/lib/python3.10/argparse.py", line 1441, in add_argument
    return self._add_action(action)
  File "/usr/lib/python3.10/argparse.py", line 1643, in _add_action
    action = super(_ArgumentGroup, self)._add_action(action)
  File "/usr/lib/python3.10/argparse.py", line 1455, in _add_action
    self._check_conflict(action)
  File "/usr/lib/python3.10/argparse.py", line 1592, in _check_conflict
    conflict_handler(action, confl_optionals)
  File "/usr/lib/python3.10/argparse.py", line 1601, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --headless: conflicting option string: --headless
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'python-selenium-4.7.2-1':
error: packages failed to build: python-selenium-4.7.2-1

ark commented on 2022-10-21 15:54 (UTC)

@arcamagna, I also experienced the error when building

scheme['data'] = scheme['purelib'] KeyError: 'purelib'

To fix the issue I upgraded my setuptools from 59.8 to 65.5