Skip to content

Fix test_importable for local dev - #2635

Merged
DanielNoord merged 1 commit into
PyCQA:mainfrom
DanielNoord:agents/fix-testimportable-failure
Aug 18, 2026
Merged

DanielNoord merged 1 commit into
PyCQA:mainfrom
DanielNoord:agents/fix-testimportable-failure

Conversation

@DanielNoord

Copy link
Copy Markdown
Member

Agents kept getting confused from this.

@DanielNoord
DanielNoord enabled auto-merge August 18, 2026 19:13
@codecov

codecov Bot commented Aug 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.36%. Comparing base (365c370) to head (904c47e).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2635      +/-   ##
==========================================
- Coverage   99.39%   99.36%   -0.04%     
==========================================
  Files          41       41              
  Lines        3163     3165       +2     
  Branches      682      682              
==========================================
+ Hits         3144     3145       +1     
- Misses         11       12       +1     
  Partials        8        8              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DanielNoord
DanielNoord disabled auto-merge August 18, 2026 19:19
@DanielNoord
DanielNoord merged commit c4ab2e9 into PyCQA:main Aug 18, 2026
44 of 48 checks passed
@DanielNoord
DanielNoord deleted the agents/fix-testimportable-failure branch August 18, 2026 19:19
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Aug 30, 2026
### 9.0.0 August 26 2026

   - Remove logic for deprecated options (#2498) @DanielNoord
   - Sort lazy import statements (#2503) @DanielNoord
   - Add initial support for Python 3.15 (#2466) @DanielNoord
   - Compile with `mypyc` by @DanielNoord in PyCQA/isort#2586
   - Cache calls to `posixpath.abspath` by @DanielNoord in PyCQA/isort#2606
   - Consider private `stdlib` modules to be `stdlib` (#2295) @devdanzin
   - Add CLI Flag for --forced-separate (PyCQA/isort#2367) @hirak99
   - Add separate_packages option (#2313) @alex-liang3
   - Fix inline comment duplication across merged `from X import` lines (#2499) @copilot-swe-agent
   - Fix src glob patterns passed via CLI (#2497) @ReinerBRO
   - Fix opening-line comment moving to alias attribute line on wrapped imports (#2491) @copilot-swe-agent
   - Fix multi_line_output=3/5 ignored when wrapping single imports with inline comments (#2474) @copilot-swe-agent
   - Fix false positive in `check_code` when using `float_to_top` + `add_imports` (#2492) @copilot-swe-agent
   - Fix: preserve bare `#` inline comments on imports (#2488) @copilot-swe-agent
   - Fix grouping of non-aliased imports when mixed with aliased imports from the same module (#2470) @copilot-swe-agent
   - Fix PyCQA/isort#2500: trusted publishing by @staticdev in PyCQA/isort#2521
   - Fix git_hook lazy=True option by @sparrowt in PyCQA/isort#2542
   - Honor `# isort: off/on/split` during `float_to_top` preprocessing with CRLF input by @DanielNoord with @Copilot in PyCQA/isort#2553
   - Fix --sort-reexports crash with non-seekable streams (e.g. stdin) by @Abdu-Ahmed in PyCQA/isort#2547
   - Fix non-idempotent output with split_on_trailing_comma and a non-default wrap mode by @sarathfrancis90 in PyCQA/isort#2554
   - Fix non-idempotent NOQA wrap mode with imports that carry their own comment by @sarathfrancis90 in PyCQA/isort#2556
   - Fix NOQA wrap mode accumulating spaces before the comment on each run by @sarathfrancis90 in PyCQA/isort#2558
   - Fix NOQA not added to long imports in several output paths by @urayoru113 in PyCQA/isort#2568
   - Honor `# isort: skip` when a `__future__` import is present (#2092) by @apoorvdarshan in PyCQA/isort#2574
   - fix: make sorted `__all__` and literals black-compatible (#2280) by @lord-haffi in PyCQA/isort#2576
   - Honor skip comments when sorting reexports by @sakshichitnis27 in PyCQA/isort#2581
   - Keep aliased import when the plain name carries a comment by @sarathfrancis90 in PyCQA/isort#2567
   - fix: don't crash on --config-root without --resolve-all-configs by @Gooh456 in PyCQA/isort#2597
   - fix: check_code misses lines_before_imports-only changes (#2242) by @gaoflow in PyCQA/isort#2563
   - Fix preservation of form-feed blank lines by @utkarshalpha in PyCQA/isort#2599
   - Small clean up and fix inconsistency in handling of `*` imports by @DanielNoord in PyCQA/isort#2619
   - Fix word-wrapping of 'from ... import *' into invalid Python (#2267) by @sudorm-rf0 in PyCQA/isort#2624
   - Fix pylint disable-next comments at the start of imports by @Neallin-917 in PyCQA/isort#2628
   - Keep add_imports below a prefixed module docstring by @Eljees in PyCQA/isort#2626
   - Add read the docs configuration (#2504) @DanielNoord
   - Remove unused and broken dependencies (#2517) @DanielNoord
   - Remove `Any` from `parse.py` (#2516) @DanielNoord
   - Bring documentation in line with old documentation (#2507) @DanielNoord
   - Sync profile docs with implementation (#2495) @copilot-swe-agent
   - Fix the playground (#2494) @DanielNoord7) @hirak99
   - Remove unused _ENCODING_PATTERN regex and re import by @duriantaco in PyCQA/isort#2525
   - Remove references to defunct `git_ignore` config by @sparrowt in PyCQA/isort#2531
   - Fix broken relative links in README and CHANGELOG for both GitHub and Sphinx by @rohitshinde08 in PyCQA/isort#2530
   - Bump vendored `tomli` by @DanielNoord in PyCQA/isort#2579
   - Document temporary .isorted files by @sapunyangkut in PyCQA/isort#2580
   - Remove `cruft` by @DanielNoord in PyCQA/isort#2610
   - Small fixes in preparation for `mypyc` compiled wheels by @DanielNoord in PyCQA/isort#2623
   - Small fixes in preparation for compiling with `mypyc` by @DanielNoord in PyCQA/isort#2625
   - Fix `test_importable` for local dev by @DanielNoord in PyCQA/isort#2635
tsutsui pushed a commit to tsutsui/pkgsrc that referenced this pull request Oct 17, 2026
### 9.0.0 August 26 2026

   - Remove logic for deprecated options (#2498) @DanielNoord
   - Sort lazy import statements (#2503) @DanielNoord
   - Add initial support for Python 3.15 (#2466) @DanielNoord
   - Compile with `mypyc` by @DanielNoord in PyCQA/isort#2586
   - Cache calls to `posixpath.abspath` by @DanielNoord in PyCQA/isort#2606
   - Consider private `stdlib` modules to be `stdlib` (#2295) @devdanzin
   - Add CLI Flag for --forced-separate (PyCQA/isort#2367) @hirak99
   - Add separate_packages option (#2313) @alex-liang3
   - Fix inline comment duplication across merged `from X import` lines (#2499) @copilot-swe-agent
   - Fix src glob patterns passed via CLI (#2497) @ReinerBRO
   - Fix opening-line comment moving to alias attribute line on wrapped imports (#2491) @copilot-swe-agent
   - Fix multi_line_output=3/5 ignored when wrapping single imports with inline comments (#2474) @copilot-swe-agent
   - Fix false positive in `check_code` when using `float_to_top` + `add_imports` (#2492) @copilot-swe-agent
   - Fix: preserve bare `#` inline comments on imports (#2488) @copilot-swe-agent
   - Fix grouping of non-aliased imports when mixed with aliased imports from the same module (#2470) @copilot-swe-agent
   - Fix PyCQA/isort#2500: trusted publishing by @staticdev in PyCQA/isort#2521
   - Fix git_hook lazy=True option by @sparrowt in PyCQA/isort#2542
   - Honor `# isort: off/on/split` during `float_to_top` preprocessing with CRLF input by @DanielNoord with @Copilot in PyCQA/isort#2553
   - Fix --sort-reexports crash with non-seekable streams (e.g. stdin) by @Abdu-Ahmed in PyCQA/isort#2547
   - Fix non-idempotent output with split_on_trailing_comma and a non-default wrap mode by @sarathfrancis90 in PyCQA/isort#2554
   - Fix non-idempotent NOQA wrap mode with imports that carry their own comment by @sarathfrancis90 in PyCQA/isort#2556
   - Fix NOQA wrap mode accumulating spaces before the comment on each run by @sarathfrancis90 in PyCQA/isort#2558
   - Fix NOQA not added to long imports in several output paths by @urayoru113 in PyCQA/isort#2568
   - Honor `# isort: skip` when a `__future__` import is present (#2092) by @apoorvdarshan in PyCQA/isort#2574
   - fix: make sorted `__all__` and literals black-compatible (#2280) by @lord-haffi in PyCQA/isort#2576
   - Honor skip comments when sorting reexports by @sakshichitnis27 in PyCQA/isort#2581
   - Keep aliased import when the plain name carries a comment by @sarathfrancis90 in PyCQA/isort#2567
   - fix: don't crash on --config-root without --resolve-all-configs by @Gooh456 in PyCQA/isort#2597
   - fix: check_code misses lines_before_imports-only changes (#2242) by @gaoflow in PyCQA/isort#2563
   - Fix preservation of form-feed blank lines by @utkarshalpha in PyCQA/isort#2599
   - Small clean up and fix inconsistency in handling of `*` imports by @DanielNoord in PyCQA/isort#2619
   - Fix word-wrapping of 'from ... import *' into invalid Python (#2267) by @sudorm-rf0 in PyCQA/isort#2624
   - Fix pylint disable-next comments at the start of imports by @Neallin-917 in PyCQA/isort#2628
   - Keep add_imports below a prefixed module docstring by @Eljees in PyCQA/isort#2626
   - Add read the docs configuration (#2504) @DanielNoord
   - Remove unused and broken dependencies (#2517) @DanielNoord
   - Remove `Any` from `parse.py` (#2516) @DanielNoord
   - Bring documentation in line with old documentation (#2507) @DanielNoord
   - Sync profile docs with implementation (#2495) @copilot-swe-agent
   - Fix the playground (#2494) @DanielNoord7) @hirak99
   - Remove unused _ENCODING_PATTERN regex and re import by @duriantaco in PyCQA/isort#2525
   - Remove references to defunct `git_ignore` config by @sparrowt in PyCQA/isort#2531
   - Fix broken relative links in README and CHANGELOG for both GitHub and Sphinx by @rohitshinde08 in PyCQA/isort#2530
   - Bump vendored `tomli` by @DanielNoord in PyCQA/isort#2579
   - Document temporary .isorted files by @sapunyangkut in PyCQA/isort#2580
   - Remove `cruft` by @DanielNoord in PyCQA/isort#2610
   - Small fixes in preparation for `mypyc` compiled wheels by @DanielNoord in PyCQA/isort#2623
   - Small fixes in preparation for compiling with `mypyc` by @DanielNoord in PyCQA/isort#2625
   - Fix `test_importable` for local dev by @DanielNoord in PyCQA/isort#2635
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant