wooden-thailand-8386
08/31/2020, 6:55 PMpants
inside an alpine docker image and I keep getting this:
ERROR: No matching distribution found for pantsbuild.pants==1.30.0
when I do a pip install pantsbuild.pants==1.30.0
on my host machine is works fine but not inside alpine.hundreds-father-404
08/31/2020, 7:06 PMwooden-thailand-8386
08/31/2020, 7:07 PMhundreds-father-404
08/31/2020, 7:15 PMpip3.7 install
wooden-thailand-8386
08/31/2020, 7:22 PMERROR: Could not find a version that satisfies the requirement pantsbuild.pants==1.30.0 (from versions: 0.0.17, 0.0.18, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.27, 0.0.28, 0.0.29, 0.0.30, 0.0.31, 0.0.32, 0.0.33, 0.0.34, 0.0.35, 0.0.36, 0.0.37, 0.0.38, 0.0.39, 0.0.40, 0.0.41, 0.0.42, 0.0.43, 0.0.44, 0.0.45, 0.0.46, 0.0.47, 0.0.48, 0.0.49, 0.0.50, 0.0.51, 0.0.52, 0.0.53, 0.0.54, 0.0.55, 0.0.56, 0.0.57, 0.0.58, 0.0.59, 0.0.60, 0.0.61, 0.0.62, 0.0.63, 0.0.64, 0.0.65, 0.0.66, 0.0.67, 0.0.68, 0.0.69, 0.0.70, 0.0.71, 0.0.72, 0.0.73, 0.0.74, 0.0.75, 0.0.76, 0.0.77, 0.0.79, 0.0.80, 0.0.81, 0.0.82, 1.0.0rc1, 1.0.0rc2, 1.0.0rc3, 1.0.0, 1.0.1rc0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0rc3, 1.1.0rc4, 1.1.0rc5, 1.1.0rc6, 1.1.0rc7, 1.1.0rc8, 1.1.0rc9, 1.1.0, 1.2.0.dev0, 1.2.0.dev1, 1.2.0.dev2, 1.2.0.dev3, 1.2.0.dev4, 1.2.0.dev5, 1.2.0.dev6, 1.2.0.dev8, 1.2.0.dev9, 1.2.0.dev10, 1.2.0.dev11, 1.2.0.dev12, 1.2.0rc0, 1.2.0rc1, 1.2.0rc2, 1.2.0rc3, 1.2.0rc4, 1.2.0, 1.2.1rc0, 1.2.1, 1.3.0.dev0, 1.3.0.dev1, 1.3.0.dev2, 1.3.0.dev3, 1.3.0.dev4, 1.3.0.dev5, 1.3.0.dev6, 1.3.0.dev7, 1.3.0.dev8, 1.3.0.dev9, 1.3.0.dev10, 1.3.0.dev11, 1.3.0.dev12, 1.3.0.dev13, 1.3.0.dev14, 1.3.0.dev15, 1.3.0.dev16, 1.3.0.dev17, 1.3.0.dev18, 1.3.0.dev19, 1.3.0rc0, 1.3.0rc1, 1.3.0rc2, 1.3.0rc3, 1.3.0rc4, 1.3.0, 1.3.1rc0, 1.3.1rc1, 1.3.1rc2, 1.4.0.dev0, 1.4.0.dev1, 1.4.0.dev3, 1.4.0.dev4, 1.4.0.dev5, 1.4.0.dev6, 1.4.0.dev7, 1.4.0.dev8, 1.4.0.dev9, 1.4.0.dev10, 1.4.0.dev11, 1.4.0.dev13, 1.4.0.dev14, 1.4.0.dev15, 1.4.0.dev16, 1.4.0.dev17, 1.4.0.dev18, 1.4.0.dev19, 1.4.0.dev20, 1.4.0.dev22, 1.4.0.dev23, 1.4.0.dev24, 1.4.0.dev25, 1.4.0.dev26, 1.4.0.dev27, 1.4.0rc0, 1.4.0rc1, 1.4.0rc2, 1.4.0rc3, 1.4.0rc4, 1.4.0rc5, 1.4.0, 1.5.0.dev0, 1.5.0.dev1, 1.5.0.dev2, 1.5.0.dev3, 1.5.0.dev4, 1.5.0.dev5, 1.5.0rc0, 1.5.0rc1, 1.5.0, 1.5.1rc0, 1.5.1rc1, 1.5.1rc2, 1.6.0.dev0, 1.6.0.dev1, 1.6.0.dev2, 1.6.0rc0, 1.6.0rc1, 1.6.0rc2, 1.6.0rc3, 1.6.0, 1.7.0.dev0, 1.7.0.dev1, 1.7.0.dev2, 1.7.0rc0, 1.7.0rc1, 1.7.0, 1.8.0.dev0, 1.8.0.dev1, 1.8.0.dev2)
ERROR: No matching distribution found for pantsbuild.pants==1.30.0
wooden-thailand-8386
08/31/2020, 7:27 PMmanylinux
is incompatible with alpine-based images 😕hundreds-father-404
08/31/2020, 7:27 PMenough-analyst-54434
08/31/2020, 7:30 PMwooden-thailand-8386
08/31/2020, 7:31 PMwooden-thailand-8386
08/31/2020, 7:32 PMfast-nail-55400
08/31/2020, 7:34 PMwooden-thailand-8386
08/31/2020, 7:35 PMslim
but I work for a bank with lots of enough-analyst-54434
08/31/2020, 7:37 PMSo is it possible for me to build my .pex under a debian distro and run them inside an alpine-based one?No. As far as I can tell, there are at least two problems to overcome: 1. There is no standard way to indicate a platform specific wheel was built for lib MUSL vs glibc - this is a wheel naming issue, which affects runtime resolution from within a PEX file of the correct wheels to activate. 2. #1 means there is also no way to tell the Pex CLI which --platform (Alpine) to resolve pre-built wheels for.
enough-analyst-54434
08/31/2020, 7:41 PMenough-analyst-54434
08/31/2020, 7:48 PMx86_64-unknown-linux-musl
targeted binary.happy-kitchen-89482
09/01/2020, 5:08 PMhappy-kitchen-89482
09/01/2020, 5:08 PM