early-umbrella-56089
09/21/2023, 10:23 AM[python-repos]
# Absolute path works
# find_links = ["file:///Users/me/workspaces/the_project/3rdparty/python/wheels"]
# Not working either
# find_links = ["file:///%(buildroot)/3rdparty/python/wheels"]
# find_links = ["%(buildroot)/3rdparty/python/wheels"]
find_links = ["file://%(buildroot)/3rdparty/python/wheels"]
path_mappings = ["WHEELS_DIR|%(buildroot)/3rdparty/python/wheels"]
Errors:
Using file://
non-local file URIs are not supported on this platform: 'file://%(buildroot)/3rdparty/python/wheels'
Using file:///
or skipping the file file:///
altogether
Mapped paths must be absolute. Given: %(buildroot)/3rdparty/python/wheels
I’m using lock files. The executed command is pants generate-lockfiles
.
Thanks for any helplively-gpu-26436
09/21/2023, 10:25 AMs
after %(buildroot)
. I have this working on my project:
[python-repos]
find_links = [ "%(buildroot)s/python_wheels" ]
path_mappings = [ "WHEELS_DIR|%(buildroot)s/python_wheels" ]
early-umbrella-56089
09/21/2023, 10:32 AMs
in some iteration, but it somehow got away 🤦lively-gpu-26436
09/21/2023, 10:32 AMearly-umbrella-56089
09/21/2023, 10:52 AM