Skip to content

ci: bump workflows to Python v3.14 #2778#2832

Open
kami922 wants to merge 4 commits intomandiant:masterfrom
kami922:ci-bump-python-3.14
Open

ci: bump workflows to Python v3.14 #2778#2832
kami922 wants to merge 4 commits intomandiant:masterfrom
kami922:ci-bump-python-3.14

Conversation

@kami922
Copy link
Contributor

@kami922 kami922 commented Jan 21, 2026

This PR updates the CI workflows to use Python 3.14 for testing.

Changes

  • Update code_style and rule_linter jobs to use Python 3.14
  • Update tests matrix to use Python 3.14 across all operating systems
  • Add Python 3.13 to Ubuntu-specific test matrix (to ensure intermediate version coverage)
  • Update binja-tests, ghidra-tests, idalib-tests to use Python 3.14

Fixes #2778

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @kami922, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on modernizing the continuous integration (CI) environment by upgrading all relevant workflows and test matrices to Python 3.14. This ensures that the project remains compatible with the latest Python release, while also strategically including Python 3.13 in Ubuntu-specific tests to maintain broader version coverage and stability.

Highlights

  • CI Workflow Updates: The code_style and rule_linter jobs have been updated to utilize Python 3.14.
  • Test Matrix Enhancements: The tests matrix now uses Python 3.14 across all operating systems, with Python 3.13 specifically added to the Ubuntu test matrix for intermediate version coverage.
  • Integration Tests: binja-tests, ghidra-tests, and idalib-tests have been updated to run with Python 3.14.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/tests.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CI workflows to use Python 3.14, preparing the project for the upcoming Python release. The changes correctly modify the build, lint, and test workflows, and update the CHANGELOG.md. The logic of replacing Python 3.13 with 3.14 in the main test matrix while keeping a dedicated 3.13 run on Ubuntu is sound. I've added one suggestion to improve the readability of the test workflow configuration by keeping the included test versions sorted.

@kami922 kami922 force-pushed the ci-bump-python-3.14 branch from 2b0da39 to 0494f85 Compare January 21, 2026 23:09
@kami922
Copy link
Contributor Author

kami922 commented Jan 22, 2026

@mike-hunhoff @williballenthin @mr-tz Hello can you please rerun only the failed test

@mike-hunhoff
Copy link
Collaborator

Hmm it looks like the Ubuntu 3.14 arm tests are never finishing. I don't see a specific failure, but it's running for >60 minutes, so I'm guessing a timeout. Thoughts @williballenthin @mr-tz ?

@kami922
Copy link
Contributor Author

kami922 commented Feb 3, 2026

Hello @mike-hunhoff @mr-tz I’m looking for some assistance regarding the current CI failures affecting my PRs. It appears that test_fix262 is failing consistently, and I wanted to check if this is a known issue on the main branch. Any advice on how to proceed would be appreciated.

- Update code_style and rule_linter jobs to use Python 3.14
- Update tests matrix to use Python 3.14 across all OS
- Add Python 3.13 to Ubuntu-specific test matrix
- Update binja-tests, ghidra-tests, idalib-tests to use Python 3.14

Fixes mandiant#2778
@kami922 kami922 force-pushed the ci-bump-python-3.14 branch from d906e9a to 4fd58b0 Compare February 4, 2026 20:46
@mr-tz
Copy link
Collaborator

mr-tz commented Feb 4, 2026

See #2850

@mike-hunhoff
Copy link
Collaborator

@kami922 we're back to where we were before with the tests failing after hanging for an extended period of time, e.g. testing 3.14 failed after 22 minutes on Ubuntu and 76 minutes on Windows. I'm not seeing any errors listed in the corresponding CI workflows - have you been able to run tests locally without issue? I'm concerned there is an issue specific to 3.14 that causes capa to run poorly...

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.

ci: bump workflows to Python v3.14

3 participants