From da38893fb376e93d96118fda574255ff2deb854e Mon Sep 17 00:00:00 2001 From: Adrien Barbaresi Date: Mon, 9 Oct 2023 13:38:55 +0200 Subject: [PATCH] prepare v1.5.2 and update setup (#102) --- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 4 ++++ htmldate/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ecec3eea..523cc0c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] env: [{ MINIMAL: "true" }, { MINIMAL: "false" }] include: # custom python versions diff --git a/CHANGELOG.md b/CHANGELOG.md index 64c47866..46ccea5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +## 1.5.2 +- fix for missing months keys in custom extractor (#100) +- fix for None in `try_date_expr()` (#101) + ## 1.5.1 - fix regression for fast extraction introduced in e8b3538 (#96) - fix setup by making backports-datetime-fromisoformat optional (#95) diff --git a/htmldate/__init__.py b/htmldate/__init__.py index 6048506e..8f6a7ab7 100644 --- a/htmldate/__init__.py +++ b/htmldate/__init__.py @@ -7,7 +7,7 @@ __author__ = "Adrien Barbaresi" __license__ = "GNU GPL v3" __copyright__ = "Copyright 2017-2023, Adrien Barbaresi" -__version__ = "1.5.1" +__version__ = "1.5.2" import logging diff --git a/setup.py b/setup.py index 5ea14a58..d2a2de78 100644 --- a/setup.py +++ b/setup.py @@ -117,7 +117,7 @@ def get_version(package): install_requires=[ "backports-datetime-fromisoformat; python_version < '3.7'", "charset_normalizer >= 3.0.1; python_version < '3.7'", - "charset_normalizer >= 3.2.0; python_version >= '3.7'", + "charset_normalizer >= 3.3.0; python_version >= '3.7'", "dateparser >= 1.1.2", # 1.1.3+ slower "lxml >= 4.9.3 ; platform_system != 'Darwin'", "lxml == 4.9.2 ; platform_system == 'Darwin'",