forked from pool/python-selenium
- Update to 4.10.0:
* Fix bug preventing proxy from working in Options classes (#12029) * Add support for changing pointers in Actions class (#11521) * Support newer versions of urllib3 (#11993) * Add fine grained control for arguments provided to service subprocesses by passing a `popen_kw` mapping for all services. * `Options` classes now allow `timeout` to be set partially and no longer raise an exception when all values are not provided. (#11623) * Fixed a bug in `Service` destructors accessing modules that no longer existed during interpreter shutdown. * Fix frame_to_be_available_and_switch_to_it() for string inputs (#10963) * Use monotonic clock for waits, fixes #10544 (#10550) * Use `get_timeout()` for urllib pool manager timeouts in remote connection (#10563) * update ShadowRoot find element signatures to match those in WebElement (#10138) * Check the values in NO_PROXY and set the poolmanager accordingly (#9925, #9967) * Allows None to be set for the sameSite attribute (#9771) * Specify that the "find_element_by_* ..." warning is a deprecation warning (#9700) * Allow 0 coordinates for the window position. Fixes #9574 * Add the ability to pass in multiple options and have that capabilities returned as (first|always)Match * Add the ability to pass in different locators to do Relative Locator searches * Add the ability to enable mobile on options classes * Allow overriding the default 250 msecs duration of pointer movement (#9336) * Set Chromium Edge to be the default for Edge browsers * Add ARIA APIs for getting the role and label of an Element OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=85
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-selenium
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,25 +16,30 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-selenium
|
||||
Version: 3.141.0
|
||||
Version: 4.10.0
|
||||
Release: 0
|
||||
Summary: Python bindings for Selenium
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/SeleniumHQ/selenium
|
||||
Source: https://files.pythonhosted.org/packages/source/s/selenium/selenium-%{version}.tar.gz
|
||||
#https://github.com/SeleniumHQ/selenium/issues/6246
|
||||
# https://github.com/SeleniumHQ/selenium/issues/6246
|
||||
Source1: selenium-pytest.tar.bz2
|
||||
# https://github.com/SeleniumHQ/selenium/issues/12166
|
||||
Source2: https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/LICENSE
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module rdflib}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module urllib3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-rdflib
|
||||
Requires: python-certifi >= 2021.10.8
|
||||
Requires: python-trio >= 0.17
|
||||
Requires: python-trio-websocket >= 0.9
|
||||
Requires: python-urllib3
|
||||
ExclusiveArch: %{ix86} x86_64 %arm aarch64
|
||||
%python_subpackages
|
||||
@@ -48,12 +53,13 @@ supported, as well as the Selenium 1.0 bindings.
|
||||
|
||||
%prep
|
||||
%setup -q -n selenium-%{version} -a1
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# Do not package .so built for foreign architectures
|
||||
%ifnarch %{ix86} x86_64
|
||||
@@ -70,6 +76,7 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGES
|
||||
%license LICENSE
|
||||
%{python_sitelib}/selenium*
|
||||
%{python_sitelib}/selenium
|
||||
%{python_sitelib}/selenium-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user