Jason R. Coombs

Results 1062 comments of Jason R. Coombs

I've confirmed that `module_name` is `distutils.conftest`, so it is the upwards traversal that's leading to an attempt to `import distutils.conftest`, which picks up distutils from stdlib and then fails to...

Alright. I think I've distilled the issue. Starting from this near-minimal repro: ``` distutils @ tree . ├── conftest.py └── distutils ├── __init__.py ├── tests │ ├── __init__.py │ └──...

Of course, setting `consider_namespace_packages=false` bypasses the issue, and that could work for distutils in this particular case, but that approach is inadequate in general (consider if `distutils` was itself a...

By the way, `xpip` to self xonsh update won't work on Windows ([error](https://gist.github.com/jaraco/1d572df5c32d59e0242b97c8b6c46400)) because you can't overwrite an executable that's in use.

I installed the branch on my Windows ARM host and it seems to be running great. I can't test on WSL2 (due to virtualization limitations) and performance has been adequate...

> There is no changes in commands_cache logic. Could you please confirm that you see decreased amount of files and this is after installation this PR. If it's right it's...

Looking at the latest xonsh 0.17, I'm encountering issues with tab completion of these raw strings. Attempting to `cd` to `/Program Files (Arm)`, I type `cd /Prog` and hit tab...

> I'm interesting is it possible to use `/` instead of `\` in Windows paths e.g. return`d:/path/to/dir/` in completer? Does this have negative consequences? According to [this resource](https://retrocomputing.stackexchange.com/a/28348), Windows has...

Starting the latest xonsh (0.18.3), I see even more warnings: ``` C:\Users\jaraco\AppData\Local\pipx\pipx\venvs\xonsh\Lib\site-packages\xonsh\parsers\base.py:741: DeprecationWarning: Expression.__init__ got an unexpected keyword argument 'lineno'. Support for arbitrary keyword arguments is deprecated and will be...

In a conversation with the Ruff team, they've indicated a desire to handle this situation more robustly, so there may be nothing for pytest-ruff to do here.