From 7c22ae0322e6d133686a3853905d5525bbdb3b05fe319fd5c3159c1fd3d5d4ed Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 8 May 2017 14:21:26 +0000 Subject: [PATCH] Accepting request 492714 from home:TheBlackCat:branches:devel:languages:python - Update to version 3.4.1 - Implement single-spec version. OBS-URL: https://build.opensuse.org/request/show/492714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=53 --- python-selenium.changes | 62 +++++++++++++++++++++++++++++++++++++++++ python-selenium.spec | 25 ++++++++++------- selenium-3.0.2.tar.gz | 3 -- selenium-3.4.1.tar.gz | 3 ++ 4 files changed, 80 insertions(+), 13 deletions(-) delete mode 100644 selenium-3.0.2.tar.gz create mode 100644 selenium-3.4.1.tar.gz diff --git a/python-selenium.changes b/python-selenium.changes index f0c534e..4762359 100644 --- a/python-selenium.changes +++ b/python-selenium.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Wed May 3 16:38:33 UTC 2017 - toddrme2178@gmail.com + +- Update to version 3.4.1 + * Add back the ability to set profile when using Firefox 45ESR. Fixes #3897 +- Update to version Selenium 3.4.0 + * Correct usage of newSession around `firstMatch` and `alwaysMatch` + * Remove superfluous capabilities that are not needed + * Add expected condition that waits for all found elements to be visible (#3532) + * Allow methods wrapped by EventFiringWebDriver and EventFiringWebElement (#806) + * Dropping `javascriptEnabled` capability for real browsers + * Use W3C check from parent object instead of assuming from capabilities + * Bump example source distribution to match latest release. + * Replace TypeError with KeyError in remote webdriver error handler code (#3826) + * When testing Marionette use default capabilities in testing + * Conform to the api of urllib2 for adding header for a request (#3803) + * Add `text` key to alert#sendKeys parameters for W3C Endpoint + * Location once scrolled into view should use W3C executeScript endpoint not JSONWP + * Fixed the usage information in documentation of "save_screenshot". (#3804) + * Add Element Not Interactable exception + * Clean up imports in error handler + * flake8 cleanup +- Update to version Selenium 3.3.3 + * make w3c execute_script commands unique +- Update to version Selenium 3.3.2 + * Update window commands to use W3C End points + * Update Alert when in W3C mode to use W3C Endpoints + * Update to new W3C Execute Script end points + * Add setting/getting proxy details to Firefox Options + * Deprecate the use of browser profile when instantiating a session + * Update start session to handle the W3C New Session + * Add get/set window rect commands + * Add InvalidArgumentException + * When passing in `text` to send_keys, make sure we send a string not array + * Fix string decoding in remote connection (#3663) + * Fix indentation to satisfy PEP8 + * Try use old way of setting page load timeout if new way fails. Fixes #3654 + * fix file uploads for Firefox + * Run unit tests on Python 3.3, 3.4, and 3.5 (#3638) + * Fix indentation in double_click. + * Fix non-W3C page load timeout setting. +- Update to version Selenium 3.3.1 + * Fix encoding of basic auth header when using Python 3 Fixes #3622 + * Add initial unit test suite + * Update W3C Timeout setting to be in line with the specification + * support.ui.Select class inherits from object (#3067) + * fix bug in proxy constructor that some properties are not proper set (#3459) + * Fix flake8 issues (#3628) +- Update to version Selenium 3.3.0 + ** Note ** If you are updating to this version, please also update GeckoDriver to v0.15.0 + * Fix python HTTPS encoding for python driver (#3379) + * Allow Firefox preferences to be set directly in Options + * Fix shutdown and process termination (#3263) + * Preventing exception if log_path is none or empty. Fixes #3128 + * Add the W3C capability to Firefox for accepting insecure certificates + * Initial implementation of Pointer Actions + * Only skip tests if driver name matches a directory name. + * Update calls that return a pure object with keys to look for 'value' key + * Initial W3C Actions support + * fix docs output directory +- Implement single-spec version. + ------------------------------------------------------------------- Mon Mar 6 11:56:11 UTC 2017 - boris@steki.net diff --git a/python-selenium.spec b/python-selenium.spec index 2b383b6..b8ea550 100644 --- a/python-selenium.spec +++ b/python-selenium.spec @@ -16,20 +16,24 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-selenium -Version: 3.0.2 +Version: 3.4.1 Release: 0 Url: https://github.com/SeleniumHQ/selenium Summary: Python bindings for Selenium License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.io/packages/source/s/selenium/selenium-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/selenium/selenium-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-rdflib -BuildRequires: python-setuptools +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module rdflib} Requires: python-rdflib ExclusiveArch: %ix86 x86_64 +%python_subpackages %description Selenium Python Client Driver is a Python language binding for Selenium Remote @@ -43,18 +47,19 @@ add more "native" drivers. %setup -q -n selenium-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} # Avoid 64bit runtime dependencies on 32bit architectures: %ifarch %ix86 -rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so +%python_expand rm %{buildroot}%{$python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so %endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc py/README.rst py/CHANGES +%doc README.rst CHANGES %{python_sitelib}/* %changelog diff --git a/selenium-3.0.2.tar.gz b/selenium-3.0.2.tar.gz deleted file mode 100644 index 7d5ac30..0000000 --- a/selenium-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85daad4d09be86bddd4f45579986ac316c1909c3b4653ed471ea4519eb413c8f -size 830314 diff --git a/selenium-3.4.1.tar.gz b/selenium-3.4.1.tar.gz new file mode 100644 index 0000000..c84505e --- /dev/null +++ b/selenium-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea10cb739d3d2c27dfdd5ed60cdc28a36e6bafb7b6021ac7acd01dfc4aef005b +size 838624