forked from pool/python-soupsieve
Accepting request 867598 from devel:languages:python
- update to 2.1.0: - **NEW**: Officially support Python 3.9. - **NEW**: Drop official support for Python 3.5. - **NEW**: In order to avoid conflicts with future CSS specification changes, non-standard pseudo classes will now start with the `:-soup-` prefix. As a consequence, `:contains()` will now be known as `:-soup-contains()`, though for a time the deprecated form of `:contains()` will still be allowed with a warning that users should migrate over to `:-soup-contains()`. - **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which operates similar to `:-soup-contains()` except that it only looks at text nodes directly associated with the currently scoped element and not its descendants. - **FIX**: Import `bs4` globally instead of in local functions as it appears there are no adverse affects due to circular imports as `bs4` does not immediately reference `soupsieve` functions and `soupsieve` does not immediately reference `bs4` functions. This should give a performance boost to functions that had previously included `bs4` locally. OBS-URL: https://build.opensuse.org/request/show/867598 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-soupsieve?expand=0&rev=11
This commit is contained in:
commit
be4aee455b
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 28 23:17:10 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.1.0:
|
||||||
|
- **NEW**: Officially support Python 3.9.
|
||||||
|
- **NEW**: Drop official support for Python 3.5.
|
||||||
|
- **NEW**: In order to avoid conflicts with future CSS specification changes,
|
||||||
|
non-standard pseudo classes will now start with the `:-soup-` prefix. As a
|
||||||
|
consequence, `:contains()` will now be known as `:-soup-contains()`, though
|
||||||
|
for a time the deprecated form of `:contains()` will still be allowed with
|
||||||
|
a warning that users should migrate over to
|
||||||
|
`:-soup-contains()`.
|
||||||
|
- **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which
|
||||||
|
operates similar to `:-soup-contains()` except that it only looks at text
|
||||||
|
nodes directly associated with the currently scoped element and not its
|
||||||
|
descendants.
|
||||||
|
- **FIX**: Import `bs4` globally instead of in local functions as it appears
|
||||||
|
there are no adverse affects due to circular imports as `bs4` does not
|
||||||
|
immediately reference `soupsieve` functions and `soupsieve` does not
|
||||||
|
immediately reference `bs4` functions. This should give a performance
|
||||||
|
boost to functions that had previously included `bs4` locally.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 14 09:12:49 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Sun Jun 14 09:12:49 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-soupsieve
|
# spec file for package python-soupsieve
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,7 +27,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-soupsieve%{psuffix}
|
Name: python-soupsieve%{psuffix}
|
||||||
Version: 2.0.1
|
Version: 2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A modern CSS selector implementation for BeautifulSoup
|
Summary: A modern CSS selector implementation for BeautifulSoup
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232
|
|
||||||
size 95986
|
|
3
soupsieve-2.1.tar.gz
Normal file
3
soupsieve-2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6dc52924dc0bc710a5d16794e6b3480b2c7c08b07729505feab2b2c16661ff6e
|
||||||
|
size 101695
|
Loading…
x
Reference in New Issue
Block a user