Skip to content

Commit

Permalink
Bump the dependencies group with 3 updates (#117)
Browse files Browse the repository at this point in the history
Bumps the dependencies group with 3 updates:
[bandit[toml]](https://github.com/PyCQA/bandit),
[black](https://github.com/psf/black) and
[pytest](https://github.com/pytest-dev/pytest).

Updates `bandit[toml]` from 1.7.6 to 1.7.7
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/PyCQA/bandit/releases">bandit[toml]'s
releases</a>.</em></p>
<blockquote>
<h2>1.7.7</h2>
<h2>What's Changed</h2>
<ul>
<li>Add the new release to bandit versions of bug template by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1075">PyCQA/bandit#1075</a></li>
<li>Bump actions/setup-python from 4 to 5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1076">PyCQA/bandit#1076</a></li>
<li>Handle variant in how policy is passed in paramiko by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1078">PyCQA/bandit#1078</a></li>
<li>Flag str.replace as possible sql injection by <a
href="https://github.com/costaparas"><code>@​costaparas</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1044">PyCQA/bandit#1044</a></li>
<li>defusedxml: Show correct module name by <a
href="https://github.com/kajinamit"><code>@​kajinamit</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1081">PyCQA/bandit#1081</a></li>
<li>Add tidelift to the sponsor funding list by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1089">PyCQA/bandit#1089</a></li>
<li>Create a security policy by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1091">PyCQA/bandit#1091</a></li>
<li>Fix up issues found running Bandit on itself by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1093">PyCQA/bandit#1093</a></li>
<li>Add random.randbytes to blacklist calls by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1096">PyCQA/bandit#1096</a></li>
<li>Prepend ./ for files specified as CLI args by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1094">PyCQA/bandit#1094</a></li>
<li>Rework GitPython dependency to be an extra for bandit-baseline by <a
href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1099">PyCQA/bandit#1099</a></li>
<li>Bump actions/dependency-review-action from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1101">PyCQA/bandit#1101</a></li>
<li>Introduce Official Bandit Images by <a
href="https://github.com/lukehinds"><code>@​lukehinds</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1088">PyCQA/bandit#1088</a></li>
<li>Remove markdown formatting in reStructuredText formatted README by
<a href="https://github.com/ericwb"><code>@​ericwb</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1103">PyCQA/bandit#1103</a></li>
<li>Downsize the org:repo name by <a
href="https://github.com/lukehinds"><code>@​lukehinds</code></a> in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1104">PyCQA/bandit#1104</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/kajinamit"><code>@​kajinamit</code></a>
made their first contribution in <a
href="https://redirect.github.com/PyCQA/bandit/pull/1081">PyCQA/bandit#1081</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7">https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyCQA/bandit/commit/4c5b3c81e4356001b472849b05af902064d68515"><code>4c5b3c8</code></a>
Downsize the org:repo name (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1104">#1104</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/3f86e84b5c0b4aad3995f642c32f554a41c9c6a8"><code>3f86e84</code></a>
Remove markdown formatting in reStructuredText formatted README (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1103">#1103</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/ff7ed4b192566367ea86733172ef47a29004bc9f"><code>ff7ed4b</code></a>
Introduce Official Bandit Images (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1088">#1088</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/99ddf6bbc55faeeb38cf8c9305ce946e329e4a49"><code>99ddf6b</code></a>
Bump actions/dependency-review-action from 3 to 4 (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1101">#1101</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/22c75a8306103052c4cbfe69e45931efdd5e4353"><code>22c75a8</code></a>
Rework GitPython dependency to be an extra for bandit-baseline (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1099">#1099</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/12e14f61e91aafdf0767d3e8c2193174b9808652"><code>12e14f6</code></a>
Prepend ./ for files specified as CLI args (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1094">#1094</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/0779eb09008f9700bcb8342ff140397a7bff2e89"><code>0779eb0</code></a>
Add random.randbytes to blacklist calls (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1096">#1096</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/7129108b1910897a5f36dea052d10cf721392a56"><code>7129108</code></a>
Fix up issues found running Bandit on itself (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1093">#1093</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/c2bd6d6368f783400d2c89a83ca171ceaa12ac26"><code>c2bd6d6</code></a>
Create a security policy (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1091">#1091</a>)</li>
<li><a
href="https://github.com/PyCQA/bandit/commit/a78cafe535c3407085c596fb3845421288b6486b"><code>a78cafe</code></a>
Add tidelift to the sponsor funding list (<a
href="https://redirect.github.com/PyCQA/bandit/issues/1089">#1089</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7">compare
view</a></li>
</ul>
</details>
<br />

Updates `black` from 23.12.1 to 24.1.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>24.1.1</h2>
<p>Bugfix release to fix a bug that made Black unusable on certain file
systems
with strict limits on path length.</p>
<h3>Preview style</h3>
<ul>
<li>Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
</ul>
<h2>24.1.0</h2>
<h3>Highlights</h3>
<p>This release introduces the new 2024 stable style (<a
href="https://redirect.github.com/psf/black/issues/4106">#4106</a>),
stabilizing the following
changes:</p>
<ul>
<li>Add parentheses around <code>if</code>-<code>else</code> expressions
(<a
href="https://redirect.github.com/psf/black/issues/2278">#2278</a>)</li>
<li>Dummy class and function implementations consisting only of
<code>...</code> are formatted more
compactly (<a
href="https://redirect.github.com/psf/black/issues/3796">#3796</a>)</li>
<li>If an assignment statement is too long, we now prefer splitting on
the right-hand side
(<a
href="https://redirect.github.com/psf/black/issues/3368">#3368</a>)</li>
<li>Hex codes in Unicode escape sequences are now standardized to
lowercase (<a
href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li>
<li>Allow empty first lines at the beginning of most blocks (<a
href="https://redirect.github.com/psf/black/issues/3967">#3967</a>, <a
href="https://redirect.github.com/psf/black/issues/4061">#4061</a>)</li>
<li>Add parentheses around long type annotations (<a
href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li>
<li>Enforce newline after module docstrings (<a
href="https://redirect.github.com/psf/black/issues/3932">#3932</a>, <a
href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li>
<li>Fix incorrect magic trailing comma handling in return types (<a
href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li>
<li>Remove blank lines before class docstrings (<a
href="https://redirect.github.com/psf/black/issues/3692">#3692</a>)</li>
<li>Wrap multiple context managers in parentheses if combined in a
single <code>with</code> statement
(<a
href="https://redirect.github.com/psf/black/issues/3489">#3489</a>)</li>
<li>Fix bug in line length calculations for power operations (<a
href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li>
<li>Add trailing commas to collection literals even if there's a comment
after the last
entry (<a
href="https://redirect.github.com/psf/black/issues/3393">#3393</a>)</li>
<li>When using <code>--skip-magic-trailing-comma</code> or
<code>-C</code>, trailing commas are stripped from
subscript expressions with more than 1 element (<a
href="https://redirect.github.com/psf/black/issues/3209">#3209</a>)</li>
<li>Add extra blank lines in stubs in a few cases (<a
href="https://redirect.github.com/psf/black/issues/3564">#3564</a>, <a
href="https://redirect.github.com/psf/black/issues/3862">#3862</a>)</li>
<li>Accept raw strings as docstrings (<a
href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li>
<li>Split long lines in case blocks (<a
href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li>
<li>Stop removing spaces from walrus operators within subscripts (<a
href="https://redirect.github.com/psf/black/issues/3823">#3823</a>)</li>
<li>Fix incorrect formatting of certain async statements (<a
href="https://redirect.github.com/psf/black/issues/3609">#3609</a>)</li>
<li>Allow combining <code># fmt: skip</code> with other comments (<a
href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li>
</ul>
<p>There are already a few improvements in the <code>--preview</code>
style, which are slated for the
2025 stable style. Try them out and
<a href="https://github.com/psf/black/issues">share your feedback</a>.
In the past, the preview
style has included some features that we were not able to stabilize.
This year, we're</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>24.1.1</h2>
<p>Bugfix release to fix a bug that made Black unusable on certain file
systems with strict
limits on path length.</p>
<h3>Preview style</h3>
<ul>
<li>Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
</ul>
<h3>Configuration</h3>
<ul>
<li>Shorten the length of the name of the cache file to fix crashes on
file systems that
do not support long paths (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
</ul>
<h2>24.1.0</h2>
<h3>Highlights</h3>
<p>This release introduces the new 2024 stable style (<a
href="https://redirect.github.com/psf/black/issues/4106">#4106</a>),
stabilizing the following
changes:</p>
<ul>
<li>Add parentheses around <code>if</code>-<code>else</code> expressions
(<a
href="https://redirect.github.com/psf/black/issues/2278">#2278</a>)</li>
<li>Dummy class and function implementations consisting only of
<code>...</code> are formatted more
compactly (<a
href="https://redirect.github.com/psf/black/issues/3796">#3796</a>)</li>
<li>If an assignment statement is too long, we now prefer splitting on
the right-hand side
(<a
href="https://redirect.github.com/psf/black/issues/3368">#3368</a>)</li>
<li>Hex codes in Unicode escape sequences are now standardized to
lowercase (<a
href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li>
<li>Allow empty first lines at the beginning of most blocks (<a
href="https://redirect.github.com/psf/black/issues/3967">#3967</a>, <a
href="https://redirect.github.com/psf/black/issues/4061">#4061</a>)</li>
<li>Add parentheses around long type annotations (<a
href="https://redirect.github.com/psf/black/issues/3899">#3899</a>)</li>
<li>Enforce newline after module docstrings (<a
href="https://redirect.github.com/psf/black/issues/3932">#3932</a>, <a
href="https://redirect.github.com/psf/black/issues/4028">#4028</a>)</li>
<li>Fix incorrect magic trailing comma handling in return types (<a
href="https://redirect.github.com/psf/black/issues/3916">#3916</a>)</li>
<li>Remove blank lines before class docstrings (<a
href="https://redirect.github.com/psf/black/issues/3692">#3692</a>)</li>
<li>Wrap multiple context managers in parentheses if combined in a
single <code>with</code> statement
(<a
href="https://redirect.github.com/psf/black/issues/3489">#3489</a>)</li>
<li>Fix bug in line length calculations for power operations (<a
href="https://redirect.github.com/psf/black/issues/3942">#3942</a>)</li>
<li>Add trailing commas to collection literals even if there's a comment
after the last
entry (<a
href="https://redirect.github.com/psf/black/issues/3393">#3393</a>)</li>
<li>When using <code>--skip-magic-trailing-comma</code> or
<code>-C</code>, trailing commas are stripped from
subscript expressions with more than 1 element (<a
href="https://redirect.github.com/psf/black/issues/3209">#3209</a>)</li>
<li>Add extra blank lines in stubs in a few cases (<a
href="https://redirect.github.com/psf/black/issues/3564">#3564</a>, <a
href="https://redirect.github.com/psf/black/issues/3862">#3862</a>)</li>
<li>Accept raw strings as docstrings (<a
href="https://redirect.github.com/psf/black/issues/3947">#3947</a>)</li>
<li>Split long lines in case blocks (<a
href="https://redirect.github.com/psf/black/issues/4024">#4024</a>)</li>
<li>Stop removing spaces from walrus operators within subscripts (<a
href="https://redirect.github.com/psf/black/issues/3823">#3823</a>)</li>
<li>Fix incorrect formatting of certain async statements (<a
href="https://redirect.github.com/psf/black/issues/3609">#3609</a>)</li>
<li>Allow combining <code># fmt: skip</code> with other comments (<a
href="https://redirect.github.com/psf/black/issues/3959">#3959</a>)</li>
</ul>
<p>There are already a few improvements in the <code>--preview</code>
style, which are slated for the
2025 stable style. Try them out and
<a href="https://github.com/psf/black/issues">share your feedback</a>.
In the past, the preview
style has included some features that we were not able to stabilize.
This year, we're</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/psf/black/commit/e026c93888f91a47a9c9f4e029f3eb07d96375e6"><code>e026c93</code></a>
Prepare release 24.1.1 (<a
href="https://redirect.github.com/psf/black/issues/4186">#4186</a>)</li>
<li><a
href="https://github.com/psf/black/commit/79fc1158a98281dac798feb14b8fddb4051e4a42"><code>79fc115</code></a>
chore: ignore node_modules (produced by a pre-commit check) (<a
href="https://redirect.github.com/psf/black/issues/4184">#4184</a>)</li>
<li><a
href="https://github.com/psf/black/commit/8bf04549ffd276a1bad6eb110e66e6557ee630d9"><code>8bf0454</code></a>
Consistently add trailing comma on typed parameters (<a
href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
<li><a
href="https://github.com/psf/black/commit/1607e9ab20ad550cf940482d0d361ca31fc03189"><code>1607e9a</code></a>
Fix missing space in option description (<a
href="https://redirect.github.com/psf/black/issues/4182">#4182</a>)</li>
<li><a
href="https://github.com/psf/black/commit/ed770ba4dd50c419148a0fca2b43937a7447e1f9"><code>ed770ba</code></a>
Fix cache file length (<a
href="https://redirect.github.com/psf/black/issues/4176">#4176</a>)</li>
<li><a
href="https://github.com/psf/black/commit/659c29a41c7c686687aef21f57b95bcfa236b03b"><code>659c29a</code></a>
New changelog</li>
<li><a
href="https://github.com/psf/black/commit/0e6e46b9eb45f5a22062fe84c2c2ff46bd0d738e"><code>0e6e46b</code></a>
Prepare release 24.1.0 (<a
href="https://redirect.github.com/psf/black/issues/4170">#4170</a>)</li>
<li><a
href="https://github.com/psf/black/commit/4f47cac1925a2232892ceae438e2c62f81517714"><code>4f47cac</code></a>
Add --unstable flag (<a
href="https://redirect.github.com/psf/black/issues/4096">#4096</a>)</li>
<li><a
href="https://github.com/psf/black/commit/bccec8adfbed2bbc24c0859e8758d5e7809d42b7"><code>bccec8a</code></a>
Show warning on invalid toml configuration (<a
href="https://redirect.github.com/psf/black/issues/4165">#4165</a>)</li>
<li><a
href="https://github.com/psf/black/commit/7d789469ed947022f183962b823f5862511272ac"><code>7d78946</code></a>
Describe 2024 module docstring more accurately (<a
href="https://redirect.github.com/psf/black/issues/4168">#4168</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.12.1...24.1.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `pytest` from 7.4.4 to 8.0.0
<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>pytest 8.0.0 (2024-01-27)</h2>
<p>See <a
href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc1">8.0.0rc1</a>
and <a
href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc2">8.0.0rc2</a>
for the full changes since pytest 7.4!</p>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11842">#11842</a>:
Properly escape the <code>reason</code> of a <code>skip
&lt;pytest.mark.skip ref&gt;</code>{.interpreted-text
role=&quot;ref&quot;} mark when writing JUnit XML files.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11861">#11861</a>:
Avoid microsecond exceeds <code>1_000_000</code> when using
<code>log-date-format</code> with <code>%f</code> specifier, which might
cause the test suite to crash.</li>
</ul>
<h2>8.0.0rc2</h2>
<h1>pytest 8.0.0rc2 (2024-01-17)</h1>
<h2>Improvements</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11233">#11233</a>:
Improvements to <code>-r</code> for xfailures and xpasses:
<ul>
<li>Report tracebacks for xfailures when <code>-rx</code> is set.</li>
<li>Report captured output for xpasses when <code>-rX</code> is
set.</li>
<li>For xpasses, add <code>-</code> in summary between test name and
reason, to match how xfail is displayed.</li>
</ul>
</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11825">#11825</a>:
The <code>pytest_plugin_registered</code>{.interpreted-text
role=&quot;hook&quot;} hook has a new <code>plugin_name</code> parameter
containing the name by which <code>plugin</code> is registered.</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11706">#11706</a>:
Fix reporting of teardown errors in higher-scoped fixtures when using
[--maxfail]{.title-ref} or [--stepwise]{.title-ref}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11758">#11758</a>:
Fixed <code>IndexError: string index out of range</code> crash in
<code>if highlighted[-1] == &quot;\n&quot; and source[-1] !=
&quot;\n&quot;</code>.
This bug was introduced in pytest 8.0.0rc1.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/9765">#9765</a>,
<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11816">#11816</a>:
Fixed a frustrating bug that afflicted some users with the only error
being <code>assert mod not in mods</code>. The issue was caused by the
fact that <code>str(Path(mod))</code> and <code>mod.__file__</code>
don't necessarily produce the same string, and was being erroneously
used interchangably in some places in the code.</p>
<p>This fix also broke the internal API of
<code>PytestPluginManager.consider_conftest</code> by introducing a new
parameter -- we mention this in case it is being used by external code,
even if marked as <em>private</em>.</p>
</li>
</ul>
<h2>pytest 8.0.0rc1 (2023-12-30)</h2>
<p>See <a
href="https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30">https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30</a>
for the rendered changelog.</p>
<h2>Breaking Changes</h2>
<h3>Old Deprecations Are Now Errors</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/7363">#7363</a>:
<strong>PytestRemovedIn8Warning deprecation warnings are now errors by
default.</strong></p>
<p>Following our plan to remove deprecated features with as little
disruption as possible, all warnings of type
<code>PytestRemovedIn8Warning</code> now generate errors instead of
warning messages by default.</p>
<p><strong>The affected features will be effectively removed in pytest
8.1</strong>, so please consult the
<code>deprecations</code>{.interpreted-text role=&quot;ref&quot;}
section in the docs for directions on how to update existing code.</p>
<p>In the pytest <code>8.0.X</code> series, it is possible to change the
errors back into warnings as a stopgap measure by adding this to your
<code>pytest.ini</code> file:</p>
<pre lang="ini"><code>[pytest]
</code></pre>
</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/478f8233bca8147445f0c5129f04ada892cc6c91"><code>478f823</code></a>
Prepare release version 8.0.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/608590097a6542768099dd371b84d8b37a1990da"><code>6085900</code></a>
[8.0.x] fix: avoid rounding microsecond to <code>1_000_000</code> (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11863">#11863</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/3b41c65c81d649d962be5ec469f44104b8d09748"><code>3b41c65</code></a>
[8.0.x] Escape skip reason in junitxml (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11845">#11845</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/747072ad26f2443dc8a62eb88db8cbf56fa95470"><code>747072a</code></a>
[8.0.x] Update docstring of scripts/generate-gh-release-notes.py (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11768">#11768</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/011a475baf6e1d0e9ec30c5996d9cbcbe7c95475"><code>011a475</code></a>
Properly attach packages to the GH release notes (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11839">#11839</a>)
(<a
href="https://redirect.github.com/pytest-dev/pytest/issues/11840">#11840</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/97960bdd148972b2f26bd9b336163e590bbc4c6b"><code>97960bd</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11835">#11835</a>
from pytest-dev/release-8.0.0rc2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/6be0a3cbf7e014834610139421a0d9804d4a3eae"><code>6be0a3c</code></a>
Prepare release version 8.0.0rc2</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/44ffe071658f5ac609fe8d3b967e8dba93abc819"><code>44ffe07</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11837">#11837</a>
from pytest-dev/backport-11836-to-8.0.x</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/14ecb049732bed4dc913e2da55c616882432c978"><code>14ecb04</code></a>
[8.0.x] testing: temporarily disable test due to hypothesis issue</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/41c8dabee3c40a5d363bf03a3ca2370ee27cbcd0"><code>41c8dab</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11831">#11831</a>
from bluetech/backport-11825-to-8.0.x</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.4.4...8.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 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>
Co-authored-by: Tugrul Ates <[email protected]>
dependabot[bot] and tugrulates authored Jan 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c1dc6ec commit f87078c
Showing 4 changed files with 5 additions and 20 deletions.
15 changes: 1 addition & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -2,24 +2,11 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"githubPullRequests.defaultMergeMethod": "squash",
"python.analysis.typeCheckingMode": "basic",
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.formatting.provider": "black",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"python.testing.pytestEnabled": true,
"python.linting.banditEnabled": true,
"python.linting.pylintEnabled": false,
"python.linting.banditArgs": ["-c pyproject.toml"],
"python.linting.mypyArgs": [
"--follow-imports=silent",
"--ignore-missing-imports",
"--show-column-numbers",
"--no-pretty",
"--check-untyped-defs"
]
"python.testing.pytestEnabled": true
}
1 change: 0 additions & 1 deletion notes/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""App configuration."""


import json
from pathlib import Path

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@ dependencies = [

[project.optional-dependencies]
dev = [
"bandit[toml]==1.7.6",
"black==23.12.1",
"bandit[toml]==1.7.7",
"black==24.1.1",
"flake8-bugbear==24.1.17",
"flake8-builtins==2.2.0",
"flake8-comprehensions==3.14.0",
@@ -45,12 +45,12 @@ dev = [
"isort==5.13.2",
"mypy==1.8.0",
"pep8-naming==0.13.3",
"pytest==7.4.4",
"pytest==8.0.0",
"types-PyYAML==6.0.12.12",
]
test = [
"pytest-cov==4.1.0",
"pytest==7.4.4",
"pytest==8.0.0",
]

[project.scripts]
1 change: 0 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Unittests for the CLI."""


import importlib
import json
from pathlib import Path

0 comments on commit f87078c

Please sign in to comment.