diff --git a/python-soupsieve.changes b/python-soupsieve.changes index 69f4fa6..49f6722 100644 --- a/python-soupsieve.changes +++ b/python-soupsieve.changes @@ -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 diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 358551a..048ac69 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -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 diff --git a/soupsieve-1.9.5.tar.gz b/soupsieve-1.9.5.tar.gz deleted file mode 100644 index f537823..0000000 --- a/soupsieve-1.9.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2c1c5dee4a1c36bcb790e0fabd5492d874b8ebd4617622c4f6a731701060dda -size 98999 diff --git a/soupsieve-2.0.tar.gz b/soupsieve-2.0.tar.gz new file mode 100644 index 0000000..8099e2a --- /dev/null +++ b/soupsieve-2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e914534802d7ffd233242b785229d5ba0766a7f487385e3f714446a07bf540ae +size 95540