rapid-crayon-8232
02/17/2020, 3:21 PMrapid-crayon-8232
02/17/2020, 3:27 PMrequests==2.22.0
rapid-crayon-8232
02/17/2020, 3:35 PMFailed to execute PEX file, missing macosx_10_15_x86_64-cp-37-cp37m compatible dependencies for:
idna
requests
rapid-crayon-8232
02/17/2020, 4:14 PMidna>2.x
• pip install idna==2.9, that was released 8 hours ago
• requests fails because it needs idna<2.9,>=2.5
happy-kitchen-89482
02/18/2020, 4:37 AMhappy-kitchen-89482
02/18/2020, 4:38 AMhappy-kitchen-89482
02/18/2020, 4:38 AMrapid-crayon-8232
02/18/2020, 11:02 AMhappy-kitchen-89482
02/18/2020, 11:12 AMrapid-crayon-8232
02/18/2020, 11:13 AMA proper dependency resolver-as-a-service (as a Toolchain product)isn't pip working on the same thing this year? I saw something pass on twitter some time ago.
happy-kitchen-89482
02/18/2020, 11:14 AM3rdparty:idna
(or whatever) wherever you have a dep on requestshappy-kitchen-89482
02/18/2020, 11:14 AMhappy-kitchen-89482
02/18/2020, 11:14 AMhappy-kitchen-89482
02/18/2020, 11:16 AMhappy-kitchen-89482
02/18/2020, 11:17 AMhappy-kitchen-89482
02/18/2020, 11:18 AMrapid-crayon-8232
02/18/2020, 11:18 AMhappy-kitchen-89482
02/18/2020, 11:18 AM3rdparty:idna
?happy-kitchen-89482
02/18/2020, 11:19 AMrapid-crayon-8232
02/18/2020, 11:21 AMrapid-crayon-8232
02/18/2020, 11:23 AMOur algorithm (which already exists, it's just not finished integrating into a Pants workflow)...nice adding it to my pants wishlist: 1- pex v2 in pants 2- lockfiles 3- dep resolver
happy-kitchen-89482
02/18/2020, 6:08 PMhappy-kitchen-89482
02/18/2020, 6:09 PMhappy-kitchen-89482
02/18/2020, 6:10 PMrequirements.txt
along side a python_requirements()
stanza in a BUILD file?rapid-crayon-8232
02/18/2020, 6:11 PMpython_requirement_library(
name='requests',
dependencies=[
':idna',
],
requirements=[
python_requirement(name='requests',
requirement='requests'),
])
happy-kitchen-89482
02/18/2020, 6:11 PMhappy-kitchen-89482
02/18/2020, 6:12 PMpython_requirements()
is just a macro that expands to a bunch of python_requirement_library
targetshappy-kitchen-89482
02/18/2020, 6:12 PMhappy-kitchen-89482
02/18/2020, 6:12 PM