Skip to content

CI fix typing with latest ipython #50544

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 3 commits into from
Jan 4, 2023
Merged

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Jan 3, 2023

@phofl phofl added this to the 1.5.3 milestone Jan 3, 2023
@@ -259,9 +259,10 @@ def enable_data_resource_formatter(enable: bool) -> None:
if mimetype not in formatters:
# define tableschema formatter
from IPython.core.formatters import BaseFormatter
from traitlets import ObjectName
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't declare traitlets as a dependency as it comes from IPython?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's right!

@MarcoGorelli MarcoGorelli requested a review from phofl January 4, 2023 10:36
@datapythonista datapythonista added CI Continuous Integration Typing type annotations, mypy/pyright type checking labels Jan 4, 2023
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so familiar with traitlets, but seems like the CI is happy with this, lgtm

@phofl phofl merged commit e00b75b into pandas-dev:main Jan 4, 2023
@phofl
Copy link
Member

phofl commented Jan 4, 2023

thx @MarcoGorelli

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Jan 4, 2023
MarcoGorelli added a commit to meeseeksmachine/pandas that referenced this pull request Jan 4, 2023
MarcoGorelli added a commit that referenced this pull request Jan 4, 2023
#50555)

Backport PR #50544: CI fix typing with latest ipython

Co-authored-by: Marco Edward Gorelli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI latest ipython broke typing
4 participants