17
0
Commit Graph

22 Commits

Author SHA256 Message Date
08f65eede5 Convert to libalternatives, bsc#1245883 2025-11-03 14:42:31 +01:00
95548d287d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=39 2023-12-28 09:12:54 +00:00
de91c33525 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=38
2023-12-07 20:46:55 +00:00
ed3b44448a - Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=36
2023-10-14 00:54:24 +00:00
376033cadd - remove unneeded GitPython dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=34
2023-09-07 07:09:39 +00:00
ffc7d7682e Accepting request 1081383 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=32
2023-04-21 14:45:21 +00:00
d34331a299 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=30
2023-03-26 20:00:38 +00:00
654cf1e1cf - update to 1.1.7:
* Add an “ago” synonym for Arabic
  * Improved date parsing for Czech
  * Improved date parsing for Indonesian

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=28
2023-02-15 19:44:11 +00:00
d4566f3812 - update to 1.1.6:
* Fix the bug where Monday is parsed as a month
  * Prevent ReDoS in Spanish sentence splitting regex

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=26
2023-01-13 09:40:58 +00:00
adaf6dfc52 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=24
2023-01-02 19:02:45 +00:00
746a8bd55c Accepting request 1034379 from home:yarunachalam:branches:devel:languages:python
- Update to 1.1.3 
  New features:
  * Add support for fractional units (#876)
  Improvements:
  * Fix the returned datetime skipping a day with time+timezone input and PREFER_DATES_FROM = 'future' (#1002)
  * Fix input translation breaking keep_formatting (#720)
  * English: support "till date" (#1005)
  * English: support “after” and “before” in relative dates (#1008)
  Cleanups:
  * Reorganize internal data (#1090)
  * CI updates (#1088

OBS-URL: https://build.opensuse.org/request/show/1034379
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=22
2022-11-08 09:33:54 +00:00
02fcdfedc9 Accepting request 1031664 from home:yarunachalam:branches:devel:languages:python
- Update to 1.1.2 
  * Added support for negative timestamp (#1060)
  * Fixed PytzUsageWarning for Python versions >= 3.6 (#1062)
  * Added support for dates with dots and spaces (#1028)
  * Improved support for Ukrainian, Croatian and Russian (#1072, #1074, #1079, #1082, #1073, #1083)
  * Added support for parsing Unix timestamps consistently regardless of timezones (#954)
  * Improved tests (#1086)

OBS-URL: https://build.opensuse.org/request/show/1031664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=20
2022-10-29 11:52:42 +00:00
6871887538 Accepting request 998021 from home:bnavigator:branches:devel:languages:python
- Clean requirements: no code coverage

OBS-URL: https://build.opensuse.org/request/show/998021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=18
2022-08-19 06:44:04 +00:00
f722f4a441 Accepting request 980047 from home:mcalabkova:branches:devel:languages:python
- Do not collect test_search.py
  * https://github.com/scrapinghub/dateparser/issues/1053

OBS-URL: https://build.opensuse.org/request/show/980047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=16
2022-05-31 07:56:09 +00:00
a9d415f903 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=14
2022-05-24 22:08:18 +00:00
7ab03605f9 Accepting request 962397 from home:pgajdos:python
- python-mock is actually not required for build

OBS-URL: https://build.opensuse.org/request/show/962397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=12
2022-03-17 11:10:19 +00:00
6634d47e67 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=10
2021-04-07 06:54:12 +00:00
843fac3180 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=8
2020-07-30 01:42:53 +00:00
Tomáš Chvátal
cf7e64d577 Accepting request 790831 from home:mcalabkova:branches:devel:languages:python
- update to version 0.7.4
  * Fixed Python 2.7 tests
  * Extended Norwegian support
  * 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 
  * Added Hungarian language.
  * Added setting, `STRICT_PARSING` to ignore incomplete dates.
  * More simplifications for Russian and Ukrainian languages.

OBS-URL: https://build.opensuse.org/request/show/790831
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=6
2020-04-02 10:37:36 +00:00
Tomáš Chvátal
d7d06f7289 Accepting request 732409 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/732409
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=3
2019-09-23 07:22:27 +00:00
Tomáš Chvátal
d1ebb4dad2 - Fix license
- Format with spec-cleaner
- Remove py2 only parts

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=2
2019-09-13 12:40:09 +00:00
Tomáš Chvátal
39e0295c27 osc copypac from project:home:jayvdb:py-new package:python-dateparser revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dateparser?expand=0&rev=1
2019-09-13 12:15:35 +00:00