Skip to content

Upgrade CI and cwlpack to Python 3.12 - #199

Merged
denis-yuen merged 3 commits into
developfrom
ci/upgrade-python-version
Oct 9, 2026
Merged

denis-yuen merged 3 commits into
developfrom
ci/upgrade-python-version

Conversation

@denis-yuen

@denis-yuen denis-yuen commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Description
The Dependabot pytest 9.0.3 bump fails CI because pytest 9 needs Python >=3.10 and the workflow uses 3.8.

This moves CI and the cwlpack Lambda runtime to Python 3.12, bumps the pins that don't install there (pytest, pytest-mock, boto3, pylint, pygit2, sbpack), and fixes the .pylintrc init-hook. It also addresses SonarCloud install warnings (npm ci --ignore-scripts, pip --only-binary :all:, pinned aws-sam-cli), bumps checkout/setup-node/setup-python, and pins runners to ubuntu-26.04.

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-7772

Security
Touches dependency pins, install flags and the Lambda runtime. Should be an overall improvement.

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.

🤖 Generated with Claude Code

@denis-yuen denis-yuen self-assigned this Oct 7, 2026
run: |
pip install -r tests/requirements.txt --user
pip install -r cwl_pack_function/requirements.txt --user
pip install --only-binary :all: -r tests/requirements.txt --user
Comment thread .github/workflows/maven.yml Fixed
@denis-yuen
denis-yuen requested review from a team and svonworl and removed request for a team October 7, 2026 17:29
@denis-yuen
denis-yuen marked this pull request as ready for review October 7, 2026 17:30
@denis-yuen denis-yuen mentioned this pull request Oct 7, 2026
1 task done
@denis-yuen
denis-yuen added this pull request to stack #201 October 7, 2026 19:45
denis-yuen and others added 3 commits October 9, 2026 13:05
pytest 9 requires Python >=3.10, so the Dependabot bump failed on 3.8.
Move CI, the Lambda runtime and test/function dependencies to 3.12.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Use npm ci --ignore-scripts, pip --only-binary :all:, pin aws-sam-cli,
and bump actions/checkout and actions/setup-node.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@denis-yuen
denis-yuen force-pushed the ci/upgrade-python-version branch from f9478c2 to e30956c Compare October 9, 2026 17:05
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@denis-yuen
denis-yuen merged commit d54b227 into develop Oct 9, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants