https://pantsbuild.org/ logo
h

high-magician-46188

01/19/2023, 9:54 PM
Hello, good people! I'm trying to mark a dependency on a package that is merely installed but doesn't need to be imported directly. Specifically, I refer to snowflake-sqlalchemy. I'm trying to figure out what the
3rdparty/python
part of the documentation is referring to. In my case, the lockfile and the reqs file are in the root of the repo, what does the path need to be in that case?
๐Ÿ’š 1
โœ… 1
๐Ÿงต
s

sparse-lifeguard-95737

01/19/2023, 9:55 PM
something like:
Copy code
//:name-of-your-python-requirements-target#snowflake-sqlalchemy
w

witty-crayon-22786

01/19/2023, 9:55 PM
run
./pants list :
to see which targets are defined at the root of the repo
h

high-magician-46188

01/19/2023, 9:57 PM
That worked, thanks! (it's
"//:root#snowflake-sqlalchemy"
in my case) ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰
6 Views