Open Bug 1764651 Opened 3 years ago

[wpt-sync] Sync PR 33628 - Bump hypothesis from 6.31.3 to 6.43.1 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33628 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33628
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump hypothesis from 6.31.3 to 6.43.1 in /tools

Bumps hypothesis from 6.31.3 to 6.43.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/HypothesisWorks/hypothesis/releases">hypothesis's releases</a>.</em></p>
<blockquote>
<h2>Hypothesis for Python - version 6.43.1</h2>
<p>This patch makes it an explicit error to call
"register_type_strategy()" with a Pydantic GenericModel and a
callable, because "GenericModel" isn't actually a generic type at
runtime and so you have to register each of the "parametrized
versions" (actually subclasses!) manually. See issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/2940">#2940</a> for more
details.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.43.0</h2>
<p>This release makes it an explicit error to apply "<a href="https://github.com/pytest"><code>@​pytest</code></a>.fixture" to
a function which has already been decorated with "<a href="https://github.com/given"><code>@​given</code></a>()".
Previously, "pytest" would convert your test to a fixture, and then
never run it.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.42.3</h2>
<p>This patch fixes "from_type()" on a "TypedDict" with complex
annotations, defined in a file using "from <strong>future</strong> import
annotations". Thanks to Katelyn Gigante for identifying and fixing
this bug!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-42-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.42.2</h2>
<p>The Hypothesis pytest plugin was not outputting valid xunit2 nodes
when "--junit-xml" was specified. This has been broken since Pytest
5.4, which changed the internal API for adding nodes to the junit
report.</p>
<p>This also fixes the issue when using hypothesis with "--junit-xml" and
"pytest-xdist" where the junit xml report would not be xunit2
compatible. Now, when using with "pytest-xdist", the junit report will
just omit the "<!-- raw HTML omitted -->" node.</p>
<p>For more details, see this pytest issue, this pytest issue, and issue
<a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/1935">#1935</a></p>
<p>Thanks to Brandon Chinn for this bug fix!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-42-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.42.1</h2>
<p>This patch fixes pretty-printing of regular expressions in Python
3.11.0a7, and updates our vendored list of top-level domains,.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-42-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e3329acabc6354ec0ef03524fba1d0233d9f5f24"><code>e3329ac</code></a> Bump hypothesis-python version to 6.43.1 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/82e5d37cd573539746fc25669d43516a3408d469"><code>82e5d37</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3291">#3291</a> from Zac-HD/pydantic-generics-message</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/eb50bbb3a867d3b69891d57e30a359ab2a707035"><code>eb50bbb</code></a> Error out on misleading psudeo-generics</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/da9489521db9ac47cd76d45485ae562a4ebb55ef"><code>da94895</code></a> Bump hypothesis-python version to 6.43.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/f44687b31ea49e4372d40ecf579003636a83e6d1"><code>f44687b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3290">#3290</a> from Zac-HD/fixture-xor-given</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/42175708615598a439a1ce2cd624307711eb3abc"><code>4217570</code></a> Ban turning PB-tests into fixtures</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/82fa47ca6df4ad7bef82ecad1220681cb4857c0f"><code>82fa47c</code></a> given can't be used on fixtures</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/7f94ce1780ad0304409197bd66bb8dcb150d8d7c"><code>7f94ce1</code></a> Bump hypothesis-python version to 6.42.3 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/d3bf9c51e8fbac8246f2857181e6dd3cbb496156"><code>d3bf9c5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3285">#3285</a> from silasary/forward_typed_dict</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/8235f7059fce2fd3967ff741ef9151a1bdd02f36"><code>8235f70</code></a> Fix rare BytesWarning</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.43.1">compare view</a></li>
</ul>
</details>
<br />

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.


<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

You need to log in before you can comment on or make changes to this bug.