Skip to content
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

Bump mypy from 0.812 to 0.901 in /tools #29300

Closed
wants to merge 1 commit into from

Conversation

@dependabot @github
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2021

Bumps mypy from 0.812 to 0.901.

Commits
  • ffc18df Bump version to 0.901
  • 32d6b58 [mypyc] Fix evaluation of iterable in list comprehension twice
  • b68993c Bump version to 0.900
  • be5aed7 Make ignore_missing_imports work for libs which had bundled stubs (#10582)
  • e056774 Restrict the number of errors shown when there are missing stubs (#10579)
  • 56d5b3a Include typeshed LICENSE (#10578)
  • e702679 Fix typo in config_file.rst (#10568)
  • 4da09c7 Mention fullname of PlaceholderNode in assertion (#10565)
  • 0635422 rename STUBS_NOT_INSTALLED to APPROVED_STUBS_NOT_INSTALLED (#10558)
  • d57d5d1 Add security documentation for --install-types (#10555)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [mypy](https://github.com/python/mypy) from 0.812 to 0.901.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.812...v0.901)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@jgraham
Copy link
Contributor

@jgraham jgraham commented Jun 9, 2021

py36-mypy run-test: commands[0] | mypy --config-file=/home/test/web-platform-tests/tools/mypy.ini tools/
tools/wptrunner/wptrunner/formatters/wptscreenshot.py:1: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/manifest/utils.py:62: error: Name "WindowsError" is not defined
tools/wptrunner/wptrunner/wptmanifest/serializer.py:1: error: Library stubs not installed for "six" (or incompatible with Python 3.6)
tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py:2: error: Library stubs not installed for "six" (or incompatible with Python 3.6)
tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py:2: note: Hint: "python3 -m pip install types-six"
tools/manifest/jsonlib.py:15: error: Library stubs not installed for "ujson" (or incompatible with Python 3.6)
tools/manifest/jsonlib.py:15: note: Hint: "python3 -m pip install types-ujson"
tools/manifest/jsonlib.py:68: error: Returning Any from function declared to return "None"
tools/manifest/jsonlib.py:83: error: Returning Any from function declared to return "str"
tools/docker/frontend.py:47: error: Library stubs not installed for "yaml" (or incompatible with Python 3.6)
tools/docker/frontend.py:58: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/ci/tc/taskgraph.py:7: error: Library stubs not installed for "yaml" (or incompatible with Python 3.6)
tools/ci/tc/taskgraph.py:7: note: Hint: "python3 -m pip install types-PyYAML"
tools/ci/tc/download.py:5: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/ci/tc/download.py:5: note: Hint: "python3 -m pip install types-requests"
tools/ci/tc/download.py:5: note: (or run "mypy --install-types" to install all missing stub packages)
tools/ci/tc/download.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
tools/wpt/android.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/wpt/utils.py:65: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/manifest/item.py:38: error: "ManifestItemMeta" has no attribute "item_type"
tools/manifest/item.py:39: error: "ManifestItemMeta" has no attribute "item_type"
tools/manifest/item.py:39: error: Incompatible types in assignment (expression has type "ManifestItemMeta", target has type "Type[ManifestItem]")
tools/manifest/item.py:41: error: unused "type: ignore" comment
tools/manifest/manifest.py:3: error: Library stubs not installed for "atomicwrites" (or incompatible with Python 3.6)
tools/manifest/manifest.py:3: note: Hint: "python3 -m pip install types-atomicwrites"
tools/wpt/virtualenv.py:13: error: Library stubs not installed for "pkg_resources" (or incompatible with Python 3.6)
tools/wpt/virtualenv.py:13: note: Hint: "python3 -m pip install types-pkg_resources"
tools/wpt/browser.py:13: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/wptrunner/wptrunner/metadata.py:7: error: Library stubs not installed for "six" (or incompatible with Python 3.6)
tools/wptrunner/wptrunner/metadata.py:22: error: Library stubs not installed for "ujson" (or incompatible with Python 3.6)
tools/ci/manifest_build.py:8: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
tools/wptrunner/wptrunner/browsers/sauce.py:13: error: Library stubs not installed for "requests" (or incompatible with Python 3.6)
Found 24 errors in 17 files (checked 248 source files)

Same with 3.9 so the "or incompatible with Python 3.6" doesn't seem to be the case.

@dependabot @github
Copy link
Contributor Author

@dependabot dependabot bot commented on behalf of github Jun 11, 2021

Superseded by #29338.

@dependabot dependabot bot closed this Jun 11, 2021
@dependabot dependabot bot deleted the dependabot/pip/tools/mypy-0.901 branch Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants