-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Packaging} Bump cffi to 1.17.1 #31822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the cffi dependency from version 1.16.0 to 1.17.1 across all platform-specific requirements files to resolve a Python 3.13 compatibility issue where cffi raises an "undefined symbol: _PyErr_WriteUnraisableMsg" error.
- Updates cffi dependency version to fix Python 3.13 compatibility
- Applies the version bump consistently across all supported platforms
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/requirements.py3.windows.txt | Updates cffi version from 1.16.0 to 1.17.1 for Windows platform |
| src/azure-cli/requirements.py3.Linux.txt | Updates cffi version from 1.16.0 to 1.17.1 for Linux platform |
| src/azure-cli/requirements.py3.Darwin.txt | Updates cffi version from 1.16.0 to 1.17.1 for macOS platform |
Description
Cffi raises this error in Python 3.13:
ERROR: Error loading command module 'iot': /opt/hostedtoolcache/Python/3.13.5/x64/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg, which is a known issue: python-cffi/cffi#23 (comment).Update it to latest version.