Skip to content

Commit

Permalink
chore: attempt to unpin dyld-library-path for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Apr 27, 2024
1 parent 01180cb commit 4ac2fc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install openssl libssh2
brew info libssh2
- name: setup test env
run: |
python -m pip install --upgrade pip
Expand All @@ -83,5 +84,5 @@ jobs:
# from the temp dir that pip used for installs. setting the DYLD_LIBRARY_PATH envvar seems to solve this even
# if it feels horribly hacky. afaik, this is ignored on linux, so it will only matter on the macos builds
# https://stackoverflow.com/questions/71356491/python3-on-mac-having-trouble-loading-libssh2
run: TERM=xterm DYLD_LIBRARY_PATH=/usr/local/lib python -m nox -p $FRIENDLY_PYTHON_VERSION -k "not darglint"
run: TERM=xterm DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/libssh2/1.10.0/lib python -m nox -p $FRIENDLY_PYTHON_VERSION -k "not darglint"

0 comments on commit 4ac2fc3

Please sign in to comment.