lance icon indicating copy to clipboard operation
lance copied to clipboard

pylance fails to find the right distro in linux based containers

Open jaichopra opened this issue 3 years ago • 3 comments

When installing pylance via pypi it will fail to find the latest version. Tested using ubuntu lts and amazon linux base containers.

using aws base:

#10 sha256:07418585b03dfe205e3ed17da3c586546d7f6e0f0a4ce1d5a3d6e123c254c2a4
#10 0.534 ERROR: Could not find a version that satisfies the requirement pylance (from versions: 0.0.2)
#10 0.534 ERROR: No matching distribution found for pylance
#10 ERROR: executor failed running [/bin/sh -c pip3 install --no-cache-dir -U pylance]: exit code: 1
------
 > [7/8] RUN pip3 install --no-cache-dir -U pylance:
------
executor failed running [/bin/sh -c pip3 install --no-cache-dir -U pylance]: exit code: 1

linux, glib, python versions on this container:
#5 [2/8] RUN cat /etc/os-release
#5 sha256:775f9071f8ebe61b2297e55d88acca50f75fab3e666bb9004e4d67cbf75de28e
#5 0.183 NAME="Amazon Linux"
#5 0.183 VERSION="2"
#5 0.183 ID="amzn"
#5 0.183 ID_LIKE="centos rhel fedora"
#5 0.183 VERSION_ID="2"
#5 0.183 PRETTY_NAME="Amazon Linux 2"
#5 0.183 ANSI_COLOR="0;33"
#5 0.183 CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
#5 0.183 HOME_URL="https://amazonlinux.com/"
#5 0.183 VARIANT_ID="202303150726-2.0.1053.0"
#5 DONE 0.2s

#6 [3/8] RUN uname -r
#6 sha256:75499dac02614802b92d97e9df3186bd5827ea16a2f386bb65e0440a25d4a249
#6 0.299 5.15.49-linuxkit
#6 DONE 0.3s

#7 [4/8] RUN python --version
#7 sha256:fcc18faef1eef09c19f0daeb94d5e555bcef9ae3db9b00fde28ce29926b3af2d
#7 0.191 Python 3.10.9
#7 DONE 0.2s

#8 [5/8] RUN ldd --version
#8 sha256:b10bc9f604e0e65cdc6ae5e1e028ee780d8fbefe427c72a2931c4c2853c9e4bd
#8 0.115 ldd (GNU libc) 2.26
#8 0.115 Copyright (C) 2017 Free Software Foundation, Inc.
#8 0.115 This is free software; see the source for copying conditions.  There is NO
#8 0.115 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#8 0.115 Written by Roland McGrath and Ulrich Drepper.
#8 DONE 0.1s

jaichopra avatar Apr 07 '23 17:04 jaichopra

is the host system arm64? we only publish linux x86 wheels right now

changhiskhan avatar Apr 07 '23 17:04 changhiskhan

Host is arm64 yep.

jaichopra avatar Apr 08 '23 17:04 jaichopra

Close it because we dont have a ARM64 linux release yet. Can create a new release issue later.

eddyxu avatar Apr 13 '23 04:04 eddyxu