Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CircleCI shared lib issue with pypy 3.9 & 3.10 #726

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ commands:
apt-get update && apt-get install -y python3 python3-distutils curl
pip install -U pip virtualenv
pip install tox

# All of a sudden, the venv generated by Poetry
# installations for pypy 3.9 and 3.10 (but not 3.8),
# located at /root/.local, lacks all the lib*.so
# dependencies from the original pypy environment. To
# address this issue, we ensure these libraries are
# explicitly accessible in the LD_LIBRARY_PATH until a
# resolution is implemented.
mkdir -p /root/.local/lib
ln -s /opt/pypy/lib/lib*.so.* /root/.local/lib
export LD_LIBRARY_PATH="/root/.local/lib:$LD_LIBRARY_PATH"
echo 'export LD_LIBRARY_PATH="/root/.local/lib:$LD_LIBRARY_PATH"' >> $BASH_ENV

curl -sSL https://install.python-poetry.org | python3 -
echo 'export PATH="/root/.local/bin:$PATH"' >> $BASH_ENV
- run:
Expand Down Expand Up @@ -68,4 +81,4 @@ workflows:
jobs:
- test-pypy-38
- test-pypy-39
- test-pypy-310
- test-pypy-310
Loading