Hi folks. I've got one (maybe?) final question abo...
# general
f
Hi folks. I've got one (maybe?) final question about using
pants package
. I'm building Python PEX apps, but for one of our target systems I need to use a custom wheel (I think because the OpenSSL version on the system is really frickin' ancient but that's by-the-by). I've set up a wheels directory and added this to my pants.toml:
Copy code
[python-repos]
find_links = ['file://%(buildroot)s/wheels']
path_mappings = ['WHEELS_DIR|%(buildroot)s/wheels']
Which all works perfectly fine when I use
pants package
on my Mac. But when it runs on GitHub actions (Ubuntu), it seems to create a package without using the custom wheel I've supplied. I'm guessing the reason is that because Pants detects it's running on Linux, it thinks "aha, I can compile this myself, no need for that wheel file". Can I somehow force Pants to prefer my supplied wheel rather than compiling its own?