python3-dateparser: upgrade 1.3.0 -> 1.4.0

Security fixes:
=================
- Remove import-time loading of timezone offset data from pickle to prevent
  unsafe deserialization from packaged data
- Replace eval() use when parsing no_word_spacing with strict boolean
  parsing to prevent code execution from locale metadata (#1056)

New features:
=============
- Add support for expressions like "N {interval} from now" in English (#1271)
- Add support for the en-US locale (#1222)

Fixes:
========
- Honor REQUIRE_PARTS for ambiguous month-number inputs by retrying with a
  year-biased DATE_ORDER (#1298)
- Fix parsing word-number relative phrases such as "two days later" (#1316)
- Allow md5hash to work in FIPS environments (#1267)

Improvements:
=============
- Add Bosnian Cyrillic (ijekavica) date translations (#1293)
- Add a new browser-based demo to the project documentation (#1306)
- Update installation documentation to replace setup.py install guidance
- Add a project security policy

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Wang Mingyu 2026-04-02 10:13:35 +08:00 committed by Khem Raj
parent 8e3de212f4
commit b4a70a9373
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/scrapinghub/dateparser"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051"
SRC_URI[sha256sum] = "5bccf5d1ec6785e5be71cc7ec80f014575a09b4923e762f850e57443bddbf1a5"
SRC_URI[sha256sum] = "97a21840d5ecdf7630c584f673338a5afac5dfe84f647baf4d7e8df98f9354a4"
PYPI_PACKAGE = "dateparser"