Skip to content

Update dependency dateparser to v1

Tine Wittler requested to merge renovate/dateparser-1.x into master

This MR contains the following updates:

Package Type Update Change
dateparser dependencies major ^0.7.6 -> ^1.0.0

Release Notes

scrapinghub/dateparser

v1.0.0

Compare Source

Breaking changes:

  • Drop support for Python 2.7 and pypy (see #​727, #​744, #​748, #​749, #​754, #​755, #​758, #​761, #​763, #​764, #​777 and #​783)
  • Now DateDataParser.get_date_data() returns a DateData object instead of a dict (see #​778).
  • From now wrong settings are not silenced and raise SettingValidationError (see #​797)
  • Now dateparser.parse() is deterministic and doesn't try previous locales. Also, DateDataParser.get_date_data() doesn't try the previous locales by default (see #​781)
  • Remove the 'base-formats' parser (see #​721)
  • Extract the 'no-spaces-time' parser from the 'absolute-time' parser and make it an optional parser (see #​786)
  • Remove numeral_translation_data (see #​782)
  • Remove the undocumented SKIP_TOKENS_PARSER and FUZZY settings (see #​728, #​794)
  • Remove support for using strings in date_formats (see #​726)
  • The undocumented ExactLanguageSearch class has been moved to the private scope and some internal methods have changed (see #​778)
  • Changes in dateparser.utils: normalize_unicode() doesn't accept bytes as input and convert_to_unicode has been deprecated (see #​749)

New features:

  • Add Python 3.9 support (see #​732, #​823)
  • Detect hours separated with a period/dot (see #​741)
  • Add support for "decade" (see #​762)
  • Add support for the hijri calendar in Python ≥ 3.6 (see #​718)

Improvements:


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports