Skip to content

[stubsabot] Bump dateparser to 1.4.2 - #16145

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
stubsabot/dateparser
Open

[stubsabot] Bump dateparser to 1.4.2#16145
github-actions[bot] wants to merge 1 commit into
mainfrom
stubsabot/dateparser

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Release: https://pypi.org/pypi/dateparser/1.4.2
Repository: https://github.com/scrapinghub/dateparser
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/dateparser
Diff: scrapinghub/dateparser@v1.4.1...v1.4.2

Stubsabot analysis of the diff between the two releases:

  • 1 public Python file has been added: dateparser/search/ngram_search.py.
  • 0 files included in typeshed's stubs have been deleted.
  • 11 files included in typeshed's stubs have been modified or renamed.
  • Total lines of Python code added: 3717.
  • Total lines of Python code deleted: 684.

If stubtest fails for this PR:

  • Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
  • Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Release: https://pypi.org/pypi/dateparser/1.4.2
Repository: https://github.com/scrapinghub/dateparser
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/dateparser
Diff: scrapinghub/dateparser@v1.4.1...v1.4.2

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `dateparser/search/ngram_search.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 11 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 3717.
 - Total lines of Python code deleted: 684.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI
@github-actions github-actions Bot added the bot: stubsabot 🤖 Third-party stub updates by stubsabot 🤖 label Aug 6, 2026
@srittau

srittau commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator
error: dateparser.date.DateDataParser._get_applicable_locales is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/date.pyi:143
def (self: dateparser.date.DateDataParser, date_string: str) -> typing.Iterator[dateparser.languages.locale.Locale]
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/date.py:644
def (self, date_string, ignore_surrounding_text=False)

error: dateparser.date.DateDataParser._is_applicable_locale is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/date.pyi:144
def (self: dateparser.date.DateDataParser, locale: dateparser.languages.locale.Locale, date_string: str) -> bool
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/date.py:706
def (self, locale, date_string, ignore_surrounding_text=False)

error: dateparser.date._DateLocaleParser.__init__ is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/date.pyi:71
def (self: dateparser.date._DateLocaleParser, locale: dateparser.languages.locale.Locale, date_string: str, date_formats: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None, settings: dateparser.conf.Settings | None =)
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/date.py:258
def (self, locale, date_string, date_formats, settings=None, ignore_surrounding_text=False)

error: dateparser.date._DateLocaleParser.parse is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/date.pyi:79
def (cls: type[dateparser.date._DateLocaleParser], locale: dateparser.languages.locale.Locale, date_string: str, date_formats: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None =, settings: dateparser.conf.Settings | None =) -> dateparser.date.DateData
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/date.py:285
def (locale, date_string, date_formats=None, settings=None, ignore_surrounding_text=False)

error: dateparser.languages.locale.Locale.is_applicable is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/languages/locale.pyi:18
def (self: dateparser.languages.locale.Locale, date_string: str, strip_timezone: bool =, settings: dateparser.conf.Settings | None =) -> bool
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/languages/locale.py:57
def (self, date_string, strip_timezone=False, settings=None, ignore_surrounding_text=False)

error: dateparser.languages.locale.Locale.translate is inconsistent, stub does not have parameter "ignore_surrounding_text"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/languages/locale.pyi:22
def (self: dateparser.languages.locale.Locale, date_string: str, keep_formatting: bool =, settings: dateparser.conf.Settings | None =) -> str
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/languages/locale.py:132
def (self, date_string, keep_formatting=False, settings=None, ignore_surrounding_text=False)

error: dateparser.search.search_dates is inconsistent, stub does not have parameter "strategy"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/search/__init__.pyi:9
Overload(def (text: str, languages: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None, settings: dateparser.conf.Settings | dict[str, Any] | None, add_detected_language: Literal[True], detect_languages_function: (def (str, float) -> list[str]) | None =) -> list[tuple[str, datetime.datetime, str]] | None, def (text: str, languages: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None =, settings: dateparser.conf.Settings | dict[str, Any] | None =, add_detected_language: Literal[False] =, detect_languages_function: (def (str, float) -> list[str]) | None =) -> list[tuple[str, datetime.datetime]] | None)
Inferred signature: def (text: str, languages: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None = ..., settings: dateparser.conf.Settings | dict[str, Any] | None = ..., add_detected_language: bool = ..., detect_languages_function: (def (str, float) -> list[str]) | None = ...)
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/search/__init__.py:6
def (text, languages=None, settings=None, add_detected_language=False, detect_languages_function=None, strategy='split')

error: dateparser.search.search.DateSearchWithDetection.search_dates is inconsistent, stub does not have parameter "strategy"
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/search/search.pyi:69
def (self: dateparser.search.search.DateSearchWithDetection, text: str, languages: list[str] | tuple[str, ...] | typing.AbstractSet[str] | None =, settings: dateparser.conf.Settings | dict[str, Any] | None =, detect_languages_function: (def (str, float) -> list[str]) | None =) -> TypedDict(dateparser.search.search._SearchDates, {'Language': str | None, 'Dates': list[tuple[str, datetime.datetime]] | None})
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/conf.py:285
def (self, text, languages=None, settings=None, detect_languages_function=None, strategy='split')

error: dateparser.timezone_parser.is_timezone_token is not present in stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/dateparser/dateparser/timezone_parser.pyi
MISSING
Runtime: in file /tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/timezone_parser.py:53
def (token)

error: dateparser.search.ngram_search failed to find stubs
Stub:
MISSING
Runtime:
<module 'dateparser.search.ngram_search' from '/tmp/stubtest-y73zinjp/lib/python3.13/site-packages/dateparser/search/ngram_search.py'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: stubsabot 🤖 Third-party stub updates by stubsabot 🤖

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant