echoing-farmer-15630
03/08/2022, 1:37 PMlively-exabyte-12840
03/08/2022, 1:57 PMechoing-farmer-15630
03/08/2022, 2:02 PMhundreds-father-404
03/08/2022, 4:55 PMI could not make any meaningful progress on finding a valid platform string. IIRC both PyYAML and MarkupSafe were blockers, and I figure many more blockers are awaiting if I get past thoseDo you remember the issues? Was it that those requirements don't have wheels available for Linux? Fwit, Pants uses
--platforms
and PyYAML https://github.com/pantsbuild/pants/blob/740c7c77cf8bb075e56645caf7555fbe99a0ed5a/build-support/bin/_release_helper.py#L752-L754echoing-farmer-15630
03/08/2022, 4:59 PMhundreds-father-404
03/08/2022, 4:59 PMwitty-crayon-22786
03/08/2022, 5:08 PMwitty-crayon-22786
03/08/2022, 5:09 PMlively-exabyte-12840
03/08/2022, 5:19 PMlively-exabyte-12840
03/08/2022, 7:48 PMpex --platform=linux_x86_64-cp-3.9.9-cp39 Flask==1.1.4
gives me an error of:
Needed cp39-cp39-macosx_11_0_x86_64 compatible dependencies for:
1: MarkupSafe>=0.23
I can't seem to get any version of Flask to work there. If I include e.g. "-o example.pex", the error doesn't show up until I try running that file, at which point I get the same errorlively-exabyte-12840
03/08/2022, 7:49 PMlively-exabyte-12840
03/08/2022, 7:50 PMenough-analyst-54434
03/08/2022, 7:51 PMlively-exabyte-12840
03/08/2022, 7:53 PMenough-analyst-54434
03/08/2022, 7:55 PMpex3 interpreter inspect --markers --tags > platform.data
on the machine you're targeting to generate a complete platform data file. Then, back on your other machine --complete-platform platform.data
enough-analyst-54434
03/08/2022, 7:56 PMpex3 interpreter inspect --python /this/interpreter/here --markers --tags --output platform.data
lively-exabyte-12840
03/08/2022, 8:00 PMenough-analyst-54434
03/08/2022, 8:01 PM--find-links
or else go down your Docker route.lively-exabyte-12840
03/08/2022, 8:12 PMlively-exabyte-12840
03/08/2022, 8:42 PMenough-analyst-54434
03/08/2022, 8:44 PMhundreds-father-404
03/08/2022, 8:44 PMenough-analyst-54434
03/08/2022, 8:46 PMenough-analyst-54434
03/08/2022, 8:47 PMechoing-farmer-15630
03/09/2022, 9:42 PM