Skip to content

Backport PR #48943 on branch 1.5.x (REGR: ExcelWriter.book not settable) #48959

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

Conversation

meeseeksmachine
Copy link
Contributor

Backport PR #48943: REGR: ExcelWriter.book not settable

@lumberbot-app lumberbot-app bot added this to the 1.5.1 milestone Oct 5, 2022
@lumberbot-app lumberbot-app bot added Bug Deprecate Functionality to remove in pandas IO Excel read_excel, to_excel Regression Functionality that used to work in a prior pandas version labels Oct 5, 2022
@phofl
Copy link
Member

phofl commented Oct 5, 2022

cc @rhshadrach could you have a look? The typing failure looks legit

@rhshadrach
Copy link
Member

rhshadrach commented Oct 5, 2022

This PR got checked with mypy 0.971; the main PR got checked with 0.981. Locally, I'm seeing the same - mypy flags this as an issue with 0.971 but not 0.981. I get the same behavior with the OP code from this issue back from 2017: python/mypy#4165.

Since 1.5.x is pinned with mypy 0.971, I'm thinking we add a type: ignore for just the backport; that make sense?

@phofl
Copy link
Member

phofl commented Oct 5, 2022

Yep makes sense, thx for investigating

@phofl phofl merged commit 2ac5580 into pandas-dev:1.5.x Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Deprecate Functionality to remove in pandas IO Excel read_excel, to_excel Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants