[wpt-sync] Sync PR 38235 - Bump hypothesis from 6.31.3 to 6.65.2 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38235 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38235
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump hypothesis from 6.31.3 to 6.65.2 in /tools
Bumps hypothesis from 6.31.3 to 6.65.2.
<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.65.2</h2>
<p>This patch fixes invalid annotations detected for the tests generated
by Ghostwritter. It will now correctly generate "Optional" types with
just one type argument and handle union expressions inside of type
arguments correctly. Additionally, it now supports code with the "from
<strong>future</strong> import annotations" marker for Python 3.10 and newer.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.65.1</h2>
<p>This release improves the pretty-printing of enums in falsifying
examples, so that they print as their full identifier rather than
their repr.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.65.0</h2>
<p>Hypothesis now reports some failing inputs by showing the call which
constructed an object, rather than the repr of the object. This can
be helpful when the default repr does not include all relevant
details, and will unlock further improvements in a future version.</p>
<p>For now, we capture calls made via "builds()", and via
SearchStrategy.map().</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.64.0</h2>
<p>The Ghostwritter will now include type annotations on tests for type-
annotated code. If you want to force this to happen (or not happen),
pass a boolean to the new "annotate=" argument to the Python
functions, or the "--[no-]annotate" CLI flag.</p>
<p>Thanks to Nicolas Ganz for this new feature!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-64-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.63.0</h2>
<p>"range_indexes()" now accepts a "name=" argument, to generate named
"pandas.RangeIndex" objects.</p>
<p>Thanks to Sam Watts for this new feature!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-63-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.62.1</h2>
<p>This patch tweaks "xps.arrays()" internals to improve PyTorch
compatibility. Specifically, "torch.full()" does not accept integers
as the shape argument (n.b. technically "size" in torch), but such
behaviour is expected in internal code, so we copy the "torch" module</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/12d39b40ffec5edbdca0d83871002e5514c82f81"><code>12d39b4</code></a> Bump hypothesis-python version to 6.65.2 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/4c5b65d85ac2c4969da6e6f50fda787fc6adcabb"><code>4c5b65d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3556">#3556</a> from ThunderKey/improve-type-detection-for-annotations</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/8a1cd94aaa130d3aa843a4069fe861debc46e91a"><code>8a1cd94</code></a> filter the empty annotations earlier</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/f7ed6951e55930390e69f7081307c8d6ac57bffa"><code>f7ed695</code></a> dont use _get_params for detecting the annotations, since the fallbacks dont ...</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/caf17750df0b86dbe6a60276cf90e62aafb37c6a"><code>caf1775</code></a> Bump hypothesis-python version to 6.65.1 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/736eb0fc975b0aa1a8c03895e977112a74df11a9"><code>736eb0f</code></a> added missing no cover comment</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/519ad35a1f6a52167a5bbd49583b4d5e144e28b8"><code>519ad35</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3561">#3561</a> from HypothesisWorks/DRMacIver/pretty-print-enums</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/f5e4ee4e6ddf8dfdea75f3a46c387d9df9157995"><code>f5e4ee4</code></a> if there is a syntax error in the annotations the should be ignored for the f...</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/38ac9d9abd27f7c650146d180cfbd471fd9c3184"><code>38ac9d9</code></a> simplified using eval_str for python >= 3.10</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b2f7e6dd4814c1310d67635e8b052bb5922e1c73"><code>b2f7e6d</code></a> Add missing release file</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.65.2">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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>
| Assignee | ||
Updated•3 years ago
|
Description
•