Revisions of python-dateparser

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135449 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 19)
- update to 1.2.0:
  * New ``PREFER_MONTH_OF_YEAR`` setting (#1146)
  * Absolute years in Russian are no longer being treated as a
    number of years in the past (#1129)
  * Cleanups and internal improvements:
  * Removed the use of ``datetime.utcnow``, deprecated on Python
    3.12 (#1179)
  * Applied Black formatting to the code base (#1158)
  * Initial integration with OSSFuzz (#1198)
  * Extended test cases (#1191)

- Update to 1.1.3
- Update to 1.1.2
  * Implement a PARSERS setting
  * Add support for `PREFER_DATES_FROM` in relative/freshness parser
  * Add support for `PREFER_DAY_OF_MONTH` in base-formats parser
  * Added UTC -00:00 as a valid offset
  * Fix support for “one”
  * Fix tokenizer for non recognized characters
  * Prevent installing regex 2019.02.19
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1119297 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 18)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1109435 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- remove unneeded GitPython dependency
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1074513 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
- update to 1.1.8:
  * Improved date parsing for Chinese
  * Improved date parsing for Czech
  * Reorder language by popularity
  * Fix leak of memory in cache
  * Add support for "\d units later"
  * Move modification in CLDR data to yaml
  * Add support to use timezone via settings to get
    PREFER_DATES_FROM result
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1066042 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 14)
- update to 1.1.7:
  * Add an “ago” synonym for Arabic
  * Improved date parsing for Czech
  * Improved date parsing for Indonesian
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1058176 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 1.1.6:
  * Fix the bug where Monday is parsed as a month
  * Prevent ReDoS in Spanish sentence splitting regex
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1046277 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
- update to 1.1.5:
  * Parse short versions of day, month, and year
  * Add a test for “in 1d”
  * Update languages_info
  * Add a workaround for zipimporter not having exec_module before Python
    3.10
  * Stabilize tests at midnight
  * Add a test case for French
  * Improved support for languages such as Slovak, Indonesian, Hindi, German
    and Japanese
  * Recursively create a model home
  * Replace regex sub with simple string replace
  * Add Python 3.10, 3.11 support
  * Drop support for Python 3.5, 3.6 versions
- drop incompatible-regex-pattern.patch (upstream)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 979090 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 7)
- Update to 1.1.1:
  - Improvements:
    - Fixed issue with regex library by pinning dependencies to
      an earlier version
    - Extended support for Russian language dates starting with
      lowercase
    - Allowed to use_given_order for languages too
    - Fixed link to settings section
    - Defined UTF-8 encoding for Windows
    - Fixed directories creation error in CLI utils
- Update to 1.1.0:
  - New features:
    - Support language detection based on langdetect, fastText,
      or a custom implementation
    - Add support for 'by '
    - Sort default language list by internet usage
  - Improvements:
    - Improved support of Chinese
    - Improvements in search_dates
    - Make order of previous locales deterministic
    - Fix parsing with trailing space
    - Consider RETURN_TIME_AS_PERIOD for timestamp times
    - Exclude failing regex version
    - Ongoing work multithreading support
    - Add demo URL
  - QA:
    - Migrate pipelines from Travis CI to Github Actions
    - Use versioned CLDR data
    - Add a script to update table of supported languages and
      locales
    - Sort 'skip' keys in yaml files
    - Improve test coverage
    - Code cleanup
- Add patches:
  - incompatible-regex-pattern.patch (gh#scrapinghub/dateparser#1052)
  - mark-network-tests.patch (gh#scrapinghub/dateparser#1059)
Richard Brown's avatar Richard Brown (RBrownSUSE) accepted request 883506 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 5)
- Update to 1.0.0:
  * 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)
    + Fix leap years when ``PREFER_DATES_FROM`` is set (see #738)
    + Fix ``STRICT_PARSING`` setting in ``no-spaces-time`` parser (see #715)
    + Consider ``RETURN_AS_TIME_PERIOD`` setting for ``relative-time`` parser (see #807)
    + Parse the 24hr time format with meridian info (see #634)
- Remove extranous %dir for egg-info.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 823471 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 4)
- Update to 0.7.6:
  * Rename ``scripts`` to ``dateparser_scripts`` to avoid name collisions
    with modules from other packages or projects
  * Add Python 3.8 support
  * Implement a ``REQUIRE_PARTS`` setting
  * Add support for subscript and superscript numbers
  * Extended French support
  * Extended German support
- Switch from nose to pytest.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 733872 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 2)
Automatic submission by obs-autosubmit
Displaying all 19 revisions
openSUSE Build Service is sponsored by