We received a pre release of one of our dependenci...
# general
h
We received a pre release of one of our dependencies from the vendor in a tar.gz file. How can I use this in my project?
p
h
Thanks - I think I got it. So that "file://path/to/tar/file" entry goes in pants.toml:
[python-repos]
indexes.add = ["<file://path/to/tar/file>"]
Then just a normal entry in requirements.txt that refers to the package in the tar.gz.
p
actually just the path to a directory, pip will figure out the file name based on the package name and the version.
actually this should be the repo setting not indexes.
./pants help-advanced python-repos
h
Thanks for the help - It seems to be working now
❤️ 1