bitter-ability-32190
12/07/2022, 1:53 AMpex lock create something halfway between --style universal and (no args) where we are multi-platform for a select few platforms.
Passing an assortment of --platform manylinuxXXX-cp-38-cp38 gets me going until it hits timeout-decorator~=0.4 which is only sdist.
ERROR: Could not find a version that satisfies the requirement timeout-decorator~=0.4
ERROR: No matching distribution found for timeout-decorator~=0.4enough-analyst-54434
12/07/2022, 2:28 AMenough-analyst-54434
12/07/2022, 2:29 AMbitter-ability-32190
12/07/2022, 2:29 AMenough-analyst-54434
12/07/2022, 2:29 AMenough-analyst-54434
12/07/2022, 2:30 AMenough-analyst-54434
12/07/2022, 2:30 AM--platform X --platform Y --style sources no good?enough-analyst-54434
12/07/2022, 2:31 AMenough-analyst-54434
12/07/2022, 2:33 AM--complete-platform x N --style sourcesbitter-ability-32190
12/07/2022, 2:33 AM--style sources The way I read the help from PEX made it seem that strict would include sdists if thats all that existedenough-analyst-54434
12/07/2022, 2:33 AMenough-analyst-54434
12/07/2022, 2:34 AMenough-analyst-54434
12/07/2022, 2:34 AMbitter-ability-32190
12/07/2022, 2:35 AMenough-analyst-54434
12/07/2022, 2:35 AMenough-analyst-54434
12/07/2022, 2:35 AMenough-analyst-54434
12/07/2022, 2:35 AM--style sourcesbitter-ability-32190
12/07/2022, 2:35 AM--style sources I'm seeing the same errorbitter-ability-32190
12/07/2022, 2:36 AMenough-analyst-54434
12/07/2022, 2:36 AMenough-analyst-54434
12/07/2022, 2:36 AMbitter-ability-32190
12/07/2022, 2:41 AMpex3 lock create --style sources --platform manylinux_2_31_x86_64-cp-38-cp38 timeout-decorator~=0.4bitter-ability-32190
12/07/2022, 2:41 AMenough-analyst-54434
12/07/2022, 2:44 AMenough-analyst-54434
12/07/2022, 2:44 AMenough-analyst-54434
12/07/2022, 2:44 AMenough-analyst-54434
12/07/2022, 2:45 AMbitter-ability-32190
12/07/2022, 2:45 AMenough-analyst-54434
12/07/2022, 2:45 AMbitter-ability-32190
12/07/2022, 2:45 AMenough-analyst-54434
12/07/2022, 2:46 AMenough-analyst-54434
12/07/2022, 2:46 AMenough-analyst-54434
12/07/2022, 2:46 AMbitter-ability-32190
12/07/2022, 2:46 AMbitter-ability-32190
12/07/2022, 2:47 AMenough-analyst-54434
12/07/2022, 2:47 AMenough-analyst-54434
12/07/2022, 2:47 AMenough-analyst-54434
12/07/2022, 2:49 AM--style universal --platform X --platform Y which resolves universal but then fails fast if the lock won't work with all platforms specified.enough-analyst-54434
12/07/2022, 2:49 AMenough-analyst-54434
12/07/2022, 2:50 AMbitter-ability-32190
12/07/2022, 2:40 PMbitter-ability-32190
12/07/2022, 2:41 PMpip-compile and then handing that file to pex lock create. I didn't pass any --style or --platform. I'm guessing that pex saw the `--hash`s and made sure their corresponding artifacts were in the lockfile?bitter-ability-32190
12/07/2022, 2:47 PMenough-analyst-54434
12/07/2022, 4:04 PMenough-analyst-54434
12/07/2022, 4:05 PMenough-analyst-54434
12/07/2022, 4:05 PMbitter-ability-32190
12/07/2022, 4:06 PMpex myself. I was doing it because I couldn't scorched-earth lock.
I plan on continuing to do it because --universal is too hardcore šenough-analyst-54434
12/07/2022, 4:07 PMenough-analyst-54434
12/07/2022, 4:08 PMbitter-ability-32190
12/07/2022, 4:09 PMpip-compile lockfile had several --hash entries for most packages. I suspect what pip-compile is doing is dumping a --hash for every possible download of that package/versionenough-analyst-54434
12/07/2022, 4:09 PMbitter-ability-32190
12/07/2022, 4:10 PMenough-analyst-54434
12/07/2022, 4:10 PMbitter-ability-32190
12/07/2022, 4:11 PMpip-compile doing an "upgrade" in our past script and asking pex lock create to scorch-earthed lock in our newest incantation.
The --universal flag took inordinately long with scorched-earth, so I started steering awayenough-analyst-54434
12/07/2022, 4:12 PMenough-analyst-54434
12/07/2022, 4:12 PMbitter-ability-32190
12/07/2022, 4:14 PMuniversal to ensure everyone is happy, but that takes inordinately long, so --platform seemed to be the next best optionenough-analyst-54434
12/07/2022, 4:15 PMenough-analyst-54434
12/07/2022, 4:18 PMbitter-ability-32190
12/07/2022, 4:18 PMenough-analyst-54434
12/07/2022, 4:19 PMenough-analyst-54434
12/07/2022, 4:19 PMpex3 lock update -p me -p themenough-analyst-54434
12/07/2022, 4:20 PMbitter-ability-32190
12/07/2022, 4:21 PMenough-analyst-54434
12/07/2022, 4:21 PMenough-analyst-54434
12/07/2022, 4:22 PMbitter-ability-32190
12/07/2022, 4:22 PMenough-analyst-54434
12/07/2022, 4:23 PMenough-analyst-54434
12/07/2022, 4:24 PMbitter-ability-32190
12/07/2022, 4:25 PMupdate, but update everything route?enough-analyst-54434
12/07/2022, 4:25 PMenough-analyst-54434
12/07/2022, 4:26 PMenough-analyst-54434
12/07/2022, 4:27 PMbitter-ability-32190
12/07/2022, 4:28 PMpip-in-a-venv? Isn't the resoluton logic "pure" in that once you know whats installed you can figure out the rest?
Or is it that pip is fast at iteravely installing things into the venv and keeping track of whats changed along the way?enough-analyst-54434
12/07/2022, 4:29 PMenough-analyst-54434
12/07/2022, 4:29 PMbitter-ability-32190
12/07/2022, 4:29 PMenough-analyst-54434
12/07/2022, 4:29 PMenough-analyst-54434
12/07/2022, 4:29 PMenough-analyst-54434
12/07/2022, 4:30 PMbitter-ability-32190
12/07/2022, 4:32 PMpip-compile from outside a venv, but I wouldn't be surprised if one is hiding in .cache or something