-
Notifications
You must be signed in to change notification settings - Fork 8
Seed library #678
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
Seed library #678
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice module! The code is clean and easy to understand.
A few comments in French remain to be translated.
7b4d17c
to
05eca06
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #678 +/- ##
==========================================
+ Coverage 81.51% 81.88% +0.36%
==========================================
Files 146 152 +6
Lines 10530 10862 +332
==========================================
+ Hits 8584 8894 +310
- Misses 1946 1968 +22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A great new module, with understandable code !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice module! Eager to test it!
(minor stuff could be improved later, but we're in a hurry)
…733) Bumps the tests-dependencies group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [pytest-alembic](https://github.com/schireson/pytest-alembic) | `0.11.1` | `0.12.1` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.8` | `0.26.0` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.1.1` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.14.0` | `3.14.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.5` | Updates `pytest-alembic` from 0.11.1 to 0.12.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/schireson/pytest-alembic/releases">pytest-alembic's releases</a>.</em></p> <blockquote> <h2>v0.12.1</h2> <h2>What's Changed</h2> <ul> <li>fix: Handle pyproject.toml based alembic config. by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/132">schireson/pytest-alembic#132</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/schireson/pytest-alembic/compare/v0.12.0...v0.12.1">https://github.com/schireson/pytest-alembic/compare/v0.12.0...v0.12.1</a></p> <h2>v0.12.0</h2> <h2>What's Changed</h2> <ul> <li>Update readthedocs.yml by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/115">schireson/pytest-alembic#115</a></li> <li>Update readthedocs.yml by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/116">schireson/pytest-alembic#116</a></li> <li>Update readthedocs.yml by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/117">schireson/pytest-alembic#117</a></li> <li>Update readthedocs.yml by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/118">schireson/pytest-alembic#118</a></li> <li>fix: Ensure branched revisions are upgraded individually once. by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/110">schireson/pytest-alembic#110</a></li> <li>chore(deps): bump abatilo/actions-poetry from 3.0.0 to 3.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/120">schireson/pytest-alembic#120</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/mschoettle"><code>@mschoettle</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/126">schireson/pytest-alembic#126</a></li> <li>Revert test commits by <a href="https://github.com/mschoettle"><code>@mschoettle</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/128">schireson/pytest-alembic#128</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/mschoettle"><code>@mschoettle</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/129">schireson/pytest-alembic#129</a></li> <li>fix: Release 0.12.0 by <a href="https://github.com/DanCardin"><code>@DanCardin</code></a> in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/130">schireson/pytest-alembic#130</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mschoettle"><code>@mschoettle</code></a> made their first contribution in <a href="https://redirect.github.com/schireson/pytest-alembic/pull/126">schireson/pytest-alembic#126</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/schireson/pytest-alembic/compare/v0.11.1...v0.12.0">https://github.com/schireson/pytest-alembic/compare/v0.11.1...v0.12.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/schireson/pytest-alembic/blob/main/CHANGELOG.md">pytest-alembic's changelog</a>.</em></p> <blockquote> <h3><a href="https://github.com/schireson/pytest-alembic/compare/v0.12.0...v0.12.1">v0.12.1</a> (2025-05-22)</h3> <h4>Fixes</h4> <ul> <li>Handle pyproject.toml based alembic config. (<a href="https://github.com/schireson/pytest-alembic/commit/82d9d62024ccb86b655272a70e0d94374b5675a5">82d9d62</a>)</li> </ul> <h2><a href="https://github.com/schireson/pytest-alembic/compare/v0.11.1...v0.12.0">v0.12.0</a> (2025-05-16)</h2> <h3>Fixes</h3> <ul> <li>Release 0.12.0 (<a href="https://github.com/schireson/pytest-alembic/commit/4baee1e85abe3733e6aa785c7704248f4fbb59b0">4baee1e</a>)</li> <li>Failing tests. (<a href="https://github.com/schireson/pytest-alembic/commit/1dc5b43d7e5b7530181808490cb31386631990a9">1dc5b43</a>)</li> <li>Linting. (<a href="https://github.com/schireson/pytest-alembic/commit/0c32cb23a32e711e633df3af9124f713b9bfa475">0c32cb2</a>)</li> <li>Bump minimum python version on package to 3.7, stop testing 3.7. (<a href="https://github.com/schireson/pytest-alembic/commit/32b8f629f99efad07bcc2bd3ba4ff8981c399b13">32b8f62</a>)</li> <li>Ensure branched revisions are upgraded individually once. (<a href="https://github.com/schireson/pytest-alembic/commit/853b1164af9d03cb71504895c63e4962cc14ab84">853b116</a>)</li> <li>Updated pyproject.toml to be more flexible with poetry_core versioning. (<a href="https://github.com/schireson/pytest-alembic/commit/c7f25c39a795591a794f1ab89203f4a992012319">c7f25c3</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/schireson/pytest-alembic/commit/47748802f22db988fb95926189eb78ec59ad387f"><code>4774880</code></a> Merge pull request <a href="https://redirect.github.com/schireson/pytest-alembic/issues/132">#132</a> from schireson/dc/pyproject_config</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/cfed94ddddd66cd81743fc62e119749e8593e912"><code>cfed94d</code></a> fix: Handle pyproject.toml based alembic config.</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/75f5b93dafc4025341770a9803383457a8f6f73f"><code>75f5b93</code></a> Merge pull request <a href="https://redirect.github.com/schireson/pytest-alembic/issues/130">#130</a> from schireson/dc/release</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/4baee1e85abe3733e6aa785c7704248f4fbb59b0"><code>4baee1e</code></a> fix: Release 0.12.0</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/48c60339e64b052ee3eb44b2bbb14b2e1d68f5e1"><code>48c6033</code></a> Merge pull request <a href="https://redirect.github.com/schireson/pytest-alembic/issues/129">#129</a> from mschoettle/python313</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/1dc5b43d7e5b7530181808490cb31386631990a9"><code>1dc5b43</code></a> fix: Failing tests.</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/66272068dd292201b3ad18128a75870ab8a502b9"><code>6627206</code></a> Drop SQLAlchemy 1.4.0</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/f1332c580fd00a23fef9eef033abed24f770cf63"><code>f1332c5</code></a> Add Python 3.13 to CI matrix and explicitly close connection</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/9550804d00e81861603aee6336240b8d7db79465"><code>9550804</code></a> Merge pull request <a href="https://redirect.github.com/schireson/pytest-alembic/issues/128">#128</a> from mschoettle/patch-1</li> <li><a href="https://github.com/schireson/pytest-alembic/commit/fd17466cfc46f42be8273b0e5ed2d7310dfdd9b8"><code>fd17466</code></a> Drop SQLAlchemy 1.3.0</li> <li>Additional commits viewable in <a href="https://github.com/schireson/pytest-alembic/compare/v0.11.1...v0.12.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.8 to 0.26.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's releases</a>.</em></p> <blockquote> <h2>pytest-asyncio 0.26.0</h2> <ul> <li>Adds configuration option that sets default event loop scope for all tests <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/793">#793</a></li> <li>Improved type annotations for <code>pytest_asyncio.fixture</code> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li> <li>Added <code>typing-extensions</code> as additional dependency for Python <code><3.10</code> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li> </ul> <h2>pytest-asyncio 0.25.3</h2> <ul> <li>Avoid errors in cleanup of async generators when event loop is already closed <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1040">#1040</a></li> </ul> <h2>pytest-asyncio 0.25.2</h2> <ul> <li>Call <code>loop.shutdown_asyncgens()</code> before closing the event loop to ensure async generators are closed in the same manner as <code>asyncio.run</code> does <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1034">#1034</a></li> </ul> <h2>pytest-asyncio 0.25.1</h2> <ul> <li>Fixes an issue that caused a broken event loop when a function-scoped test was executed in between two tests with wider loop scope <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/950">#950</a></li> <li>Improves test collection speed in auto mode <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1020">#1020</a></li> <li>Corrects the warning that is emitted upon redefining the event_loop fixture</li> </ul> <h2>pytest-asyncio 0.25.0</h2> <h1>0.25.0 (2024-12-13)</h1> <ul> <li>Deprecated: Added warning when asyncio test requests async <code>@pytest.fixture</code> in strict mode. This will become an error in a future version of flake8-asyncio. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/979">#979</a></li> <li>Updates the error message about <em>pytest.mark.asyncio</em>'s <em>scope</em> keyword argument to say <em>loop_scope</em> instead. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1004">#1004</a></li> <li>Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/990">#990</a></li> <li>Propagates <em>contextvars</em> set in async fixtures to other fixtures and tests on Python 3.11 and above. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1008">#1008</a></li> </ul> <h2>pytest-asyncio 0.24.0</h2> <h1>0.24.0 (2024-08-22)</h1> <ul> <li>BREAKING: Updated minimum supported pytest version to v8.2.0</li> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> <li>Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li> </ul> <h2>pytest-asyncio 0.24.0a1</h2> <h1>0.24.0 (UNRELEASED)</h1> <ul> <li>BREAKING: Updated minimum supported pytest version to v8.2.0</li> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> <li>Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/862">#862</a> <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/668">#668</a></li> </ul> <h2>pytest-asyncio 0.24.0a0</h2> <h1>0.24.0 (UNRELEASED)</h1> <ul> <li>Adds an optional <em>loop_scope</em> keyword argument to <em>pytest.mark.asyncio</em>. This argument controls which event loop is used to run the marked async test. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>, <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/871">#871</a></li> <li>Deprecates the optional <em>scope</em> keyword argument to <em>pytest.mark.asyncio</em> for API consistency with <code>pytest_asyncio.fixture</code>. Users are encouraged to use the <em>loop_scope</em> keyword argument, which does exactly the same.</li> <li>Raises an error when passing <em>scope</em> or <em>loop_scope</em> as a positional argument to <code>@pytest.mark.asyncio</code>. <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/812">#812</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/4f8ce457b0a52eba1233349e740ca9e7fb400804"><code>4f8ce45</code></a> docs: Prepare release of v0.26.0.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/498e8a7786b85027bd8e9992f8af6a05a90e3786"><code>498e8a7</code></a> Build(deps): Bump attrs from 25.1.0 to 25.3.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/01c22ffb63f3bdd158b7d35bd14f8a45ba35338e"><code>01c22ff</code></a> build: Update project metadata to use SPDX license identifier</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/78191c98ed4792cd9352bfff0885cc041ee2b1ed"><code>78191c9</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/9a455516ea423fd29c3f45878713ca1715b899e6"><code>9a45551</code></a> Build(deps): Bump hypothesis in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/66804094397afc7b4c905c113209a89e4df7a3d5"><code>6680409</code></a> Build(deps): Bump coverage from 7.7.0 to 7.7.1 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/aa82c574feae8611170150222b41bd4c1e72855d"><code>aa82c57</code></a> Build(deps): Bump iniconfig from 2.0.0 to 2.1.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/cca587ea4f2c09b1b25b56cb4a22c44677cf27fc"><code>cca587e</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/5d90b296218ef8c3d2bbafd70736bece18eeb984"><code>5d90b29</code></a> Build(deps): Bump hypothesis in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/c2622628b6ca1f2d583df375cc370070c2c0c54e"><code>c262262</code></a> Build(deps): Bump coverage from 7.6.12 to 7.7.0 in /dependencies/default</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.8...v0.26.0">compare view</a></li> </ul> </details> <br /> Updates `pytest-cov` from 5.0.0 to 6.1.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>6.1.1 (2025-04-05)</h2> <ul> <li>Fixed breakage that occurs when <code>--cov-context</code> and the <code>no_cover</code> marker are used together.</li> </ul> <h2>6.1.0 (2025-04-01)</h2> <ul> <li>Change terminal output to use full width lines for the coverage header. Contributed by Tsvika Shapira in <code>[#678](pytest-dev/pytest-cov#678) <https://github.com/pytest-dev/pytest-cov/pull/678></code>_.</li> <li>Removed unnecessary CovFailUnderWarning. Fixes <code>[#675](pytest-dev/pytest-cov#675) <https://github.com/pytest-dev/pytest-cov/issues/675></code>_.</li> <li>Fixed the term report not using the precision specified via <code>--cov-precision</code>.</li> </ul> <h2>6.0.0 (2024-10-29)</h2> <ul> <li>Updated various documentation inaccuracies, especially on subprocess handling.</li> <li>Changed fail under checks to use the precision set in the coverage configuration. Now it will perform the check just like <code>coverage report</code> would.</li> <li>Added a <code>--cov-precision</code> cli option that can override the value set in your coverage configuration.</li> <li>Dropped support for now EOL Python 3.8.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9463242e3a7bc18a56b8f18c01b4dfb50087e5ed"><code>9463242</code></a> Bump version: 6.1.0 → 6.1.1</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/7f2781b47fc9bd4a8e94ff86b4f69f5959c3d907"><code>7f2781b</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/a59548f3adcb757ea8afcb40d8d849af49f6e925"><code>a59548f</code></a> Allow the context plugin to check if the controller is running or not. Fixes ...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/10f8cde38c3b0aaf2c75d9ed62d4f333d8809d96"><code>10f8cde</code></a> Bump version: 6.0.0 → 6.1.0</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/10b14afffcd53b19967785c0b3e8b35ebac70b6f"><code>10b14af</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/aa57aed273475b4f9975cc9a8a1662b336718662"><code>aa57aed</code></a> Refactor a bit the internals to be a bit less boilerplatey and have more clar...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/e760099a7fd5f49c235dc798bf7f222c0372b7e3"><code>e760099</code></a> Make sure the CLI precision is used when creating report. Fixes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/674">#674</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/44540e1e9f02f3b69b62834636cf3057edc960d6"><code>44540e1</code></a> Remove unnecessary CovFailUnderWarning. Closes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/675">#675</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/204af146f8f4ff03076825a693ee6aef587deb6b"><code>204af14</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/089e7bb5c16dcfdedd54f27fda094ccb3eeaae2c"><code>089e7bb</code></a> Upgrade ruff.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-mock` from 3.14.0 to 3.14.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's releases</a>.</em></p> <blockquote> <h2>v3.14.1</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest-mock/pull/503">#503</a>: Python 3.14 is now officially supported.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's changelog</a>.</em></p> <blockquote> <h2>3.14.1 (2025-08-26)</h2> <ul> <li><code>[#503](pytest-dev/pytest-mock#503) <https://github.com/pytest-dev/pytest-mock/pull/503></code>_: Python 3.14 is now officially supported.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/34dd61aa459520e096c70eb8a573700fc17c5de8"><code>34dd61a</code></a> Release 3.14.1</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/299adb96640a51a48b5af9a69064b9edd7a9fe90"><code>299adb9</code></a> Add support for Python 3.14 (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/503">#503</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/f5fcef726a8ba4a54cd138321ae9771648a0bc8a"><code>f5fcef7</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/504">#504</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/bae64d8c8ef44a7075d63f1d7f6ac36b76b61ce4"><code>bae64d8</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/502">#502</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/824f334cc4b39eb05c0093fc43411ada3fdc8300"><code>824f334</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/501">#501</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/db1add63034430d66835c78992c0ed9b1e331cfd"><code>db1add6</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/500">#500</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/48ac8746b6587457becf31d1272947de6d65e0d0"><code>48ac874</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/499">#499</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/fe7ad9aab6a8e15e5762d5bdc85402249f2ca7ef"><code>fe7ad9a</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/498">#498</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/7857e608242aeb3d4b771296ee41d258b1a13838"><code>7857e60</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/497">#497</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/a8b97ea2ca86e9cfa553e395cf20352a881d8eaf"><code>a8b97ea</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pytest-dev/pytest-mock/issues/496">#496</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-mock/compare/v3.14.0...v3.14.1">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.3.2 to 8.3.5 <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>8.3.5</h2> <h1>pytest 8.3.5 (2025-03-02)</h1> <h2>Bug fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11777">#11777</a>: Fixed issue where sequences were still being shortened even with <code>-vv</code> verbosity.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12888">#12888</a>: Fixed broken input when using Python 3.13+ and a <code>libedit</code> build of Python, such as on macOS or with uv-managed Python binaries from the <code>python-build-standalone</code> project. This could manifest e.g. by a broken prompt when using <code>Pdb</code>, or seeing empty inputs with manual usage of <code>input()</code> and suspended capturing.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13026">#13026</a>: Fixed <code>AttributeError</code>{.interpreted-text role="class"} crash when using <code>--import-mode=importlib</code> when top-level directory same name as another module of the standard library.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13053">#13053</a>: Fixed a regression in pytest 8.3.4 where, when using <code>--import-mode=importlib</code>, a directory containing py file with the same name would cause an <code>ImportError</code></li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13083">#13083</a>: Fixed issue where pytest could crash if one of the collected directories got removed during collection.</li> </ul> <h2>Improved documentation</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12842">#12842</a>: Added dedicated page about using types with pytest.</p> <p>See <code>types</code>{.interpreted-text role="ref"} for detailed usage.</p> </li> </ul> <h2>Contributor-facing changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13112">#13112</a>: Fixed selftest failures in <code>test_terminal.py</code> with Pygments >= 2.19.0</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/13256">#13256</a>: Support for Towncrier versions released in 2024 has been re-enabled when building Sphinx docs -- by <code>webknjaz</code>{.interpreted-text role="user"}.</li> </ul> <h2>8.3.4</h2> <h1>pytest 8.3.4 (2024-12-01)</h1> <h2>Bug fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12592">#12592</a>: Fixed <code>KeyError</code>{.interpreted-text role="class"} crash when using <code>--import-mode=importlib</code> in a directory layout where a directory contains a child directory with the same name.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12818">#12818</a>: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the <code>AST</code>, like <a href="https://github.com/alexmojaki/executing">executing</a>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12849">#12849</a>: ANSI escape codes for colored output now handled correctly in <code>pytest.fail</code>{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9353">#9353</a>: <code>pytest.approx</code>{.interpreted-text role="func"} now uses strict equality when given booleans.</p> </li> </ul> <h2>Improved documentation</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10558">#10558</a>: Fix ambiguous docstring of <code>pytest.Config.getoption</code>{.interpreted-text role="func"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10829">#10829</a>: Improve documentation on the current handling of the <code>--basetemp</code> option and its lack of retention functionality (<code>temporary directory location and retention</code>{.interpreted-text role="ref"}).</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/b55ab2aabb68c0ce94c3903139b062d0c2790152"><code>b55ab2a</code></a> Prepare release version 8.3.5</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e217726d2a0edfaf58eae95bf835b85834b96da3"><code>e217726</code></a> Added dedicated page about using types with pytest <a href="https://redirect.github.com/pytest-dev/pytest/issues/12842">#12842</a> (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12963">#12963</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13260">#13260</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2fa3f8306c3da4aad7f7349a4947ac37ba6c652f"><code>2fa3f83</code></a> Add more resources and studies to flaky tests page in docs (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13250">#13250</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13259">#13259</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e5c2efe3c36199731b41fd68bbf4df5e21404a8b"><code>e5c2efe</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13256">#13256</a> from webknjaz/maintenance/towncrier-bump (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13258">#13258</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/3419674225a3a7b7d6f93650d75f6de52fe637d5"><code>3419674</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13187">#13187</a> from pytest-dev/patchback/backports/8.3.x/b4009b319...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b75cfb162dbb927739698effa3fbcf279655da49"><code>b75cfb1</code></a> Add readline workaround for libedit (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13176">#13176</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/edbfff72a4051ed9c5f3d9b5d6f316b407cb6961"><code>edbfff7</code></a> doc: Clarify capturing .readouterr() return value (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13222">#13222</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13225">#13225</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2ebba0063c66b77a7bd171221de059f3b3e47b86"><code>2ebba00</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/13199">#13199</a> from jakkdl/tox_docs_no_fetch (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13200">#13200</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/eb6496b79759f9acde581ed9d7a0777a49b5f820"><code>eb6496b</code></a> doc: Change training to remote only (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13196">#13196</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13197">#13197</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/78cf1f67f707fc07372a89775fd10d2065b5f17a"><code>78cf1f6</code></a> ci: Bump build-and-inspect-python-package (<a href="https://redirect.github.com/pytest-dev/pytest/issues/13188">#13188</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.5">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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description
Please explain the changes you made here.
Checklist