Skip to content

Updates oneshot type of psutil.Process #6006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2021
Merged

Updates oneshot type of psutil.Process #6006

merged 1 commit into from
Sep 5, 2021

Conversation

@sobolevn
Copy link
Member Author

sobolevn commented Sep 5, 2021

Tests are failing for the sphinx package:

 error: deprecated.sphinx.deprecated is inconsistent, stub does not have argument "line_length"
Stub: at line 26
Overload(def [_F <: def (*Any, **Any) -> Any] (_F`-1) -> _F`-1, def (reason: builtins.str =, *, version: builtins.str =, action: Union[Union[Literal['default'], Literal['error'], Literal['ignore'], Literal['always'], Literal['module'], Literal['once']], None] =, category: Union[Type[builtins.Warning], None] =) -> def [_F <: def (*Any, **Any) -> Any] (_F`-1) -> _F`-1)
Inferred signature: def (__wrapped: _F`-1 = ..., reason: builtins.str = ..., *, action: Union[Literal['default'], Literal['error'], Literal['ignore'], Literal['always'], Literal['module'], Literal['once'], None] = ..., category: Union[Type[builtins.Warning], None] = ..., version: builtins.str = ...)
Runtime: at line 218 in file /tmp/tmply4auol1/lib/python3.9/site-packages/deprecated/sphinx.py
def (reason='', version='', line_length=70, **kwargs)

stubtest failed for Deprecated

I can fix them in the next PR.

@srittau
Copy link
Collaborator

srittau commented Sep 5, 2021

Please ignore the deprecated failures, see #6005 for a fix.

@srittau srittau merged commit 5d7e201 into python:master Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants