Skip to content

[Translation] Bump azure-core minimum to 1.37.0 to fix mindependency check - #48313

Merged
jrjrguo merged 1 commit into
Azure:mainfrom
jrjrguo:translation/document-bump-azure-core
Jul 28, 2026
Merged

[Translation] Bump azure-core minimum to 1.37.0 to fix mindependency check#48313
jrjrguo merged 1 commit into
Azure:mainfrom
jrjrguo:translation/document-bump-azure-core

Conversation

@jrjrguo

@jrjrguo jrjrguo commented Jul 28, 2026

Copy link
Copy Markdown
Member

Fixes the mindependency CI failure blocking the azure-ai-translation-document 2.0.0 GA release.

Problem

The mindependency check pins azure-core to the declared floor (>=1.30.0azure-core==1.30.0). That conflicts with the in-repo azure-identity dev requirement:

Dev req dependency azure-identity's requirement specifier of azure-core>=1.31.0
is not compatible with immutable requirement azure-core==1.30.0.

Dependency resolution then falls back to fetching an older azure-identity (1.25.3) from pypi.org, but CI agents install from an internal Azure Artifacts feed and block pypi.org egress:

Dependency resolution failed: HTTPSConnectionPool(host='pypi.org', port=443):
Max retries exceeded ... [Errno 1] Operation not permitted

So the check fails deterministically. Because the Release: azure-ai-translation-document stage is gated on Build, this blocks the release entirely.

Reproduced on two consecutive runs of python - translation:

Both show Total checks: 12 | Failed: 1, with mindependency the sole failure and zero failing tests. All other checks (whl, sdist, import_all, latestdependency, whl_no_aio) pass.

Fix

Raise the azure-core floor to >=1.37.0, matching the sibling azure-ai-translation-text package in the same service directory — which has the same local azure-identity dev requirement and whose mindependency check passes in the same pipeline run.

Notes

The mindependency CI check pins azure-core to the declared floor of
1.30.0, which conflicts with the azure-identity dev requirement of
azure-core>=1.31.0. Resolution then falls back to fetching an older
azure-identity from pypi.org, which is blocked on CI agents, so the
check fails deterministically and the Build stage takes the Release
stage down with it.

Raise the floor to 1.37.0, matching the sibling
azure-ai-translation-text package whose mindependency check passes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1463e8ad-d7bf-45ad-aea2-c50defc1914b
Copilot AI review requested due to automatic review settings July 28, 2026 22:38
@jrjrguo
jrjrguo requested a review from zhangeugenia as a code owner July 28, 2026 22:38
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI 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.

Pull request overview

Raises the azure-core dependency floor to unblock the document translation package’s minimum-dependency validation and 2.0.0 release.

Changes:

  • Requires azure-core>=1.37.0, matching the sibling translation package.
  • Documents the dependency change in the 2.0.0 changelog.

Reviewed changes

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

File Description
sdk/translation/azure-ai-translation-document/setup.py Updates the minimum azure-core version.
sdk/translation/azure-ai-translation-document/CHANGELOG.md Records the dependency-floor increase.

@jrjrguo
jrjrguo merged commit be44ec4 into Azure:main Jul 28, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants