Skip to content

Mypy job failing due to incorrect return-value from upstream #5957

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

Closed
NicolasHug opened this issue May 6, 2022 · 0 comments · Fixed by #5970
Closed

Mypy job failing due to incorrect return-value from upstream #5957

NicolasHug opened this issue May 6, 2022 · 0 comments · Fixed by #5970

Comments

@NicolasHug
Copy link
Member

NicolasHug commented May 6, 2022

The latest, freshest mypy time waster

https://app.circleci.com/pipelines/github/pytorch/vision/17366/workflows/a475b8b1-1463-4159-bf00-be2d82030c0b/jobs/1405650

Caused by pytorch/pytorch#74171

I think we just need to wait for pytorch/pytorch#76895 to be in the nightlies

torchvision/models/_api.py:64: error: Incompatible return value type (got
Module, expected "OrderedDict[Any, Any]")  [return-value]
            return load_state_dict_from_url(self.url, progress=progress)
                   ^
Found 1 error in 1 file (checked 209 source files)

Exited with code exit status 1

CircleCI received exit code 1
@datumbox datumbox changed the title Mypy job failing Mypy job failing due to incorrect return-value from upstream May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants