Hello community,
here is the log from the commit of package python-beautifulsoup4 for
openSUSE:Leap:15.2 checked in at 2020-03-31 07:22:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-beautifulsoup4 (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-beautifulsoup4.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-beautifulsoup4"
Tue Mar 31 07:22:42 2020 rev:12 rq:789165 version:4.8.2
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-beautifulsoup4/python-beautifulsoup4.changes
2020-01-15 15:47:22.735389622 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-beautifulsoup4.new.3160/python-beautifulsoup4.changes
2020-03-31 07:22:45.086407964 +0200
@@ -1,0 +2,171 @@
+Wed Jan 1 08:52:41 UTC 2020 - Ismail Dönmez <[email protected]>
+
+- Update to 4.8.2
+ * Added Python docstrings to all public methods of the most commonly
+ used classes.
+ * Fixed two deprecation warnings. Patches by Colin
+ Watson and Nicholas Neumann. [bug=1847592] [bug=1855301]
+ * The html.parser tree builder now correctly handles DOCTYPEs that are
+ not uppercase. [bug=1848401]
+ * PageElement.select() now returns a ResultSet rather than a regular
+ list, making it consistent with methods like find_all().
+
+-------------------------------------------------------------------
+Fri Nov 1 08:59:57 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 4.8.1:
+ * When the html.parser or html5lib parsers are in use, Beautiful Soup
+ will, by default, record the position in the original document where
+ each tag was encountered.
+ * Fixed the definition of the default XML namespace when using
+ lxml 4.4.
+ * Avoid a crash when unpickling certain parse trees generated
+ using html5lib on Python 3.
+ * Avoid a crash when trying to detect the declared encoding of a
+ Unicode document.
+- Drop patch beautifulsoup4-lxml-fixes.patch as it seems not needed
+
+-------------------------------------------------------------------
+Mon Oct 14 11:41:52 UTC 2019 - Matej Cepl <[email protected]>
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+-------------------------------------------------------------------
+Mon Jul 22 16:18:23 UTC 2019 - Todd R <[email protected]>
+
+- Update to 4.8.0
+ * It's now possible to customize the TreeBuilder object by passing
+ keyword arguments into the BeautifulSoup constructor. The main
+ reason to do this right now is to change how which attributes are
+ treated as multi-valued attributes (the way 'class' is treated by
+ default). You can do this with the `multi_valued_attributes` argument.
+ * The role of Formatter objects has been greatly expanded. The Formatter
+ class now controls the following:
+ > The function to call to perform entity substitution. (This was
+ previously Formatter's only job.)
+ > Which tags should be treated as containing CDATA and have their
+ contents exempt from entity substitution.
+ > The order in which a tag's attributes are output.
+ > Whether or not to put a '/' inside a void element, e.g. '<br/>' vs '<br>'
+ All preexisting code should work as before.
+ * Added a new method to the API, Tag.smooth(), which consolidates
+ multiple adjacent NavigableString elements.
+ * ' (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is now
+ recognized as a named entity and converted to a single quote.
+
+-------------------------------------------------------------------
+Fri Mar 1 11:23:21 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Do not generate doc for py2 and py3 variant they are the same
+ so keep just one around
+- Update to 4.7.1:
+ * Fixed a significant performance problem introduced in 4.7.0. [bug=1810617]
+ * Fixed an incorrectly raised exception when inserting a tag before or
+ after an identical tag. [bug=1810692]
+ * Beautiful Soup will no longer try to keep track of namespaces that
+ are not defined with a prefix; this can confuse soupselect. [bug=1810680]
+ * Tried even harder to avoid the deprecation warning originally fixed in
+ 4.6.1. [bug=1778909]
+ * Beautiful Soup's CSS Selector implementation has been replaced by a
+ dependency on Isaac Muse's SoupSieve project (the soupsieve package
+ on PyPI). The good news is that SoupSieve has a much more robust and
+ complete implementation of CSS selectors, resolving a large number
+ of longstanding issues. The bad news is that from this point onward,
+ SoupSieve must be installed if you want to use the select() method.
+ * Added the PageElement.extend() method, which works like list.append().
+ [bug=1514970]
+ * PageElement.insert_before() and insert_after() now take a variable
+ number of arguments. [bug=1514970]
+ * Fix a number of problems with the tree builder that caused
+ trees that were superficially okay, but which fell apart when bits
+ were extracted. Patch by Isaac Muse. [bug=1782928,1809910]
+ * Fixed a problem with the tree builder in which elements that
+ contained no content (such as empty comments and all-whitespace
+ elements) were not being treated as part of the tree. Patch by Isaac
+ Muse. [bug=1798699]
+ * Fixed a problem with multi-valued attributes where the value
+ contained whitespace. Thanks to Jens Svalgaard for the
+ fix. [bug=1787453]
+ * Clarified ambiguous license statements in the source code. Beautiful
+ Soup is released under the MIT license, and has been since 4.4.0.
+
+
+-------------------------------------------------------------------
+Thu Dec 6 14:47:30 UTC 2018 - Ondřej Súkup <[email protected]>
+
+- update to 4.6.3
+ * Fix an exception when a custom formatter was asked to format
+ a void element
+
+-------------------------------------------------------------------
+Sun Aug 5 11:02:25 UTC 2018 - [email protected]
+
+- update to 4.6.1:
+ * Stop data loss when encountering an empty numeric entity, and
+ possibly in other cases. Thanks to tos.kamiya for the fix. [bug=1698503]
+
+ * Preserve XML namespaces introduced inside an XML document, not just
+ the ones introduced at the top level. [bug=1718787]
+
+ * Added a new formatter, "html5", which represents void elements
+ as "<element>" rather than "<element/>". [bug=1716272]
+
+ * Fixed a problem where the html.parser tree builder interpreted
+ a string like "&foo " as the character entity "&foo;" [bug=1728706]
+
+ * Correctly handle invalid HTML numeric character entities like “
+ which reference code points that are not Unicode code points. Note
+ that this is only fixed when Beautiful Soup is used with the
+ html.parser parser -- html5lib already worked and I couldn't fix it
+ with lxml. [bug=1782933]
+
+ * Improved the warning given when no parser is specified. [bug=1780571]
+
+ * When markup contains duplicate elements, a select() call that
+ includes multiple match clauses will match all relevant
+ elements. [bug=1770596]
+
+ * Fixed code that was causing deprecation warnings in recent Python 3
+ versions. Includes a patch from Ville Skyttä. [bug=1778909] [bug=1689496]
+
+ * Fixed a Windows crash in diagnose() when checking whether a long
+ markup string is a filename. [bug=1737121]
+
+ * Stopped HTMLParser from raising an exception in very rare cases of
+ bad markup. [bug=1708831]
+
+ * Fixed a bug where find_all() was not working when asked to find a
+ tag with a namespaced name in an XML document that was parsed as
+ HTML. [bug=1723783]
+
+ * You can get finer control over formatting by subclassing
+ bs4.element.Formatter and passing a Formatter instance into (e.g.)
+ encode(). [bug=1716272]
+
+ * You can pass a dictionary of `attrs` into
+ BeautifulSoup.new_tag. This makes it possible to create a tag with
+ an attribute like 'name' that would otherwise be masked by another
+ argument of new_tag. [bug=1779276]
+
+ * Clarified the deprecation warning when accessing tag.fooTag, to cover
+ the possibility that you might really have been looking for a tag
+ called 'fooTag'.
+
+-------------------------------------------------------------------
+Mon Jul 16 18:08:01 UTC 2018 - [email protected]
+
+- Clean SPEC file
+ Use py.test for running the tests instead of nosetests, which
+ breaks with python 3.7.
+
+-------------------------------------------------------------------
+Tue Mar 6 12:27:41 UTC 2018 - [email protected]
+
+- Allows Recommends and Suggest in Fedora
+
+-------------------------------------------------------------------
+Tue Feb 27 17:00:11 UTC 2018 - [email protected]
+
+- Recommends and Suggest are for SUSE
+
+-------------------------------------------------------------------
Old:
----
beautifulsoup4-4.6.0.tar.gz
beautifulsoup4-lxml-fixes.patch
New:
----
beautifulsoup4-4.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-beautifulsoup4.spec ++++++
--- /var/tmp/diff_new_pack.JCejbi/_old 2020-03-31 07:22:46.038408377 +0200
+++ /var/tmp/diff_new_pack.JCejbi/_new 2020-03-31 07:22:46.038408377 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-beautifulsoup4
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,32 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-beautifulsoup4
-Version: 4.6.0
+Version: 4.8.2
Release: 0
Summary: HTML/XML Parser for Quick-Turnaround Applications Like
Screen-Scraping
License: MIT
-Group: Development/Libraries/Python
-Url: https://www.crummy.com/software/BeautifulSoup/
+URL: https://www.crummy.com/software/BeautifulSoup/
Source:
https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM [email protected] -- Backport of
https://code.launchpad.net/~saschpe/beautifulsoup/beautifulsoup/+merge/200849
-Patch0: beautifulsoup4-lxml-fixes.patch
-# Documentation requirements:
-BuildRequires: %{python_module devel >= 2.6}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-# Test requirements
-BuildRequires: %{python_module nose}
+BuildRequires: %{python_module soupsieve}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
+Requires: python-soupsieve
Suggests: python-html5lib >= 0.999999
Suggests: python-lxml >= 3.4.4
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -68,17 +63,17 @@
your reach. Projects that would have taken hours take only minutes with
Beautiful Soup.
-%package doc
+%package -n python-beautifulsoup4-doc
Summary: Documentation for %{name}
-Group: Development/Libraries/Python
Recommends: %{name} = %{version}
+Obsoletes: python2-beautifulsoup4-doc
+Obsoletes: python3-beautifulsoup4-doc
-%description doc
+%description -n python-beautifulsoup4-doc
Documentation and help files for %{name}
%prep
%setup -q -n beautifulsoup4-%{version}
-%patch0 -p1
%build
%python_build
@@ -86,24 +81,19 @@
%install
%python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF-8
-%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}"
- pushd $PYTHONPATH
- $python %{_bindir}/nosetests-%{$python_version}
- popd
-}
+export PYTHONDONTWRITEBYTECODE=1
+%pytest %{buildroot}%{$python_sitelib}/bs4/tests
%files %{python_files}
-%defattr(-,root,root)
-%doc AUTHORS.txt COPYING.txt
+%license COPYING.txt
%{python_sitelib}/bs4/
%{python_sitelib}/beautifulsoup4-%{version}-py*.egg-info
-%files %{python_files doc}
-%defattr(-,root,root)
-%doc NEWS.txt README.txt TODO.txt doc/build/html
+%files -n python-beautifulsoup4-doc
+%doc NEWS.txt README.md TODO.txt doc/build/html
%changelog
++++++ beautifulsoup4-4.6.0.tar.gz -> beautifulsoup4-4.8.2.tar.gz ++++++
++++ 13647 lines of diff (skipped)