https://pantsbuild.org/ logo
#general
Title
# general
r

rhythmic-battery-45198

04/06/2022, 7:07 PM
Hey all - question with respect to 2.11 pex generated lockfiles. We are using a custom repo to include a couple of pre-built wheels
Copy code
[python-repos]
repos = ["%(buildroot)s/3rdparty/python/wheel"]
The pex-generated lockfile uses absolute paths for these requirements.
Copy code
"artifacts": [
            {
              "algorithm": "sha256",
              "hash": "4f466cac7573b22e49df3749c5a49bdd58e840b18a1c02e3311d0c7561d28216",
              "url": "file:///home/dave/<omitted>/3rdparty/python/wheel/PyFMI-2.8.2-cp38-cp38-linux_x86_64.whl"
            }
          ],
This obviously causes errors once the lockfile is used on another machine. Any advice on how to handle this case?
1
5 Views