Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-feedparser for openSUSE:Factory checked in at 2023-12-15 21:50:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-feedparser (Old) and /work/SRC/openSUSE:Factory/.python-feedparser.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-feedparser" Fri Dec 15 21:50:26 2023 rev:38 rq:1133424 version:6.0.11 Changes: -------- --- /work/SRC/openSUSE:Factory/python-feedparser/python-feedparser.changes 2023-06-27 23:18:35.780072969 +0200 +++ /work/SRC/openSUSE:Factory/.python-feedparser.new.25432/python-feedparser.changes 2023-12-15 21:50:50.525997296 +0100 @@ -1,0 +2,8 @@ +Tue Dec 12 20:24:21 UTC 2023 - Benoît Monin <benoit.mo...@gmx.fr> + +- update to version 6.0.11: + * Resolve cgi module deprecation warnings. (#330) +- remove python_module definition: provided by python-rpm-macros +- drop python-xml requirement: not needed anymore + +------------------------------------------------------------------- Old: ---- feedparser-6.0.10.tar.gz New: ---- feedparser-6.0.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-feedparser.spec ++++++ --- /var/tmp/diff_new_pack.QR5oUD/_old 2023-12-15 21:50:51.058016751 +0100 +++ /var/tmp/diff_new_pack.QR5oUD/_new 2023-12-15 21:50:51.062016897 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-feedparser # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-feedparser -Version: 6.0.10 +Version: 6.0.11 Release: 0 Summary: Universal Feed Parser Module for Python License: BSD-2-Clause @@ -33,11 +32,9 @@ BuildRequires: %{python_module chardet} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sgmllib3k} -BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-sgmllib3k -Requires: python-xml Recommends: python-chardet BuildArch: noarch %python_subpackages ++++++ feedparser-6.0.10.tar.gz -> feedparser-6.0.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/LICENSE new/feedparser-6.0.11/LICENSE --- old/feedparser-6.0.10/LICENSE 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/LICENSE 2023-12-10 16:52:57.000000000 +0100 @@ -2,7 +2,7 @@ ----- begin license block ----- -Copyright (C) 2010-2022 Kurt McKee <contac...@kurtmckee.org> +Copyright (C) 2010-2023 Kurt McKee <contac...@kurtmckee.org> Copyright (C) 2002-2008 Mark Pilgrim All rights reserved. @@ -38,7 +38,7 @@ ----- begin license block ----- -Copyright (C) 2010-2022 Kurt McKee <contac...@kurtmckee.org> +Copyright (C) 2010-2023 Kurt McKee <contac...@kurtmckee.org> Copyright (C) 2004-2008 Mark Pilgrim. All rights reserved. Redistribution and use in source (Sphinx ReST) and "compiled" forms (HTML, PDF, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/NEWS new/feedparser-6.0.11/NEWS --- old/feedparser-6.0.10/NEWS 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/NEWS 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,8 @@ coming in the next release: +6.0.11 - 9 December 2023 + * Resolve ``cgi`` module deprecation warnings. (#330) + 6.0.10 - 21 May 2022 * Populate ``<summary>`` correctly if it comes after ``<content>``. (#260) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/PKG-INFO new/feedparser-6.0.11/PKG-INFO --- old/feedparser-6.0.10/PKG-INFO 2022-05-21 15:53:48.608368400 +0200 +++ new/feedparser-6.0.11/PKG-INFO 2023-12-10 17:03:18.380324100 +0100 @@ -1,80 +1,88 @@ -Metadata-Version: 2.1 -Name: feedparser -Version: 6.0.10 -Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds -Home-page: https://github.com/kurtmckee/feedparser -Download-URL: https://pypi.python.org/pypi/feedparser -Author: Kurt McKee -Author-email: contac...@kurtmckee.org -License: BSD-2-Clause -Keywords: atom,cdf,feed,parser,rdf,rss -Platform: POSIX -Platform: Windows -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: Text Processing :: Markup :: XML -Requires-Python: >=3.6 -Description-Content-Type: text/x-rst -License-File: LICENSE - -feedparser - Parse Atom and RSS feeds in Python. - -| Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> -| Copyright 2002-2008 Mark Pilgrim - -feedparser is open source. See the LICENSE file for more information. - - -Installation -============ - -feedparser can be installed by running pip: - -.. code-block:: shell - - $ pip install feedparser - - -Documentation -============= - -The feedparser documentation is available on the web at: - - https://feedparser.readthedocs.io/en/latest/ - -It is also included in its source format, ReST, in the ``docs/`` directory. -To build the documentation you'll need the Sphinx package, which is available at: - - https://www.sphinx-doc.org/ - -You can then build HTML pages using a command similar to: - -.. code-block:: shell - - $ sphinx-build -b html docs/ fpdocs - -This will produce HTML documentation in the ``fpdocs/`` directory. - - -Testing -======= - -Feedparser has an extensive test suite, powered by tox. To run it, type this: - -.. code-block:: shell - - $ python -m venv venv - $ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows - (venv) $ pip install -r requirements-dev.txt - (venv) $ tox - -This will spawn an HTTP server that will listen on port 8097. The tests will -fail if that port is in use. +Metadata-Version: 2.1 +Name: feedparser +Version: 6.0.11 +Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds +Home-page: https://github.com/kurtmckee/feedparser +Download-URL: https://pypi.python.org/pypi/feedparser +Author: Kurt McKee +Author-email: contac...@kurtmckee.org +License: BSD-2-Clause +Keywords: atom,cdf,feed,parser,rdf,rss +Platform: POSIX +Platform: Windows +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Text Processing :: Markup :: XML +Requires-Python: >=3.6 +Description-Content-Type: text/x-rst +License-File: LICENSE +Requires-Dist: sgmllib3k + +.. + This file is part of feedparser. + Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> + Copyright 2002-2008 Mark Pilgrim + Released under the BSD 2-clause license. + + +feedparser +########## + +Parse Atom and RSS feeds in Python. + +---- + + +Installation +============ + +feedparser can be installed by running pip: + +.. code-block:: console + + $ pip install feedparser + + +Documentation +============= + +The feedparser documentation is available on the web at: + + https://feedparser.readthedocs.io/en/latest/ + +It is also included in its source format, ReST, in the ``docs/`` directory. +To build the documentation you'll need the Sphinx package, which is available at: + + https://www.sphinx-doc.org/ + +You can then build HTML pages using a command similar to: + +.. code-block:: console + + $ sphinx-build -b html docs/ fpdocs + +This will produce HTML documentation in the ``fpdocs/`` directory. + + +Testing +======= + +Feedparser has an extensive test suite, powered by tox. To run it, type this: + +.. code-block:: console + + $ python -m venv venv + $ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows + (venv) $ pip install -r requirements-dev.txt + (venv) $ tox + +This will spawn an HTTP server that will listen on port 8097. The tests will +fail if that port is in use. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/README.rst new/feedparser-6.0.11/README.rst --- old/feedparser-6.0.10/README.rst 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/README.rst 2023-12-10 16:52:57.000000000 +0100 @@ -1,9 +1,16 @@ -feedparser - Parse Atom and RSS feeds in Python. +.. + This file is part of feedparser. + Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> + Copyright 2002-2008 Mark Pilgrim + Released under the BSD 2-clause license. -| Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> -| Copyright 2002-2008 Mark Pilgrim -feedparser is open source. See the LICENSE file for more information. +feedparser +########## + +Parse Atom and RSS feeds in Python. + +---- Installation @@ -11,7 +18,7 @@ feedparser can be installed by running pip: -.. code-block:: shell +.. code-block:: console $ pip install feedparser @@ -30,7 +37,7 @@ You can then build HTML pages using a command similar to: -.. code-block:: shell +.. code-block:: console $ sphinx-build -b html docs/ fpdocs @@ -42,7 +49,7 @@ Feedparser has an extensive test suite, powered by tox. To run it, type this: -.. code-block:: shell +.. code-block:: console $ python -m venv venv $ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/docs/conf.py new/feedparser-6.0.11/docs/conf.py --- old/feedparser-6.0.10/docs/conf.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/docs/conf.py 2023-12-10 16:52:57.000000000 +0100 @@ -11,7 +11,7 @@ # project information project = 'feedparser' -copyright = '2010-2022 Kurt McKee, 2004-2008 Mark Pilgrim' +copyright = '2010-2023 Kurt McKee, 2004-2008 Mark Pilgrim' language = 'en' # documentation options diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/docs/license.rst new/feedparser-6.0.11/docs/license.rst --- old/feedparser-6.0.10/docs/license.rst 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/docs/license.rst 2023-12-10 16:52:57.000000000 +0100 @@ -3,7 +3,7 @@ Documentation license ===================== -Copyright 2010-2022 Kurt McKee, 2004-2008 Mark Pilgrim. All rights reserved. +Copyright 2010-2023 Kurt McKee, 2004-2008 Mark Pilgrim. All rights reserved. Redistribution and use in source (Sphinx ReST) and "compiled" forms (HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/__init__.py new/feedparser-6.0.11/feedparser/__init__.py --- old/feedparser-6.0.10/feedparser/__init__.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/__init__.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # @@ -32,7 +32,7 @@ __author__ = 'Kurt McKee <contac...@kurtmckee.org>' __license__ = 'BSD 2-clause' -__version__ = '6.0.10' +__version__ = '6.0.11' # HTTP "User-Agent" header to send to servers when downloading feeds. # If you are embedding feedparser in a larger application, you should diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/api.py new/feedparser-6.0.11/feedparser/api.py --- old/feedparser-6.0.10/feedparser/api.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/api.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # The public API for feedparser -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/__init__.py new/feedparser-6.0.11/feedparser/datetimes/__init__.py --- old/feedparser-6.0.10/feedparser/datetimes/__init__.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/__init__.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/asctime.py new/feedparser-6.0.11/feedparser/datetimes/asctime.py --- old/feedparser-6.0.10/feedparser/datetimes/asctime.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/asctime.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/greek.py new/feedparser-6.0.11/feedparser/datetimes/greek.py --- old/feedparser-6.0.10/feedparser/datetimes/greek.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/greek.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/hungarian.py new/feedparser-6.0.11/feedparser/datetimes/hungarian.py --- old/feedparser-6.0.10/feedparser/datetimes/hungarian.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/hungarian.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/iso8601.py new/feedparser-6.0.11/feedparser/datetimes/iso8601.py --- old/feedparser-6.0.10/feedparser/datetimes/iso8601.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/iso8601.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/korean.py new/feedparser-6.0.11/feedparser/datetimes/korean.py --- old/feedparser-6.0.10/feedparser/datetimes/korean.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/korean.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/perforce.py new/feedparser-6.0.11/feedparser/datetimes/perforce.py --- old/feedparser-6.0.10/feedparser/datetimes/perforce.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/perforce.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/rfc822.py new/feedparser-6.0.11/feedparser/datetimes/rfc822.py --- old/feedparser-6.0.10/feedparser/datetimes/rfc822.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/rfc822.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/datetimes/w3dtf.py new/feedparser-6.0.11/feedparser/datetimes/w3dtf.py --- old/feedparser-6.0.10/feedparser/datetimes/w3dtf.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/datetimes/w3dtf.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/encodings.py new/feedparser-6.0.11/feedparser/encodings.py --- old/feedparser-6.0.10/feedparser/encodings.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/encodings.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Character encoding routines -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # @@ -26,9 +26,9 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -import cgi import codecs import re +import typing as t try: try: @@ -68,6 +68,30 @@ RE_XML_PI_ENCODING = re.compile(br'^<\?.*encoding=[\'"](.*?)[\'"].*\?>') +def parse_content_type(line: str) -> t.Tuple[str, str]: + """Parse an HTTP Content-Type header. + + The return value will be a tuple of strings: + the MIME type, and the value of the "charset" (if any). + + This is a custom replacement for Python's cgi.parse_header(). + The cgi module will be removed in Python 3.13. + """ + + chunks = line.split(";") + if not chunks: + return "", "" + + mime_type = chunks[0].strip() + charset_value = "" + for chunk in chunks[1:]: + key, _, value = chunk.partition("=") + if key.strip().lower() == "charset": + charset_value = value.strip().strip("\"'") + + return mime_type, charset_value + + def convert_to_utf8(http_headers, data, result): """Detect and convert the character encoding to UTF-8. @@ -181,10 +205,7 @@ # XML declaration encoding, and HTTP encoding, following the # heuristic defined in RFC 3023. http_content_type = http_headers.get('content-type') or '' - http_content_type, params = cgi.parse_header(http_content_type) - http_encoding = params.get('charset', '').replace("'", "") - if isinstance(http_encoding, bytes): - http_encoding = http_encoding.decode('utf-8', 'ignore') + http_content_type, http_encoding = parse_content_type(http_content_type) acceptable_content_type = 0 application_content_types = ('application/xml', 'application/xml-dtd', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/exceptions.py new/feedparser-6.0.11/feedparser/exceptions.py --- old/feedparser-6.0.10/feedparser/exceptions.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/exceptions.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Exceptions used throughout feedparser -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/html.py new/feedparser-6.0.11/feedparser/html.py --- old/feedparser-6.0.10/feedparser/html.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/html.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/http.py new/feedparser-6.0.11/feedparser/http.py --- old/feedparser-6.0.10/feedparser/http.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/http.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/mixin.py new/feedparser-6.0.11/feedparser/mixin.py --- old/feedparser-6.0.10/feedparser/mixin.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/mixin.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/_base.py new/feedparser-6.0.11/feedparser/namespaces/_base.py --- old/feedparser-6.0.10/feedparser/namespaces/_base.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/_base.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the Atom, RSS, RDF, and CDF feed formats -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/admin.py new/feedparser-6.0.11/feedparser/namespaces/admin.py --- old/feedparser-6.0.10/feedparser/namespaces/admin.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/admin.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the administrative elements extension -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/cc.py new/feedparser-6.0.11/feedparser/namespaces/cc.py --- old/feedparser-6.0.10/feedparser/namespaces/cc.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/cc.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the Creative Commons licensing extensions -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/dc.py new/feedparser-6.0.11/feedparser/namespaces/dc.py --- old/feedparser-6.0.10/feedparser/namespaces/dc.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/dc.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the Dublin Core metadata extensions -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/georss.py new/feedparser-6.0.11/feedparser/namespaces/georss.py --- old/feedparser-6.0.10/feedparser/namespaces/georss.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/georss.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the GeoRSS format -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/itunes.py new/feedparser-6.0.11/feedparser/namespaces/itunes.py --- old/feedparser-6.0.10/feedparser/namespaces/itunes.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/itunes.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the iTunes format -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/mediarss.py new/feedparser-6.0.11/feedparser/namespaces/mediarss.py --- old/feedparser-6.0.10/feedparser/namespaces/mediarss.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/mediarss.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the Media RSS format -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/namespaces/psc.py new/feedparser-6.0.11/feedparser/namespaces/psc.py --- old/feedparser-6.0.10/feedparser/namespaces/psc.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/namespaces/psc.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # Support for the Podlove Simple Chapters format -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/parsers/loose.py new/feedparser-6.0.11/feedparser/parsers/loose.py --- old/feedparser-6.0.10/feedparser/parsers/loose.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/parsers/loose.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # The loose feed parser that interfaces with an SGML parsing library -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/parsers/strict.py new/feedparser-6.0.11/feedparser/parsers/strict.py --- old/feedparser-6.0.10/feedparser/parsers/strict.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/parsers/strict.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,5 +1,5 @@ # The strict feed parser that interfaces with an XML parsing library -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/sanitizer.py new/feedparser-6.0.11/feedparser/sanitizer.py --- old/feedparser-6.0.10/feedparser/sanitizer.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/sanitizer.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/sgml.py new/feedparser-6.0.11/feedparser/sgml.py --- old/feedparser-6.0.10/feedparser/sgml.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/sgml.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/urls.py new/feedparser-6.0.11/feedparser/urls.py --- old/feedparser-6.0.10/feedparser/urls.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/urls.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser/util.py new/feedparser-6.0.11/feedparser/util.py --- old/feedparser-6.0.10/feedparser/util.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/feedparser/util.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/feedparser.egg-info/PKG-INFO new/feedparser-6.0.11/feedparser.egg-info/PKG-INFO --- old/feedparser-6.0.10/feedparser.egg-info/PKG-INFO 2022-05-21 15:53:41.000000000 +0200 +++ new/feedparser-6.0.11/feedparser.egg-info/PKG-INFO 2023-12-10 17:03:18.000000000 +0100 @@ -1,80 +1,88 @@ -Metadata-Version: 2.1 -Name: feedparser -Version: 6.0.10 -Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds -Home-page: https://github.com/kurtmckee/feedparser -Download-URL: https://pypi.python.org/pypi/feedparser -Author: Kurt McKee -Author-email: contac...@kurtmckee.org -License: BSD-2-Clause -Keywords: atom,cdf,feed,parser,rdf,rss -Platform: POSIX -Platform: Windows -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Programming Language :: Python :: 3.8 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: Text Processing :: Markup :: XML -Requires-Python: >=3.6 -Description-Content-Type: text/x-rst -License-File: LICENSE - -feedparser - Parse Atom and RSS feeds in Python. - -| Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> -| Copyright 2002-2008 Mark Pilgrim - -feedparser is open source. See the LICENSE file for more information. - - -Installation -============ - -feedparser can be installed by running pip: - -.. code-block:: shell - - $ pip install feedparser - - -Documentation -============= - -The feedparser documentation is available on the web at: - - https://feedparser.readthedocs.io/en/latest/ - -It is also included in its source format, ReST, in the ``docs/`` directory. -To build the documentation you'll need the Sphinx package, which is available at: - - https://www.sphinx-doc.org/ - -You can then build HTML pages using a command similar to: - -.. code-block:: shell - - $ sphinx-build -b html docs/ fpdocs - -This will produce HTML documentation in the ``fpdocs/`` directory. - - -Testing -======= - -Feedparser has an extensive test suite, powered by tox. To run it, type this: - -.. code-block:: shell - - $ python -m venv venv - $ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows - (venv) $ pip install -r requirements-dev.txt - (venv) $ tox - -This will spawn an HTTP server that will listen on port 8097. The tests will -fail if that port is in use. +Metadata-Version: 2.1 +Name: feedparser +Version: 6.0.11 +Summary: Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds +Home-page: https://github.com/kurtmckee/feedparser +Download-URL: https://pypi.python.org/pypi/feedparser +Author: Kurt McKee +Author-email: contac...@kurtmckee.org +License: BSD-2-Clause +Keywords: atom,cdf,feed,parser,rdf,rss +Platform: POSIX +Platform: Windows +Classifier: Development Status :: 5 - Production/Stable +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Text Processing :: Markup :: XML +Requires-Python: >=3.6 +Description-Content-Type: text/x-rst +License-File: LICENSE +Requires-Dist: sgmllib3k + +.. + This file is part of feedparser. + Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> + Copyright 2002-2008 Mark Pilgrim + Released under the BSD 2-clause license. + + +feedparser +########## + +Parse Atom and RSS feeds in Python. + +---- + + +Installation +============ + +feedparser can be installed by running pip: + +.. code-block:: console + + $ pip install feedparser + + +Documentation +============= + +The feedparser documentation is available on the web at: + + https://feedparser.readthedocs.io/en/latest/ + +It is also included in its source format, ReST, in the ``docs/`` directory. +To build the documentation you'll need the Sphinx package, which is available at: + + https://www.sphinx-doc.org/ + +You can then build HTML pages using a command similar to: + +.. code-block:: console + + $ sphinx-build -b html docs/ fpdocs + +This will produce HTML documentation in the ``fpdocs/`` directory. + + +Testing +======= + +Feedparser has an extensive test suite, powered by tox. To run it, type this: + +.. code-block:: console + + $ python -m venv venv + $ source venv/bin/activate # or "venv\bin\activate.ps1" on Windows + (venv) $ pip install -r requirements-dev.txt + (venv) $ tox + +This will spawn an HTTP server that will listen on port 8097. The tests will +fail if that port is in use. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/setup.cfg new/feedparser-6.0.11/setup.cfg --- old/feedparser-6.0.10/setup.cfg 2022-05-21 15:53:48.608368400 +0200 +++ new/feedparser-6.0.11/setup.cfg 2023-12-10 17:03:18.380324100 +0100 @@ -1,4 +1,4 @@ -[egg_info] -tag_build = -tag_date = 0 - +[egg_info] +tag_build = +tag_date = 0 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/setup.py new/feedparser-6.0.11/setup.py --- old/feedparser-6.0.10/setup.py 2022-05-21 15:52:26.000000000 +0200 +++ new/feedparser-6.0.11/setup.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2022 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2002-2008 Mark Pilgrim # All rights reserved. # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feedparser-6.0.10/tests/runtests.py new/feedparser-6.0.11/tests/runtests.py --- old/feedparser-6.0.10/tests/runtests.py 2022-05-21 15:44:25.000000000 +0200 +++ new/feedparser-6.0.11/tests/runtests.py 2023-12-10 16:52:57.000000000 +0100 @@ -1,4 +1,4 @@ -# Copyright 2010-2020 Kurt McKee <contac...@kurtmckee.org> +# Copyright 2010-2023 Kurt McKee <contac...@kurtmckee.org> # Copyright 2004-2008 Mark Pilgrim # All rights reserved. #