Skip to content

Commit 567ce30

Browse files
committed
debug: Update pipenv installation to ensure GLIBC compatibility
1 parent 0f4596a commit 567ce30

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/packaging/project/install_deps.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ function install_deps_el9() {
236236
asdf set python 3.10.18
237237
echo "python 3.10.18" > /.tool-versions
238238
echo "python 3.10.18" > /root/.tool-versions
239-
asdf exec python -m pip install --break-system-packages pipenv
239+
echo "=== Installing pipenv with GLIBC compatibility ==="
240+
# Force compilation from source for cryptography to avoid GLIBC issues
241+
asdf exec python -m pip install --break-system-packages --no-binary=cryptography,cffi pipenv
240242
install /root/.asdf/installs/python/3.10.18/bin/python /usr/bin/python
241243
install /root/.asdf/installs/python/3.10.18/bin/python /usr/bin/python3
242244
install /root/.asdf/installs/python/3.10.18/bin/pipenv /usr/bin/pipenv
@@ -293,7 +295,9 @@ function install_deps_amzn2023() {
293295
asdf set python 3.10.18
294296
echo "python 3.10.18" > /.tool-versions
295297
echo "python 3.10.18" > /root/.tool-versions
296-
asdf exec python -m pip install --break-system-packages pipenv
298+
echo "=== Installing pipenv with GLIBC compatibility ==="
299+
# Force compilation from source for cryptography to avoid GLIBC issues
300+
asdf exec python -m pip install --break-system-packages --no-binary=cryptography,cffi pipenv
297301
install /root/.asdf/installs/python/3.10.18/bin/python /usr/bin/python
298302
install /root/.asdf/installs/python/3.10.18/bin/python /usr/bin/python3
299303
install /root/.asdf/installs/python/3.10.18/bin/pipenv /usr/bin/pipenv

0 commit comments

Comments
 (0)