Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update listparser to 0.19 #606

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jun 4, 2022

This PR updates listparser from 0.18 to 0.19.

Changelog

0.19

=================

*"Spring cleaning"*

Added
-----

*   Add ``requests`` as an optional dependency.
*   Add ``lxml`` as an optional dependency.
 This is currently the only way to parse malformed XML files.
*   Add support for Python 3.7 through Python 3.10.

Removed
-------

*   Drop support for CPython 3.6 and lower.
*   Drop support for IronPython.
*   Drop support for Jython.
*   Remove some ancient Jython compatibility code.
*   HTML entities are no longer automatically injected into the DTD.

 If ``lxml`` is installed and undeclared HTML entities are encountered,
 they will be ignored.

 If lxml is not installed and undeclared HTML entities are encountered,
 Python's ``xml.sax`` parser will fail to parse the document.

Fixed
-----

*   Fix some coverage messages that were output during testing.
*   Fix the combined coverage HTML report's paths.

Changed
-------

*   Migrate to a ``src/``-based directory structure.
*   Migrate to Read the Docs for documentation hosting.
*   ``parse()`` no longer accepts *etag*, *modified*, or *agent* arguments.
*   HTTP response information is no longer available in the return dictionary.
*   The unit tests no longer launch an HTTP server.
*   Coverage data is now erased before the unit tests begin.
*   ``bozo`` is now ``True`` or ``False``, not ``1`` or ``0``.
*   ``bozo_exception`` is guaranteed to exist in the return dict.
*   The RFC 822 parser now returns timezone-aware ``datetime`` objects
 instead of converting to UTC and losing timezone info.
*   Move and split ``lptest.py`` into the ``tests/`` subdirectory
 and into specific ``test_*`` files.
*   Increased test coverage reporting to include test runners.
*   Decreased the number of ``tox`` environments where listparser must be built and installed.
*   Internally rely on ``dict`` key-based lookups instead of ``SuperDict`` attribute-based lookups.
*   Cache XML parsing method lookup results to avoid excessive string formatting.
*   Change the name of the ``ListError`` to ``ListparserError``.
*   Split the codebase into multiple files.
*   Use ``tox`` to automate testing across multiple interpreters and versions.
*   Migrate to ``pytest`` for unit testing.
*   Remove dependence on the ``six`` package.
*   Add type annotations.
*   Remove compatibility code.
*   Migrate to Poetry and ``pyproject.toml`` for project configuration.
*   Change the license from LGPLv3 to MIT.
*   Use scriv to manage the CHANGELOG.
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #797

@pyup-bot pyup-bot closed this Mar 29, 2024
@thebopshoobop thebopshoobop deleted the pyup-update-listparser-0.18-to-0.19 branch March 29, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant