CI: install openssl from conda-forge before gamspy in test-agnostic job#615
Merged
DLWoodruff merged 2 commits intoPyomo:mainfrom Feb 25, 2026
Merged
CI: install openssl from conda-forge before gamspy in test-agnostic job#615DLWoodruff merged 2 commits intoPyomo:mainfrom
DLWoodruff merged 2 commits intoPyomo:mainfrom
Conversation
Recent gamspy_base releases link against OpenSSL 3.2+, but the
ubuntu-latest runner ships OpenSSL 3.0.x (Ubuntu 22.04), causing
a runtime failure:
GamsException: Could not load libjoatdclib64.so:
version 'OPENSSL_3.2.0' not found
Installing openssl from conda-forge puts a new enough libssl.so.3
on the conda LD_LIBRARY_PATH before gamspy is installed, satisfying
the versioned-symbol requirement and unblocking all open PRs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
conda does not automatically add its lib dir to LD_LIBRARY_PATH, so the system linker still found the system libssl.so.3 (OpenSSL 3.0.x) first, even after installing a newer openssl from conda-forge. Exporting CONDA_PREFIX/lib at the front of LD_LIBRARY_PATH ensures the conda-forge OpenSSL (which provides OPENSSL_3.2.0) is found before the system one when gamspy loads its native shared library. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recent
gamspy_basereleases link their native shared library (libjoatdclib64.so) against OpenSSL 3.2+, but theubuntu-latestGitHub Actions runner ships OpenSSL 3.0.x (Ubuntu 22.04), causing every open PR to fail with:Installing
opensslfromconda-forgebeforepip install gamspyplaces a new-enoughlibssl.so.3on the conda environment'sLD_LIBRARY_PATH, satisfying the versioned-symbol requirement.Test plan
test-agnosticCI job passes on this PR🤖 Generated with Claude Code