Repository navigation
Modernize CI: drop retired ubuntu-20.04, pin transformers, fix AmazonLinux + CodeQL - #318
Merged
slava-at-amazon-com merged 1 commit intoAug 26, 2026
Conversation
Refresh runner images, dependency pins, and workflow actions that drifted during ~18 months of repo inactivity.
vpung
approved these changes
Aug 26, 2026
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.
Issue #, if available: N/A
Description of changes:
CI had bit-rotted after ~18 months without a run; this restores it so the required checks can pass again. No library logic changes — only workflow definitions and dependency bounds.
ubuntu-20.04runner from the Ubuntu matrix; pin the Miniconda installer to a glibc-2.17-compatible release for the AmazonLinux (glibc 2.26) job; setPIP_ONLY_BINARY=:all:on that job so dependencies resolve to manylinux wheels instead of source-building against the old toolchain (which fails, e.g. newer numpy needs gcc>=9.3).transformers<4.49. Newer releases removed internals the XR-Transformer code imports (AdamW,SequenceSummary, and the*_INPUTS_DOCSTRING/*_START_DOCSTRINGconstants), so unpinned installs break at import.actions/checkoutandactions/setup-pythonto current majors (v1 can no longer resolve Python 3.9 on the current runner image).permissions:block (security-events: write,actions: read,contents: read) so code scanning can upload results.Validated by reproducing every workflow on a fork and running the full build + test suite (
make libpecos && make test) in AmazonLinux containers for Python 3.9 and 3.12.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.