TYPING: Module 'pytz' has no attribute 'FixedOffset'
xref https://github.com/pandas-dev/pandas/pull/28914#issuecomment-541064775

@WillAyd  we _could_ use `from pytz import FixedOffset, ...` so that only a single `type: ignores` is required.

Out of curiosity do you know how hard it would be to do this in typeshed? I *think* they pull in latest type shed just before the release gets cut and from the few PRs I've done type shed turnaround is a few days at most. Might be able to solve directly at source instead of here This will be an issue with mypy 0.730, so a typeshed update won't fix straight away. > Out of curiosity do you know how hard it would be to do this in typeshed?

i'll see what's required, submit a PR, then add the issue number here.

if mypy bumps on conda in the meantime we could just merge as is. why don’t we just fix mypy at the current version? Similar to will’s idea, is there a clean fix upstream in pytz? > why don’t we just fix mypy at the current version?

brief discussion started here https://github.com/pandas-dev/pandas/issues/27568#issuecomment-528933381 > Similar to will’s idea, is there a clean fix upstream in pytz?

pytz is in typeshed, which ships with mypy. but missing FizedOffset.

types in typeshed are created by the community.

 i'll close this. we should just pin mypy in ci.