Sync from SUSE:SLFO:Main python-beautifulsoup4 revision 2a7fc238acd71fcd91e5c39823baec92

This commit is contained in:
Adrian Schröter 2024-12-13 11:12:14 +01:00
parent da1492fbf8
commit 5adf535e84
4 changed files with 55 additions and 28 deletions

BIN
beautifulsoup4-4.12.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
beautifulsoup4-4.12.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat Jan 20 13:11:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.12.3:
* Fixed a regression such that if you set .hidden on a tag, the
tag becomes invisible but its contents are still visible. User
manipulation of .hidden is not a documented or supported
feature, so don't do this, but it wasn't too difficult to
keep the old behavior
working.
* Fixed a case found by Mengyuhan where html.parser giving up
on markup would result in an AssertionError instead of a
ParserRejectedMarkup exception.
* Added the correct stacklevel to instances of the
XMLParsedAsHTMLWarning.
* Corrected the syntax of the license definition in
pyproject.toml.
* Corrected a typo in a test that was causing test failures
when run against libxml2 2.12.1.
-------------------------------------------------------------------
Thu Nov 23 03:40:05 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Require cchardet explicitly to avoid charset-normalizer braindamage.
-------------------------------------------------------------------
Mon May 8 11:39:40 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-beautifulsoup4
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-beautifulsoup4
Version: 4.12.2
Version: 4.12.3
Release: 0
Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping
License: MIT
URL: https://www.crummy.com/software/BeautifulSoup/
Source: https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
BuildRequires: %{python_module cchardet}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@ -32,6 +33,7 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
Requires: python-cchardet
Requires: python-soupsieve >= 1.2
Suggests: python-html5lib
Suggests: python-lxml >= 3.4.4