Overview

Request 883506 accepted

- 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.

Request History
Steve Kowalik's avatar

StevenK created request

- 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.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Ismail Dönmez's avatar

namtrac accepted review


Richard Brown's avatar

RBrownSUSE set openSUSE:Factory:Staging:D as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:D"


Richard Brown's avatar

RBrownSUSE accepted review

Picked "openSUSE:Factory:Staging:D"


Richard Brown's avatar

RBrownSUSE accepted review

Staging Project openSUSE:Factory:Staging:D got accepted.


Richard Brown's avatar

RBrownSUSE approved review

Staging Project openSUSE:Factory:Staging:D got accepted.


Richard Brown's avatar

RBrownSUSE accepted request

Staging Project openSUSE:Factory:Staging:D got accepted.

openSUSE Build Service is sponsored by