diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3b35b80..b01a112 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,6 +20,50 @@ Please see the fragment files in the `changelog.d directory`_. .. scriv-insert-here +.. _changelog-0.20: + +0.20 - 2024-03-29 +================= + +Python support +-------------- + +* Support Python 3.11 and 3.12. +* Drop support for Python 3.7. + +Added +----- + +* Add a ``py.typed`` file so mypy can lint listparser use in dependent applications. +* Support lxml v5.0.0 while maintaining support for v4.6.2. + +Changed +------- + +* Support malformed XML documents by using lxml's HTML parsers. + +Fixed +----- + +* Fix the feed URL to the blog entries about listparser. + +Documentation +------------- + +* Add the OPML 1.0 and OPML 2.0 specifications to the listparser documentation for posterity. + +Development +----------- + +* Randomize the order of listparser's unit tests on each run + to help ensure there are no testing interdependencies. +* Add black, flake8, and isort as pre-commit hooks. +* Add mypy as a tox test environment. +* Add pyupgrade as a pre-commit hook and enforce Python 3.8+ syntax. +* Python warnings encountered during testing are now escalated to errors. +* Move tool dependencies into separate ``requirements.txt`` files. +* Add a tox label, ``update``, so it's easy to update tool dependencies. + .. _changelog-0.19: 0.19 - 2022-06-04 diff --git a/README.rst b/README.rst index 22cfdc2..701fc8f 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ Usage .. code-block:: pycon >>> import listparser - >>> result = listparser.parse(open('feeds.opml').read()) + >>> result = listparser.parse(open("feeds.opml").read()) A dictionary will be returned with several keys: diff --git a/changelog.d/20220620_142051_kurtmckee_update_docs.rst b/changelog.d/20220620_142051_kurtmckee_update_docs.rst deleted file mode 100644 index c0b9f0d..0000000 --- a/changelog.d/20220620_142051_kurtmckee_update_docs.rst +++ /dev/null @@ -1,4 +0,0 @@ -Added ------ - -* The OPML 1.0 and OPML 2.0 specifications are now included in the listparser documentation for posterity. diff --git a/changelog.d/20220620_180509_kurtmckee_lint_everything.rst b/changelog.d/20220620_180509_kurtmckee_lint_everything.rst deleted file mode 100644 index 615e13a..0000000 --- a/changelog.d/20220620_180509_kurtmckee_lint_everything.rst +++ /dev/null @@ -1,5 +0,0 @@ -Development ------------ - -* Add black, flake8, and isort as tox test environments and pre-commit hooks. -* Add mypy as a tox test environment. diff --git a/changelog.d/20220620_200441_kurtmckee_py_typed.rst b/changelog.d/20220620_200441_kurtmckee_py_typed.rst deleted file mode 100644 index ffec45e..0000000 --- a/changelog.d/20220620_200441_kurtmckee_py_typed.rst +++ /dev/null @@ -1,7 +0,0 @@ -Added ------ - -* Add a ``py.typed`` file so mypy can type check dependent applications. - See `PEP 561`_ for more information. - -.. _PEP 561: https://peps.python.org/pep-0561/#packaging-type-information diff --git a/changelog.d/20220701_081503_kurtmckee_html_parser.rst b/changelog.d/20220701_081503_kurtmckee_html_parser.rst deleted file mode 100644 index b13a14b..0000000 --- a/changelog.d/20220701_081503_kurtmckee_html_parser.rst +++ /dev/null @@ -1,4 +0,0 @@ -Changed -------- - -* Migrate to HTML parsers to support malformed XML documents. diff --git a/changelog.d/20220701_082128_kurtmckee_randomize_tests.rst b/changelog.d/20220701_082128_kurtmckee_randomize_tests.rst deleted file mode 100644 index 26bbde9..0000000 --- a/changelog.d/20220701_082128_kurtmckee_randomize_tests.rst +++ /dev/null @@ -1,5 +0,0 @@ -Changed -------- - -* Randomize the order of listparser's unit tests on each run - to help ensure there are no testing interdependencies. diff --git a/changelog.d/20220701_083112_kurtmckee_update_pre_commit.rst b/changelog.d/20220701_083112_kurtmckee_update_pre_commit.rst deleted file mode 100644 index 3b115a9..0000000 --- a/changelog.d/20220701_083112_kurtmckee_update_pre_commit.rst +++ /dev/null @@ -1,5 +0,0 @@ -Changed -------- - -* Update the existing pre-commit hooks' versions. -* Add pyupgrade as a pre-commit hook and enforce Python 3.8+ syntax. diff --git a/changelog.d/20220704_145501_kurtmckee_escalate_warnings.rst b/changelog.d/20220704_145501_kurtmckee_escalate_warnings.rst deleted file mode 100644 index 228084c..0000000 --- a/changelog.d/20220704_145501_kurtmckee_escalate_warnings.rst +++ /dev/null @@ -1,4 +0,0 @@ -Development ------------ - -* Python warnings encountered during testing are now escalated to errors. diff --git a/changelog.d/20220906_080618_kurtmckee_fix_xmlurl.rst b/changelog.d/20220906_080618_kurtmckee_fix_xmlurl.rst deleted file mode 100644 index ebe059f..0000000 --- a/changelog.d/20220906_080618_kurtmckee_fix_xmlurl.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fixed ------ - -* Fix the feed URL to the blog entries about listparser. diff --git a/changelog.d/20221220_102659_kurtmckee_use_ci.rst b/changelog.d/20221220_102659_kurtmckee_use_ci.rst deleted file mode 100644 index d9d451a..0000000 --- a/changelog.d/20221220_102659_kurtmckee_use_ci.rst +++ /dev/null @@ -1,4 +0,0 @@ -Python support --------------- - -* Add support for Python 3.11. diff --git a/changelog.d/20230227_095748_kurtmckee_update_mypy_comments.rst b/changelog.d/20230227_095748_kurtmckee_update_mypy_comments.rst deleted file mode 100644 index 50c04ee..0000000 --- a/changelog.d/20230227_095748_kurtmckee_update_mypy_comments.rst +++ /dev/null @@ -1,9 +0,0 @@ -Changed -------- - -* Restrict type-ignore comments to only exactly what's required to suppress a mypy error. - -Development ------------ - -* Remove type-ignore comments from the test suite, which is no longer checked by mypy. diff --git a/changelog.d/20230515_155020_kurtmckee_rm_python_3_7_support.rst b/changelog.d/20230515_155020_kurtmckee_rm_python_3_7_support.rst deleted file mode 100644 index 805cbe0..0000000 --- a/changelog.d/20230515_155020_kurtmckee_rm_python_3_7_support.rst +++ /dev/null @@ -1,4 +0,0 @@ -Python support --------------- - -* Drop support for Python 3.7. diff --git a/changelog.d/20230911_083215_kurtmckee_support_python_3_12.rst b/changelog.d/20230911_083215_kurtmckee_support_python_3_12.rst deleted file mode 100644 index 6520913..0000000 --- a/changelog.d/20230911_083215_kurtmckee_support_python_3_12.rst +++ /dev/null @@ -1,4 +0,0 @@ -Python support --------------- - -* Support Python 3.12. diff --git a/changelog.d/20231230_135332_rongronggg9_support_lxml_5.rst b/changelog.d/20231230_135332_rongronggg9_support_lxml_5.rst deleted file mode 100644 index c10b8e4..0000000 --- a/changelog.d/20231230_135332_rongronggg9_support_lxml_5.rst +++ /dev/null @@ -1,6 +0,0 @@ -Added ------ - -* Add ``^5.0.0`` support for ``lxml`` while keeping the ``^4.6.2`` support. - No actual code changes were required as the breaking changes does not - affect our usage. diff --git a/changelog.d/20240328_075816_kurtmckee_manageable_dependencies.rst b/changelog.d/20240328_075816_kurtmckee_manageable_dependencies.rst deleted file mode 100644 index 4e088fb..0000000 --- a/changelog.d/20240328_075816_kurtmckee_manageable_dependencies.rst +++ /dev/null @@ -1,5 +0,0 @@ -Development ------------ - -* Move tool dependencies into separate ``requirements.txt`` files. -* Add a tox label, ``update``, so it's easy to update tool dependencies. diff --git a/pyproject.toml b/pyproject.toml index a8ac3be..4a0567c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "listparser" -version = "0.19" +version = "0.20" description = "Parse OPML subscription lists" authors = ["Kurt McKee "] license = "MIT"