Skip to content

Conversation

@pvaneck
Copy link
Member

@pvaneck pvaneck commented Nov 6, 2025

PyPy 3.11 needs a later version of cryptography as 2.5 is too old and relies on CPython ABI symbols (PySlice_AdjustIndices) that is no longer supported.

Also disabling the broker package dependency for 3.14 until pymsalruntime can produce 3.14-compat whl files.

PyPy 3.11 needs a later version of cryptography as 2.5 is too old and
relies on CPython ABI symbols (PySlice_AdjustIndices) that is no longer
supported. Update the minimum used for mindependency checks.

Also disabling the broker package dependency for 3.14 until pymsalruntime can
produce 3.14-compat whl files.

Signed-off-by: Paul Van Eck <[email protected]>
@pvaneck pvaneck marked this pull request as ready for review November 6, 2025 22:12
Copilot AI review requested due to automatic review settings November 6, 2025 22:12
@pvaneck pvaneck changed the title [Identity] Update requirements [Identity] Update requirements and cryptography CI minimum Nov 6, 2025
@pvaneck pvaneck merged commit d76befa into Azure:main Nov 6, 2025
39 of 40 checks passed
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Azure Identity SDK Improvements Nov 6, 2025
@pvaneck pvaneck deleted the identity-fix-pypy branch November 6, 2025 22:21
Copy link
Contributor

Copilot AI left a 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 makes three related changes to improve Python 3.14 compatibility and test reliability:

  • Updates the cryptography minimum version requirement from 38.0.3 to 41.0.0
  • Adds a Python version constraint to azure-identity-broker dependency to exclude Python 3.14+
  • Simplifies a VSCode credential test by removing unnecessary mocking

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
sdk/identity/azure-identity/tests/test_vscode_credential.py Fixed incomplete docstring and removed unnecessary mock for InteractiveBrowserBrokerCredential
sdk/identity/azure-identity/dev_requirements.txt Added Python 3.14 upper version constraint to azure-identity-broker dependency
eng/tox/install_depend_packages.py Updated cryptography minimum version from 38.0.3 to 41.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants