Skip to content

Bump mypy from 0.812 to 0.910 in /tools#4

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/tools/mypy-0.910
Closed

Bump mypy from 0.812 to 0.910 in /tools#4
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/tools/mypy-0.910

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 1, 2021

Bumps mypy from 0.812 to 0.910.

Commits
  • f5fc579 Bump version to 0.910
  • 46ce325 Fix crash when inferring multiple assignment with overloaded function (#10689)
  • 96366d1 Don't ask to install a stub package if stubs are installed (#10670)
  • 9637f99 Fix crash with assignment to variable guarded with TypeGuard (#10683)
  • 680fded Document --install-types --non-interactive (#10684)
  • 64deb99 pkg_resources is now in types-setuptools (#10681)
  • e8cf526 Run build a second time when using --install-types --non-interactive (#10669)
  • f5a3405 Improve error reporting when --install-types has no cache (#10667)
  • 0b65866 pyopenssl types package name was corrected (#10656)
  • 4905aad Don't suggest to install stubs with py.typed files (#10652)
  • 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.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.812...v0.910)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 1, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 16, 2021

Superseded by #101.

@dependabot dependabot bot closed this Dec 16, 2021
@dependabot dependabot bot deleted the dependabot/pip/tools/mypy-0.910 branch December 16, 2021 11:18
AutomatedTester pushed a commit that referenced this pull request Feb 3, 2022
…eVisibilityKeeper::PrepareToSplitBlockElement()` before splitting a text node

It does the following things when caret is collapsed in a text node in a `<p>`
or `<div>` element.

1. Split the text node containing caret to insert `<br>` element
2. Insert `<br>` element after it
3. Split ancestor elements which inclusive descendants of the `<p>` or `<div>`
4. Delete the `<br>` element if unnecessary from the left paragraph

#3 and #4 are performed by `HTMLEditor::SplitParagraph()` and it calls
`WhiteSpaceVisibilityKeeper::PrepareToSplitBlockElement()` correctly before
splitting the block.  However, in the case (caret is at middle of a text node),
the text has already been split to 2 nodes because of #1.  Therefore, it fails
to handle to keep the white-space visibility.

So that I believe that the root cause of this bug is, the method does much
complicated things which are required, and doing the redundant things will
eat memory space due to undo transactions.  However, for now, I'd like to fix
this with a simple patch which just call the preparation method before splitting
the text node because I'd like to uplift this if it'd be approved (Note that
this is not a recent regression, the root cause was created by bug 92686 which
was fixed in 17 years ago:
<https://searchfox.org/mozilla-central/commit/2e66280faef73e9be218e00758d4eb738395ac83>,
but must be annoying bug for users who see this frequently).

The new WPTs are pass in Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D130950

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1740416
gecko-commit: 73567f6c2bcfa078836a36760498bb11747561dd
gecko-reviewers: m_kato, smaug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants