I have an error for dependencies `Pants cannot saf...
# general
f
I have an error for dependencies
Pants cannot safely infer a dependency because more than one target owns this module, so it is ambiguous which to use
which is in this case caused by an import to get type hints. how could I fix this?
so far I can't understand yet the suggested solutions like prefixing with
!
r
Are you using resolves?
f
nope
essentially I just have a fastapi app in src/python
pants lint and pants fmt succeed
ok, lockfile generation seems to be successfull too but the errors from pants test still persist
(with resolves)
r
Without having a look at the code, unfortunately I don't have any suggestion.
f
ok, sure - I can set something up tomorrow ... thx so far