Upgrade to release 1.4.1:

- Remove fastText language detection support: the fasttext extra is
  dropped and detect_languages() now raises ImportError. Migrate to
  the langdetect extra, which also unblocks numpy 2.x compatibility
- Make digit quantifiers possessive in the relative-date regexes to
  prevent quadratic backtracking (ReDoS) on long digit runs
- Add the USE_GIVEN_LANGUAGE_ORDER setting to try languages and
  locales in the order given rather than by frequency
- Preserve explicit signs on individual components when parsing relative
  dates that combine decades with years, such as "-1 decade +2 years"
- Fall back to other provided languages in search_dates when the
  detected language yields no dates
- Parse relative date expressions with spaces between the sign and
  number, such as "now - 2 hours" and "now + 1 day"
- Use the parser-relative now for the current month when filling in
  incomplete dates so the month and day stay consistent
- Fix Norwegian Bokmål (nb) parsing of relative date expressions such
  as "3 måneder siden" and "om 2 månede
- Parse abbreviated English month expressions such as "1mon ago" and
  "3mons ago"
- Preserve surrounding whitespace when removing skip tokens during
  translation to avoid spurious double spaces
- Move project metadata and build configuration to pyproject.toml
- Add alternative Korean date expressions for today, yesterday,
  tomorrow, and "N months ago/later"
- Expand Czech date translations with additional inflections, word
  numbers, decade and century expressions, and clock phrases
- Replace internal OrderedDict usage with the built-in dict

Fixes:

WARNING: python3-dateparser-1.4.1-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with setuptools.build_meta,
use the correct class [pep517-backend]

Signed-off-by: Leon Anavi <[email protected]>
---
 ...hon3-dateparser_1.4.0.bb => python3-dateparser_1.4.1.bb} | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-dateparser_1.4.0.bb => 
python3-dateparser_1.4.1.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb 
b/meta-python/recipes-devtools/python/python3-dateparser_1.4.1.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb
rename to meta-python/recipes-devtools/python/python3-dateparser_1.4.1.bb
index 27f9da83b6..2602356207 100644
--- a/meta-python/recipes-devtools/python/python3-dateparser_1.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-dateparser_1.4.1.bb
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/scrapinghub/dateparser";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051"
 
-SRC_URI[sha256sum] = 
"97a21840d5ecdf7630c584f673338a5afac5dfe84f647baf4d7e8df98f9354a4"
+SRC_URI[sha256sum] = 
"f265df13c0380e2e07543ba74b67c0681aaa1096981ffcd35227e1aa0cb81c7c"
 
-PYPI_PACKAGE = "dateparser"
-
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 CLEANBROKEN = "1"
 
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127657): 
https://lists.openembedded.org/g/openembedded-devel/message/127657
Mute This Topic: https://lists.openembedded.org/mt/119848117/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to