redis-om-python icon indicating copy to clipboard operation
redis-om-python copied to clipboard

redis-om installs `tests` package which overrides local `tests` folder imports

Open JordanZimmitti opened this issue 2 years ago • 0 comments

Hi,

I installed redis-om="^0.1.2" using Poetry and noticed that all my unit tests began failing. This is because redis-om installs an external dependency called tests which is the same name as the testing folder in my project. Because of this all of my project test imports fail to resolve. Having a folder called tests is a common practice found in many Python projects and I'm probably not the only one who is suffering from this side effect. Is there any way that the tests external dependency can be removed when installing redis-om?

Thanks!

JordanZimmitti avatar Apr 17 '23 01:04 JordanZimmitti