Repository navigation
Commit 69aa0f5
authored
Build(deps-dev): Bump isort from 8.0.1 to 9.0.1 (#299)
Bumps [isort](https://github.com/PyCQA/isort) from 8.0.1 to 9.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/PyCQA/isort/releases">isort's
releases</a>.</em></p>
<blockquote>
<h2>9.0.1</h2>
<h2>:beetle: Fixes</h2>
<ul>
<li>Restore <code>python -m isort</code> by excluding
<code>__main__</code> from mypyc compilation by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a>
with <a href="https://github.com/Copilot"><code>@Copilot</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2643">PyCQA/isort#2643</a></li>
</ul>
<h2>Other changes</h2>
<ul>
<li>Add changelog entries for last releases by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2641">PyCQA/isort#2641</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PyCQA/isort/compare/9.0.0...9.0.1">https://github.com/PyCQA/isort/compare/9.0.0...9.0.1</a></p>
<h2>9.0.0</h2>
<p><code>isort</code> <code>9.0.0</code> is the result of several alpha
and beta releases, as well as a small number of fixes added after the
last beta. For release notes for the individual alphas and betas we
would like to refer to:</p>
<ul>
<li><a
href="https://github.com/PyCQA/isort/releases/tag/9.0.0a2">9.0.0a2</a></li>
<li><a
href="https://github.com/PyCQA/isort/releases/tag/9.0.0a3">9.0.0a3</a></li>
<li><a
href="https://github.com/PyCQA/isort/releases/tag/9.0.0b1">9.0.0b1</a></li>
<li><a
href="https://github.com/PyCQA/isort/releases/tag/9.0.0b2">9.0.0b2</a></li>
<li><a
href="https://github.com/PyCQA/isort/releases/tag/9.0.0b5">9.0.0b5</a></li>
</ul>
<p><em>Skipped version numbers are the result of changes to our release
infrastructure that broke while creating the actual releases.</em></p>
<p>Please find below the full release notes for version
<code>9.0.0</code>, the newest release of <code>isort</code> after
version <code>8.0.1</code>.</p>
<hr />
<p><code>isort</code> <code>9.0.0</code> contains some significant
changes and improvements. Most notably there is now support for Python
3.15 and its <code>lazy</code> imports and we have included several
performance improvements as well as providing <code>mypyc</code>
compiled wheels for all major platforms and supported versions of
Python. In our own tests we saw speeds ups of more than 2x and 3x times,
but this is highly dependent on the codebase <code>isort</code> needs to
inspect.</p>
<p>The full list of changes is as follows:</p>
<h2>:boom: Breaking Changes</h2>
<ul>
<li>Remove logic for deprecated options (<a
href="https://redirect.github.com/PyCQA/isort/issues/2498">#2498</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
</ul>
<h2>:rocket: Features</h2>
<ul>
<li>Sort lazy import statements (<a
href="https://redirect.github.com/PyCQA/isort/issues/2503">#2503</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
<li>Add initial support for Python 3.15 (<a
href="https://redirect.github.com/PyCQA/isort/issues/2466">#2466</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
<li>Compile with <code>mypyc</code> by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2586">PyCQA/isort#2586</a></li>
<li>Cache calls to <code>posixpath.abspath</code> by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2606">PyCQA/isort#2606</a></li>
<li>Consider private <code>stdlib</code> modules to be
<code>stdlib</code> (<a
href="https://redirect.github.com/PyCQA/isort/issues/2295">#2295</a>) <a
href="https://github.com/devdanzin"><code>@devdanzin</code></a></li>
<li>Add CLI Flag for --forced-separate (<a
href="https://redirect.github.com/PyCQA/isort/pull/2367">PyCQA/isort#2367</a>)
<a href="https://github.com/hirak99"><code>@hirak99</code></a></li>
<li>Add separate_packages option (<a
href="https://redirect.github.com/PyCQA/isort/issues/2313">#2313</a>) <a
href="https://github.com/alex-liang3"><code>@alex-liang3</code></a></li>
</ul>
<h2>:beetle: Fixes</h2>
<ul>
<li>Fix inline comment duplication across merged <code>from X
import</code> lines (<a
href="https://redirect.github.com/PyCQA/isort/issues/2499">#2499</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix src glob patterns passed via CLI (<a
href="https://redirect.github.com/PyCQA/isort/issues/2497">#2497</a>) <a
href="https://github.com/ReinerBRO"><code>@ReinerBRO</code></a></li>
<li>Fix opening-line comment moving to alias attribute line on wrapped
imports (<a
href="https://redirect.github.com/PyCQA/isort/issues/2491">#2491</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix multi_line_output=3/5 ignored when wrapping single imports with
inline comments (<a
href="https://redirect.github.com/PyCQA/isort/issues/2474">#2474</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix false positive in <code>check_code</code> when using
<code>float_to_top</code> + <code>add_imports</code> (<a
href="https://redirect.github.com/PyCQA/isort/issues/2492">#2492</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix: preserve bare <code>#</code> inline comments on imports (<a
href="https://redirect.github.com/PyCQA/isort/issues/2488">#2488</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PyCQA/isort/blob/main/CHANGELOG.md">isort's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>NOTE: isort follows the <a href="https://semver.org/">semver</a>
versioning standard.
Find out more about isort's release policy <a
href="https://github.com/PyCQA/isort/blob/main/docs/major_releases/release_policy.md">here</a>.</p>
<p>Please find a complete overview of all releases
on <a href="https://github.com/PyCQA/isort/releases">Github</a>.</p>
<h2>Releases</h2>
<h3>Unreleased</h3>
<h3>9.0.0 August 26 2026</h3>
<ul>
<li>Remove logic for deprecated options (<a
href="https://redirect.github.com/PyCQA/isort/issues/2498">#2498</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
<li>Sort lazy import statements (<a
href="https://redirect.github.com/PyCQA/isort/issues/2503">#2503</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
<li>Add initial support for Python 3.15 (<a
href="https://redirect.github.com/PyCQA/isort/issues/2466">#2466</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
<li>Compile with <code>mypyc</code> by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2586">PyCQA/isort#2586</a></li>
<li>Cache calls to <code>posixpath.abspath</code> by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2606">PyCQA/isort#2606</a></li>
<li>Consider private <code>stdlib</code> modules to be
<code>stdlib</code> (<a
href="https://redirect.github.com/PyCQA/isort/issues/2295">#2295</a>) <a
href="https://github.com/devdanzin"><code>@devdanzin</code></a></li>
<li>Add CLI Flag for --forced-separate (<a
href="https://redirect.github.com/PyCQA/isort/pull/2367">PyCQA/isort#2367</a>)
<a href="https://github.com/hirak99"><code>@hirak99</code></a></li>
<li>Add separate_packages option (<a
href="https://redirect.github.com/PyCQA/isort/issues/2313">#2313</a>) <a
href="https://github.com/alex-liang3"><code>@alex-liang3</code></a></li>
<li>Fix inline comment duplication across merged <code>from X
import</code> lines (<a
href="https://redirect.github.com/PyCQA/isort/issues/2499">#2499</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix src glob patterns passed via CLI (<a
href="https://redirect.github.com/PyCQA/isort/issues/2497">#2497</a>) <a
href="https://github.com/ReinerBRO"><code>@ReinerBRO</code></a></li>
<li>Fix opening-line comment moving to alias attribute line on wrapped
imports (<a
href="https://redirect.github.com/PyCQA/isort/issues/2491">#2491</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix multi_line_output=3/5 ignored when wrapping single imports with
inline comments (<a
href="https://redirect.github.com/PyCQA/isort/issues/2474">#2474</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix false positive in <code>check_code</code> when using
<code>float_to_top</code> + <code>add_imports</code> (<a
href="https://redirect.github.com/PyCQA/isort/issues/2492">#2492</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix: preserve bare <code>#</code> inline comments on imports (<a
href="https://redirect.github.com/PyCQA/isort/issues/2488">#2488</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix grouping of non-aliased imports when mixed with aliased imports
from the same module (<a
href="https://redirect.github.com/PyCQA/isort/issues/2470">#2470</a>) <a
href="https://github.com/copilot-swe-agent"><code>@copilot-swe-agent</code></a></li>
<li>Fix <a
href="https://redirect.github.com/PyCQA/isort/issues/2500">PyCQA/isort#2500</a>:
trusted publishing by <a
href="https://github.com/staticdev"><code>@staticdev</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2521">PyCQA/isort#2521</a></li>
<li>Fix git_hook lazy=True option by <a
href="https://github.com/sparrowt"><code>@sparrowt</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2542">PyCQA/isort#2542</a></li>
<li>Honor <code># isort: off/on/split</code> during
<code>float_to_top</code> preprocessing with CRLF input by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a>
with <a href="https://github.com/Copilot"><code>@Copilot</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2553">PyCQA/isort#2553</a></li>
<li>Fix --sort-reexports crash with non-seekable streams (e.g. stdin) by
<a href="https://github.com/Abdu-Ahmed"><code>@Abdu-Ahmed</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2547">PyCQA/isort#2547</a></li>
<li>Fix non-idempotent output with split_on_trailing_comma and a
non-default wrap mode by <a
href="https://github.com/sarathfrancis90"><code>@sarathfrancis90</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2554">PyCQA/isort#2554</a></li>
<li>Fix non-idempotent NOQA wrap mode with imports that carry their own
comment by <a
href="https://github.com/sarathfrancis90"><code>@sarathfrancis90</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2556">PyCQA/isort#2556</a></li>
<li>Fix NOQA wrap mode accumulating spaces before the comment on each
run by <a
href="https://github.com/sarathfrancis90"><code>@sarathfrancis90</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2558">PyCQA/isort#2558</a></li>
<li>Fix NOQA not added to long imports in several output paths by <a
href="https://github.com/urayoru113"><code>@urayoru113</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2568">PyCQA/isort#2568</a></li>
<li>Honor <code># isort: skip</code> when a <code>__future__</code>
import is present (<a
href="https://redirect.github.com/PyCQA/isort/issues/2092">#2092</a>) by
<a
href="https://github.com/apoorvdarshan"><code>@apoorvdarshan</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2574">PyCQA/isort#2574</a></li>
<li>fix: make sorted <code>__all__</code> and literals black-compatible
(<a
href="https://redirect.github.com/PyCQA/isort/issues/2280">#2280</a>) by
<a href="https://github.com/lord-haffi"><code>@lord-haffi</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2576">PyCQA/isort#2576</a></li>
<li>Honor skip comments when sorting reexports by <a
href="https://github.com/sakshichitnis27"><code>@sakshichitnis27</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2581">PyCQA/isort#2581</a></li>
<li>Keep aliased import when the plain name carries a comment by <a
href="https://github.com/sarathfrancis90"><code>@sarathfrancis90</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2567">PyCQA/isort#2567</a></li>
<li>fix: don't crash on --config-root without --resolve-all-configs by
<a href="https://github.com/Gooh456"><code>@Gooh456</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2597">PyCQA/isort#2597</a></li>
<li>fix: check_code misses lines_before_imports-only changes (<a
href="https://redirect.github.com/PyCQA/isort/issues/2242">#2242</a>) by
<a href="https://github.com/gaoflow"><code>@gaoflow</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2563">PyCQA/isort#2563</a></li>
<li>Fix preservation of form-feed blank lines by <a
href="https://github.com/utkarshalpha"><code>@utkarshalpha</code></a>
in <a
href="https://redirect.github.com/PyCQA/isort/pull/2599">PyCQA/isort#2599</a></li>
<li>Small clean up and fix inconsistency in handling of <code>*</code>
imports by <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2619">PyCQA/isort#2619</a></li>
<li>Fix word-wrapping of 'from ... import *' into invalid Python (<a
href="https://redirect.github.com/PyCQA/isort/issues/2267">#2267</a>) by
<a href="https://github.com/sudorm-rf0"><code>@sudorm-rf0</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2624">PyCQA/isort#2624</a></li>
<li>Fix pylint disable-next comments at the start of imports by <a
href="https://github.com/Neallin-917"><code>@Neallin-917</code></a> in
<a
href="https://redirect.github.com/PyCQA/isort/pull/2628">PyCQA/isort#2628</a></li>
<li>Keep add_imports below a prefixed module docstring by <a
href="https://github.com/Eljees"><code>@Eljees</code></a> in <a
href="https://redirect.github.com/PyCQA/isort/pull/2626">PyCQA/isort#2626</a></li>
<li>Add read the docs configuration (<a
href="https://redirect.github.com/PyCQA/isort/issues/2504">#2504</a>) <a
href="https://github.com/DanielNoord"><code>@DanielNoord</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PyCQA/isort/commit/131f4adcd5582bfc53928ab0d740eceb8b506b6c"><code>131f4ad</code></a>
Fix review typing and import order in CLI invocation test</li>
<li><a
href="https://github.com/PyCQA/isort/commit/9491900490be659d5e600dfe403de6793eddfb8e"><code>9491900</code></a>
Test python -m isort invocation directly</li>
<li><a
href="https://github.com/PyCQA/isort/commit/f0a2dca32371ba8f04af81939746cf3b03adb65a"><code>f0a2dca</code></a>
Fix python -m isort by excluding <strong>main</strong> from mypyc</li>
<li><a
href="https://github.com/PyCQA/isort/commit/037c2b210d65e1702cdaff872ab5ca2db44fc12c"><code>037c2b2</code></a>
Add changelog entries for last releases</li>
<li><a
href="https://github.com/PyCQA/isort/commit/727d119442a3cc9c4184e45e14c74759b811cdb8"><code>727d119</code></a>
Name the predicate and drive the prefix test off STRING_PREFIXES</li>
<li><a
href="https://github.com/PyCQA/isort/commit/dec76bce8e1075cb1263fe7fafeb0c512c38126d"><code>dec76bc</code></a>
Fix multiline docstring style</li>
<li><a
href="https://github.com/PyCQA/isort/commit/cb179db220f169e0fe8b73ec977b7d4a06566969"><code>cb179db</code></a>
Keep add_imports below a prefixed module docstring</li>
<li><a
href="https://github.com/PyCQA/isort/commit/7542f761c021e5737a171cf50780a7fe4c9116f3"><code>7542f76</code></a>
test: distinguish pylint disable-next comments</li>
<li><a
href="https://github.com/PyCQA/isort/commit/9f567676d3c67d4a17db90dbf65ccf317f886983"><code>9f56767</code></a>
Fix pylint disable-next comments at top of imports</li>
<li><a
href="https://github.com/PyCQA/isort/commit/0cba6f6111a07cc05b167008dda0727ecca907c5"><code>0cba6f6</code></a>
Delete .cruft.json</li>
<li>Additional commits viewable in <a
href="https://github.com/PyCQA/isort/compare/8.0.1...9.0.1">compare
view</a></li>
</ul>
</details>
<br />1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments