Skip to content

Update dependency cffi to v2.1.0#938

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/cffi-2.x
Open

Update dependency cffi to v2.1.0#938
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/cffi-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cffi (changelog) ==2.0.0==2.1.0 age confidence

Release Notes

python-cffi/cffi (cffi)

v2.1.0

Compare Source

  • Added support for Python 3.15 and support for C extensions generated by CFFI
    to target the new abi3t free-threaded ABI.
  • Dropped support for Python 3.9.
  • Added cffi-gen-src CLI to generate CFFI C extension source for alternate build backend support.
  • Fixed crashes inside __delitem__.
  • Fixed "string too big" error under MSVC.
  • Fixed mingw builds.
  • Added support for arm64 iOS wheels.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@sourcery-ai

sourcery-ai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR bumps the pinned cffi Python dependency from 2.0.0 to 2.1.0 in the backend requirements, aligning the project with the latest compatible release and its updated Python/ABI support and bug fixes.

File-Level Changes

Change Details Files
Update the pinned cffi dependency version used by the backend.
  • Change cffi version constraint from 2.0.0 to 2.1.0 in the pinned backend requirements list
  • Keep all other pinned dependencies unchanged
backend/requirements-pinned.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • Since cffi 2.1.0 drops support for Python 3.9, double-check that your supported/runtime Python versions in the backend align with this change to avoid unexpected failures in older environments.
  • Review any native/CFFI-based integrations for compatibility with the new abi3t free-threaded ABI, particularly if you rely on custom C extensions or specific ABI assumptions.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since cffi 2.1.0 drops support for Python 3.9, double-check that your supported/runtime Python versions in the backend align with this change to avoid unexpected failures in older environments.
- Review any native/CFFI-based integrations for compatibility with the new abi3t free-threaded ABI, particularly if you rely on custom C extensions or specific ABI assumptions.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.06%. Comparing base (139b50e) to head (2735e9c).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #938       +/-   ##
===========================================
+ Coverage   62.06%   86.06%   +23.99%     
===========================================
  Files          91       63       -28     
  Lines        3978     3574      -404     
  Branches        0      662      +662     
===========================================
+ Hits         2469     3076      +607     
+ Misses       1509      278     -1231     
- Partials        0      220      +220     

see 154 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 139b50e...2735e9c. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

0 participants