chore: bump cffi and pycparser in rosetta-api python examples - #11081
Merged
Conversation
The icp and icrc1 python example requirements are currently broken on master because of outdated cffi/pycparser pins. Bump both as suggested by @mbjorkqvist in PR #11071: cffi: 1.17.1 -> 2.1.1 pycparser: 2.22 -> 3.0
nmattia
marked this pull request as ready for review
August 10, 2026 10:00
nmattia
enabled auto-merge
August 10, 2026 10:00
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.
<!-- ccr-slack-attribution -->
Requested by Nicolas Mattia · Slack thread
What
Bumps two Python dependencies used by the rosetta-api example clients:
cffirs/rosetta-api/examples/icp/python/requirements.txt,rs/rosetta-api/examples/icrc1/python/requirements.txt1.17.12.1.1pycparser2.223.0Why
In #11071 (bumping
cryptographyto50.0.0to close a CVE), @mbjorkqvist noted in review:> While not directly related to this PR, the examples are currently broken on
masterand on this branch (so unrelated to thecryptographybump). Bumping the following two dependencies would fix the issue - if you could do it in this PR I would appreciate it, but if not, let's just merge this and look into bumping the others later:>
>
> cffi==2.1.1 > pycparser==3.0 >#11071 was merged without that follow-up bump ("let's just merge this and look into bumping the others later"). This PR addresses that deferred suggestion by bumping
cffiandpycparserto the exact versions Mathias suggested, which should fix the currently-broken rosetta-api python examples.Generated by Claude Code