15
0

Accepting request 785948 from home:pgajdos:python

- version update to 2.0
  - **NEW**: `SelectorSyntaxError` is derived from `Exception` not `SyntaxError`.
  - **NEW**: Remove deprecated `comments` and `icomments` from the API.
  - **NEW**: Drop support for EOL Python versions (Python 2 and Python < 3.5).
  - **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
  - **FIX**: `:placeholder-shown` should not match if the element has content that overrides the placeholder.

OBS-URL: https://build.opensuse.org/request/show/785948
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-soupsieve?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2020-03-17 14:29:58 +00:00
committed by Git OBS Bridge
parent 756b3e9b66
commit 403c53722d
4 changed files with 15 additions and 11 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Mar 17 14:02:24 UTC 2020 - pgajdos@suse.com
- version update to 2.0
- **NEW**: `SelectorSyntaxError` is derived from `Exception` not `SyntaxError`.
- **NEW**: Remove deprecated `comments` and `icomments` from the API.
- **NEW**: Drop support for EOL Python versions (Python 2 and Python < 3.5).
- **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
- **FIX**: `:placeholder-shown` should not match if the element has content that overrides the placeholder.
-------------------------------------------------------------------
Fri Mar 13 13:02:59 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -25,9 +25,9 @@
%define psuffix %{nil}
%bcond_with test
%endif
%bcond_without python2
%define skip_python2 1
Name: python-soupsieve%{psuffix}
Version: 1.9.5
Version: 2.0
Release: 0
Summary: A modern CSS selector implementation for BeautifulSoup
License: MIT
@@ -41,12 +41,6 @@ BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module pytest}
%if %{with python2}
BuildRequires: python-backports.functools_lru_cache
%endif
%endif
%ifpython2
Requires: python-backports.functools_lru_cache
%endif
%python_subpackages

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2c1c5dee4a1c36bcb790e0fabd5492d874b8ebd4617622c4f6a731701060dda
size 98999

3
soupsieve-2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e914534802d7ffd233242b785229d5ba0766a7f487385e3f714446a07bf540ae
size 95540