issues: 1124191982
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | pull_request | body | repo | type | active_lock_reason | performed_via_github_app | reactions | draft | state_reason |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1124191982 | PR_kwDOBm6k_c4yFTCp | 1629 | Update pytest requirement from <6.3.0,>=5.2.2 to >=5.2.2,<7.1.0 | 49699333 | closed | 0 | 1 | 2022-02-04T13:14:10Z | 2022-03-06T01:30:06Z | 2022-03-06T01:30:06Z | CONTRIBUTOR | simonw/datasette/pulls/1629 | Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>7.0.0</h2> <h1>pytest 7.0.0 (2022-02-03)</h1> <p>(<strong>Please see the full set of changes for this release also in the 7.0.0rc1 notes below</strong>)</p> <h2>Deprecations</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9488">#9488</a>: If custom subclasses of nodes like <code>pytest.Item</code>{.interpreted-text role="class"} override the <code>__init__</code> method, they should take <code>**kwargs</code>. See <code>uncooperative-constructors-deprecated</code>{.interpreted-text role="ref"} for details.</p> <p>Note that a deprection warning is only emitted when there is a conflict in the arguments pytest expected to pass. This deprecation was already part of pytest 7.0.0rc1 but wasn't documented.</p> </li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9355">#9355</a>: Fixed error message prints function decorators when using assert in Python 3.8 and above.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9396">#9396</a>: Ensure <code>pytest.Config.inifile</code>{.interpreted-text role="attr"} is available during the <code>pytest_cmdline_main <_pytest.hookspec.pytest_cmdline_main></code>{.interpreted-text role="func"} hook (regression during <code>7.0.0rc1</code>).</li> </ul> <h2>Improved Documentation</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9404">#9404</a>: Added extra documentation on alternatives to common misuses of [pytest.warns(None)]{.title-ref} ahead of its deprecation.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9505">#9505</a>: Clarify where the configuration files are located. To avoid confusions documentation mentions that configuration file is located in the root of the repository.</li> </ul> <h2>Trivial/Internal Changes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9521">#9521</a>: Add test coverage to assertion rewrite path.</li> </ul> <h1>pytest 7.0.0rc1 (2021-12-06)</h1> <h2>Breaking Changes</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/7259">#7259</a>: The <code>Node.reportinfo() <non-python tests></code>{.interpreted-text role="ref"} function first return value type has been expanded from [py.path.local | str]{.title-ref} to [os.PathLike[str] | str]{.title-ref}.</p> <p>Most plugins which refer to [reportinfo()]{.title-ref} only define it as part of a custom <code>pytest.Item</code>{.interpreted-text role="class"} implementation. Since [py.path.local]{.title-ref} is a [os.PathLike[str]]{.title-ref}, these plugins are unaffacted.</p> <p>Plugins and users which call [reportinfo()]{.title-ref}, use the first return value and interact with it as a [py.path.local]{.title-ref}, would need to adjust by calling [py.path.local(fspath)]{.title-ref}. Although preferably, avoid the legacy [py.path.local]{.title-ref} and use [pathlib.Path]{.title-ref}, or use [item.location]{.title-ref} or [item.path]{.title-ref}, instead.</p> <p>Note: pytest was not able to provide a deprecation period for this change.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/3554b833c24f541af5c7272e47cfa52b89d8138d"><code>3554b83</code></a> Add note to changelog</li> <li><a href="https://github.com/pytest-dev/pytest/commit/6ea7f990a040cacfbc671a8c29f2d76533d9d523"><code>6ea7f99</code></a> Prepare release version 7.0.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/737b220516870b3f90e87109c2c6657856dca506"><code>737b220</code></a> [7.0.x] releasing: Add template for major releases (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9597">#9597</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/7fa397296339773ee7a94df8684573fe7bdf7072"><code>7fa3972</code></a> [7.0.x] releasing: Always set doc_version (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9590">#9590</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b304499925c4ce39a6a45dcc3394d5d0f0aa6b94"><code>b304499</code></a> [7.0.x] Make 'warnings' and 'deselected' in assert_outcomes optional (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9566">#9566</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f17525df26e65b8de304dad919f66aaeb61f1f5c"><code>f17525d</code></a> [7.0.x] doc: Add ellipsis to warning usecase list (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9562">#9562</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a7be971d2b37907099e870095e49a31dc25d194"><code>0a7be97</code></a> ci: Bump up timeout (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9565">#9565</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/c17908cdb3566508d8ac896552ac7cec092be24d"><code>c17908c</code></a> [7.0.x] doc: Recategorize 7.0.0 changelog items (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9564">#9564</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/ab549bba8a9ee7f55f3f9a2dc884f47cca34f6c4"><code>ab549bb</code></a> [7.0.x] Add missing cooperative constructor changelog (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9563">#9563</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/4b1707ff7041256381b95b5647ee6cc8336b54d2"><code>4b1707f</code></a> [7.0.x] Autouse linearization graph (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9557">#9557</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/5.2.2...7.0.0">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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <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> | 107914493 | pull | {"url": "https://api.github.com/repos/simonw/datasette/issues/1629/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 0 |