Skip to content

fix: remove usage of isolated_filesystem - #18

Draft
phalberg wants to merge 3 commits into
mainfrom
fix/remove_isolated_filesystem_usage
Draft

fix: remove usage of isolated_filesystem#18
phalberg wants to merge 3 commits into
mainfrom
fix/remove_isolated_filesystem_usage

Conversation

@phalberg

@phalberg phalberg commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Solution

Use tmp_path instead of isolated_filesystem, why? There are some wierd behavior with isolated_filesystem, as per pallets/click#3704, they moved away from it in Click, also in Typer.

  • Some refactoring into the conftest.py needs to be done
  • Also moving away from isolated_filesystem()

Issue

Related issue #15

@phalberg phalberg self-assigned this Aug 9, 2026
@phalberg phalberg added refactor Change or improve code quality test Adjust [refactor, add, delete] tests labels Aug 9, 2026
@codecov

codecov Bot commented Aug 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@phalberg

Copy link
Copy Markdown
Owner Author

Looks like we might have to change to use subprocess from python, such that we isolate and do not use our cwd and have issues with modifying that, since that can happen. It also looks like subprocess does not have the same issues that isolated_filesystem has - which is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Change or improve code quality test Adjust [refactor, add, delete] tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant