-
Notifications
You must be signed in to change notification settings - Fork 127
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
Deprecate (and eventually remove) implprefix support #116
Comments
Unless I'm missing something in this comment, nearly every pytest plugin still relies on the I suspect that the same is true for |
@nicoddemus right so can we add a deprecation warning first and then move forward with removal later? Also I'd be partial to instead allowing for a |
To be perfectly honest I'm not willing to break every pytest plugin out there without a very compelling reason, this will make for some very angry pytest users and plugin authors alike. 😬 Not every pytest plugin is actively maintained anymore but still works after all those years. If only pytest still uses |
(forgot to mention, this will break not only plugins released on PyPI but also user-defined plugins in |
Hehe yeah alright. Let's see what the consensus is 👍
To start it should only issue a warning imho. |
Sure, no problem. I think it is healthy for new APIs such as pluggy to remove their historic clutches via deprecation/removal, but for pytest this feature specifically I think this is not possible. I'm perfectly happy to move the support over to pytest though. 😁 |
From a tox perspective, it seems we don't use this option: https://github.com/tox-dev/tox/blob/6b16b095f8b603c23aefe8155cb4e6867db8c178/tox/config.py#L50 Though I do note that tox's pytest plugin (which I believe is only used internally?) uses this feature : https://github.com/tox-dev/tox/blob/6b16b095f8b603c23aefe8155cb4e6867db8c178/tox/_pytestplugin.py#L21 I wouldn't be surprised if pytest (and pytest plugins) is the only consumer of this feature -- though if others come forth I'd lean towards keeping it -- it's only ~4 lines to maintain after all 😆 (though then you'd probably want to document it I guess?). |
It should definitely throw a deprecation warning. I can then remove it's use from devpi more easily 😉 |
On Fri, Jan 05, 2018 at 10:01 +0000, Florian Schulze wrote:
It should definitely throw a deprecation warning. I can then remove it's use from devpi more easily 😉
Maybe throw a deprecation warning and add a little info
on how pluggy-using projects can implement "implprefix" on their own?
When it gets removed there could be an additional links to
pytest code which real-life implements this extra.
|
Great! I think we should go ahead and deprecate it then, while also moving/duplicating the functionality in pytest at the same time to avoid pytest users from getting deprecation warnings. The deprecation should definitely go into a minor release (currently pytest pins to |
i propose decomposing the implementation in pluggy - this can be done in a way that we keed the old behaior for a while and expect consuming projects to change the used names to something that ensures functions, |
@RonnyPfannschmidt Can you be a little more specific? |
i would like to apply the strategy pattern to discovering hooks in a plugin that way we can support more explicit mechanisms in a relatively sane manner and the old behaviour could be isolated, unittested and left here |
^ created a PR to deprecate which will be followed by #145 to address removal and the possible strategy pattern approach mentioned by @RonnyPfannschmidt. |
…ev/pluggy#116 Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
…ev/pluggy#116 Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
369: build(deps): bump cfgv from 3.3.0 to 3.3.1 r=ChrisRBe a=dependabot[bot] Bumps [cfgv](https://github.com/asottile/cfgv) from 3.3.0 to 3.3.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/asottile/cfgv/commit/e53d655706e0ecd74c56fbbc072e2e4c12cc9dbd"><code>e53d655</code></a> v3.3.1</li> <li><a href="https://github.com/asottile/cfgv/commit/0fa5252d3f0c9df7d04075b7ab6bc1fbcd2076ff"><code>0fa5252</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/62">#62</a> from asottile/asottile-patch-1</li> <li><a href="https://github.com/asottile/cfgv/commit/5eabc69ef7b2d39ba1f04b2b9b8befecd24573d1"><code>5eabc69</code></a> reduce traceback nesting</li> <li><a href="https://github.com/asottile/cfgv/commit/5fab2ab49401d559499d879cc949aa6e360f6e4d"><code>5fab2ab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/61">#61</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/d694a3843b5c349cadb3f592c9e79c1366b5dac8"><code>d694a38</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/7cbf98cfa897d4dbf20270e85fda8bbbac1959f3"><code>7cbf98c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/60">#60</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/f96dd2cba5f4f240c037e62a43683f1355b80273"><code>f96dd2c</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/421ea6e99d780e37c4e6037efe76c3addb483c5e"><code>421ea6e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/59">#59</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/9efeba1a46d68c882a0fee6fc1c108439d556e06"><code>9efeba1</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/7ff848dc827b8ccac6205c6a58752757e86a59b8"><code>7ff848d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/58">#58</a> from asottile/pre-commit-ci-update-config</li> <li>Additional commits viewable in <a href="https://github.com/asottile/cfgv/compare/v3.3.0...v3.3.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> 370: build(deps): bump pluggy from 0.13.1 to 1.0.0 r=ChrisRBe a=dependabot[bot] Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 0.13.1 to 1.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's changelog</a>.</em></p> <blockquote> <h1>pluggy 1.0.0 (2021-08-25)</h1> <h2>Deprecations and Removals</h2> <ul> <li> <p><code>[#116](pytest-dev/pluggy#116) <https://github.com/pytest-dev/pluggy/issues/116></code>_: Remove deprecated <code>implprefix</code> support. Decorate hook implementations using an instance of HookimplMarker instead. The deprecation was announced in release <code>0.7.0</code>.</p> </li> <li> <p><code>[#120](pytest-dev/pluggy#120) <https://github.com/pytest-dev/pluggy/issues/120></code>_: Remove the deprecated <code>proc</code> argument to <code>call_historic</code>. Use <code>result_callback</code> instead, which has the same behavior. The deprecation was announced in release <code>0.7.0</code>.</p> </li> <li> <p><code>[#265](pytest-dev/pluggy#265) <https://github.com/pytest-dev/pluggy/issues/265></code>_: Remove the <code>_Result.result</code> property. Use <code>_Result.get_result()</code> instead. Note that unlike <code>result</code>, <code>get_result()</code> raises the exception if the hook raised. The deprecation was announced in release <code>0.6.0</code>.</p> </li> <li> <p><code>[#267](pytest-dev/pluggy#267) <https://github.com/pytest-dev/pluggy/issues/267></code>_: Remove official support for Python 3.4.</p> </li> <li> <p><code>[#272](pytest-dev/pluggy#272) <https://github.com/pytest-dev/pluggy/issues/272></code>_: Dropped support for Python 2. Continue to use pluggy 0.13.x for Python 2 support.</p> </li> <li> <p><code>[#308](pytest-dev/pluggy#308) <https://github.com/pytest-dev/pluggy/issues/308></code>_: Remove official support for Python 3.5.</p> </li> <li> <p><code>[#313](pytest-dev/pluggy#313) <https://github.com/pytest-dev/pluggy/issues/313></code>_: The internal <code>pluggy.callers</code>, <code>pluggy.manager</code> and <code>pluggy.hooks</code> are now explicitly marked private by a <code>_</code> prefix (e.g. <code>pluggy._callers</code>). Only API exported by the top-level <code>pluggy</code> module is considered public.</p> </li> <li> <p><code>[#59](pytest-dev/pluggy#59) <https://github.com/pytest-dev/pluggy/issues/59></code>_: Remove legacy <code>__multicall__</code> recursive hook calling system. The deprecation was announced in release <code>0.5.0</code>.</p> </li> </ul> <h2>Features</h2> <ul> <li> <p><code>[#282](pytest-dev/pluggy#282) <https://github.com/pytest-dev/pluggy/issues/282></code>_: When registering a hookimpl which is declared as <code>hookwrapper=True</code> but whose function is not a generator function, a <code>PluggyValidationError</code> exception is now raised.</p> <p>Previously this problem would cause an error only later, when calling the hook.</p> <p>In the unlikely case that you have a hookwrapper that <em>returns</em> a generator</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pluggy/commit/4259fdd799d64f953631e47ddcb69c3074a15c13"><code>4259fdd</code></a> Fix CHANGELOG title manually</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/906abca9bb403729f4df44d02142698ddd54d5b5"><code>906abca</code></a> Preparing release 1.0.0</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/56eb23c89aa0a43fa7b139894fbf6142684c2969"><code>56eb23c</code></a> Rename HOWTORELEASE to RELEASING to follow pytest</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/fc6395ca27d5deb008db250da57a23dd40bc93a4"><code>fc6395c</code></a> Fix scripts/release.py to use main instead of master</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/e04816f71b3d40bc959550b93f1d69098fc045fd"><code>e04816f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/324">#324</a> from RonnyPfannschmidt/benchmarks</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/1424ab0a6a54a878b171c806a39c79d54817c531"><code>1424ab0</code></a> add micro benchmarks for hook calling playing with a the number of callers, w...</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/5e518648987a3afced3c2b014c73abab78f8306f"><code>5e51864</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/323">#323</a> from RonnyPfannschmidt/switch-to-main</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/05c3bbd07c7186d3c124f1009aa6c8999ba70c2c"><code>05c3bbd</code></a> switch to main as primary branch</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/6b344fbebc598a623bb8db6b58f6f04b27916515"><code>6b344fb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/319">#319</a> from RonnyPfannschmidt/pre-commit-update</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/71f2d6b4a21381314f730dd5b5f93519882f79da"><code>71f2d6b</code></a> introduce pyupgrade and update black</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pluggy/compare/0.13.1...1.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> 373: build(deps): bump regex from 2021.8.3 to 2021.8.28 r=ChrisRBe a=dependabot[bot] Bumps [regex](https://bitbucket.org/mrabarnett/mrab-regex) from 2021.8.3 to 2021.8.28. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://bitbucket.org/mrabarnett/mrab-regex/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
369: build(deps): bump cfgv from 3.3.0 to 3.3.1 r=ChrisRBe a=dependabot[bot] Bumps [cfgv](https://github.com/asottile/cfgv) from 3.3.0 to 3.3.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/asottile/cfgv/commit/e53d655706e0ecd74c56fbbc072e2e4c12cc9dbd"><code>e53d655</code></a> v3.3.1</li> <li><a href="https://github.com/asottile/cfgv/commit/0fa5252d3f0c9df7d04075b7ab6bc1fbcd2076ff"><code>0fa5252</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/62">#62</a> from asottile/asottile-patch-1</li> <li><a href="https://github.com/asottile/cfgv/commit/5eabc69ef7b2d39ba1f04b2b9b8befecd24573d1"><code>5eabc69</code></a> reduce traceback nesting</li> <li><a href="https://github.com/asottile/cfgv/commit/5fab2ab49401d559499d879cc949aa6e360f6e4d"><code>5fab2ab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/61">#61</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/d694a3843b5c349cadb3f592c9e79c1366b5dac8"><code>d694a38</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/7cbf98cfa897d4dbf20270e85fda8bbbac1959f3"><code>7cbf98c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/60">#60</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/f96dd2cba5f4f240c037e62a43683f1355b80273"><code>f96dd2c</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/421ea6e99d780e37c4e6037efe76c3addb483c5e"><code>421ea6e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/59">#59</a> from asottile/pre-commit-ci-update-config</li> <li><a href="https://github.com/asottile/cfgv/commit/9efeba1a46d68c882a0fee6fc1c108439d556e06"><code>9efeba1</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/asottile/cfgv/commit/7ff848dc827b8ccac6205c6a58752757e86a59b8"><code>7ff848d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asottile/cfgv/issues/58">#58</a> from asottile/pre-commit-ci-update-config</li> <li>Additional commits viewable in <a href="https://github.com/asottile/cfgv/compare/v3.3.0...v3.3.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> 370: build(deps): bump pluggy from 0.13.1 to 1.0.0 r=ChrisRBe a=dependabot[bot] Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 0.13.1 to 1.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst">pluggy's changelog</a>.</em></p> <blockquote> <h1>pluggy 1.0.0 (2021-08-25)</h1> <h2>Deprecations and Removals</h2> <ul> <li> <p><code>[#116](pytest-dev/pluggy#116) <https://github.com/pytest-dev/pluggy/issues/116></code>_: Remove deprecated <code>implprefix</code> support. Decorate hook implementations using an instance of HookimplMarker instead. The deprecation was announced in release <code>0.7.0</code>.</p> </li> <li> <p><code>[#120](pytest-dev/pluggy#120) <https://github.com/pytest-dev/pluggy/issues/120></code>_: Remove the deprecated <code>proc</code> argument to <code>call_historic</code>. Use <code>result_callback</code> instead, which has the same behavior. The deprecation was announced in release <code>0.7.0</code>.</p> </li> <li> <p><code>[#265](pytest-dev/pluggy#265) <https://github.com/pytest-dev/pluggy/issues/265></code>_: Remove the <code>_Result.result</code> property. Use <code>_Result.get_result()</code> instead. Note that unlike <code>result</code>, <code>get_result()</code> raises the exception if the hook raised. The deprecation was announced in release <code>0.6.0</code>.</p> </li> <li> <p><code>[#267](pytest-dev/pluggy#267) <https://github.com/pytest-dev/pluggy/issues/267></code>_: Remove official support for Python 3.4.</p> </li> <li> <p><code>[#272](pytest-dev/pluggy#272) <https://github.com/pytest-dev/pluggy/issues/272></code>_: Dropped support for Python 2. Continue to use pluggy 0.13.x for Python 2 support.</p> </li> <li> <p><code>[#308](pytest-dev/pluggy#308) <https://github.com/pytest-dev/pluggy/issues/308></code>_: Remove official support for Python 3.5.</p> </li> <li> <p><code>[#313](pytest-dev/pluggy#313) <https://github.com/pytest-dev/pluggy/issues/313></code>_: The internal <code>pluggy.callers</code>, <code>pluggy.manager</code> and <code>pluggy.hooks</code> are now explicitly marked private by a <code>_</code> prefix (e.g. <code>pluggy._callers</code>). Only API exported by the top-level <code>pluggy</code> module is considered public.</p> </li> <li> <p><code>[#59](pytest-dev/pluggy#59) <https://github.com/pytest-dev/pluggy/issues/59></code>_: Remove legacy <code>__multicall__</code> recursive hook calling system. The deprecation was announced in release <code>0.5.0</code>.</p> </li> </ul> <h2>Features</h2> <ul> <li> <p><code>[#282](pytest-dev/pluggy#282) <https://github.com/pytest-dev/pluggy/issues/282></code>_: When registering a hookimpl which is declared as <code>hookwrapper=True</code> but whose function is not a generator function, a <code>PluggyValidationError</code> exception is now raised.</p> <p>Previously this problem would cause an error only later, when calling the hook.</p> <p>In the unlikely case that you have a hookwrapper that <em>returns</em> a generator</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pluggy/commit/4259fdd799d64f953631e47ddcb69c3074a15c13"><code>4259fdd</code></a> Fix CHANGELOG title manually</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/906abca9bb403729f4df44d02142698ddd54d5b5"><code>906abca</code></a> Preparing release 1.0.0</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/56eb23c89aa0a43fa7b139894fbf6142684c2969"><code>56eb23c</code></a> Rename HOWTORELEASE to RELEASING to follow pytest</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/fc6395ca27d5deb008db250da57a23dd40bc93a4"><code>fc6395c</code></a> Fix scripts/release.py to use main instead of master</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/e04816f71b3d40bc959550b93f1d69098fc045fd"><code>e04816f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/324">#324</a> from RonnyPfannschmidt/benchmarks</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/1424ab0a6a54a878b171c806a39c79d54817c531"><code>1424ab0</code></a> add micro benchmarks for hook calling playing with a the number of callers, w...</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/5e518648987a3afced3c2b014c73abab78f8306f"><code>5e51864</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/323">#323</a> from RonnyPfannschmidt/switch-to-main</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/05c3bbd07c7186d3c124f1009aa6c8999ba70c2c"><code>05c3bbd</code></a> switch to main as primary branch</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/6b344fbebc598a623bb8db6b58f6f04b27916515"><code>6b344fb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pluggy/issues/319">#319</a> from RonnyPfannschmidt/pre-commit-update</li> <li><a href="https://github.com/pytest-dev/pluggy/commit/71f2d6b4a21381314f730dd5b5f93519882f79da"><code>71f2d6b</code></a> introduce pyupgrade and update black</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pluggy/compare/0.13.1...1.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> 373: build(deps): bump regex from 2021.8.3 to 2021.8.28 r=ChrisRBe a=dependabot[bot] Bumps [regex](https://bitbucket.org/mrabarnett/mrab-regex) from 2021.8.3 to 2021.8.28. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://bitbucket.org/mrabarnett/mrab-regex/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
As per the question in #114 I think we should now deprecate this undocumented
implprefix
feature so we can remove it in the next major release.The text was updated successfully, but these errors were encountered: