PyCQA / isort

A Python utility / library to sort imports.
https://pycqa.github.io/isort/
MIT License
6.53k stars 583 forks source link

New Yarg dependency adds `site-packages/tests` directory #2209

Closed whoffler closed 11 months ago

whoffler commented 11 months ago

new version 1.5.3 installs yarg package as dependency

yarg package adds site-packages/tests directory when installed

Attempts to import from our own projects tests directory fail as the python interpreter tries to import from site-packages/tests instead

we have pinned to version 1.5.2

miketheman commented 11 months ago

Duplicate of https://github.com/PyCQA/isort/issues/2206

staticdev commented 11 months ago

Could you please check @whoffler if it happens on 5.13.2?

staticdev commented 11 months ago

Ok I will consider this closed then, if it continues please reopen.

whoffler commented 11 months ago

Could you please check @whoffler if it happens on 5.13.2?

Not seeing issue anymore. Thanks