Accepting request 1080484 from devel:languages:python
- Update to 2.0.0: * Breaking change: inputs starting with "http://" or "https://" like PyQuery("http://example.com") will no longer fetch the contents of the URL. Users desiring the old behavior should switch to PyQuery(url="http://example.com"). * Add nextUntil method * .remove() no longer inserts a space in place of the removed element * Fix escaping of top-level element text in .html() output * Support (and require) cssselect 1.2+ * Drop support for python 3.5/3.6 OBS-URL: https://build.opensuse.org/request/show/1080484 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquery?expand=0&rev=22
This commit is contained in:
commit
c2a2dc76e2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a388eefb6bc4a55350de0316fbd97cda999ae669b6743ae5b99102ba54f5aa72
|
|
||||||
size 47448
|
|
BIN
pyquery-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pyquery-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 20 07:27:05 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.0.0:
|
||||||
|
* Breaking change: inputs starting with "http://" or "https://" like
|
||||||
|
PyQuery("http://example.com") will no longer fetch the contents of the
|
||||||
|
URL. Users desiring the old behavior should switch to
|
||||||
|
PyQuery(url="http://example.com").
|
||||||
|
* Add nextUntil method
|
||||||
|
* .remove() no longer inserts a space in place of the removed element
|
||||||
|
* Fix escaping of top-level element text in .html() output
|
||||||
|
* Support (and require) cssselect 1.2+
|
||||||
|
* Drop support for python 3.5/3.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 17 16:46:13 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
Fri Feb 17 16:46:13 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -26,22 +26,21 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-pyquery%{psuffix}
|
Name: python-pyquery%{psuffix}
|
||||||
Version: 1.4.3
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A jQuery-like library for python
|
Summary: A jQuery-like library for python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://pypi.python.org/pypi/pyquery
|
URL: https://pypi.python.org/pypi/pyquery
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE make_webtest_optional.patch mcepl@suse.com
|
# PATCH-FIX-OPENSUSE make_webtest_optional.patch mcepl@suse.com
|
||||||
# Make it possible to run test suite (albeit partial) without WebTest module
|
# Make it possible to run test suite (albeit partial) without WebTest module
|
||||||
Patch0: make_webtest_optional.patch
|
Patch0: make_webtest_optional.patch
|
||||||
BuildRequires: %{python_module cssselect > 0.7.9}
|
BuildRequires: %{python_module cssselect >= 1.2.0}
|
||||||
BuildRequires: %{python_module lxml >= 2.1}
|
BuildRequires: %{python_module lxml >= 2.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cssselect > 0.7.9
|
Requires: python-cssselect >= 1.2.0
|
||||||
Requires: python-lxml >= 2.1
|
Requires: python-lxml >= 2.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@ -74,7 +73,8 @@ XML and HTML manipulation.
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
# Disable tests which perform live fetch
|
# Disable tests which perform live fetch
|
||||||
%pytest -k 'not test_get' tests
|
# test_selector_html uses XML namespaces, which are broken with libxml2 2.10.4+
|
||||||
|
%pytest -k 'not (test_get or test_selector_html)' tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user