[azure-ai-ml] Fix for #48941 (PR #48972) is in the 1.35.1 changelog but was never released (missing from 1.35.1 and 1.35.2)

未关闭
#50,081 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
47/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
azure, python
领域
backend, release

调研方向

Start by comparing the azure-ai-ml_1.35.1 and azure-ai-ml_1.35.2 tags with the merged fix in #48972, especially operations/_job_ops_helper.py and _artifacts/_artifact_utilities.py; the issue also identifies _utils/_artifact_utils.py as changed in the hotfix. Check the release notes and published wheels to confirm which code and changelog entries shipped. Done when maintainers clarify the target release and the fix and notes accurately match a published release.

由索引模型根据 Issue 内容生成。

描述

Client customer-reported Machine Learning needs-team-attention question Service Attention
  • Package Name: azure-ai-ml
  • Package Version: 1.35.1, 1.35.2
  • Operating System: Any (the problem is in the published package)
  • Python Version: Any

Describe the bug

#48941 was closed as fixed on 2026-09-22 by #48972. The bug: MLClient.jobs.download(..., output_name=...) downloads nothing for uri_folder/uri_file/mltable outputs of pipeline jobs and raises no error. The 1.35.1 changelog lists the fix under Bugs Fixed.

The code change was never included in a release. 1.35.1 and 1.35.2 both still have the bug, and the changelog says it was fixed.

What happened

  • #48972 was merged into main (merge commit a7e3ac0).

  • 1.35.1 and 1.35.2 were released from release/azure-ai-ml/1.35.1 and release/azure-ai-ml/1.35.2. Both branches start from main at 659c803 (2026-08-30), before the fix was merged.

  • The 1.35.1 hotfix PR, #49239, copied the changelog entry for #48941 but not the code. It changes _utils/_artifact_utils.py, but not operations/_job_ops_helper.py or _artifacts/_artifact_utilities.py, which are the files #48972 fixed.

  • The 1.35.2 backport, #49394, only contains the Spark runtime 3.5 change.

  • The azure-ai-ml_1.35.1 and azure-ai-ml_1.35.2 tags don't contain a7e3ac0. _job_ops_helper.py in both tags (line 498) still uses the exact-match filter:

    if run_outputs[output_name].type in [o.value for o in DataType]
    

The jobs.stream() fix for identity-based datastores came from the same PR and is also listed under 1.35.1. It is missing for the same reason.

I can't tell whether leaving out the fix was intentional, for example because it was too risky for a hotfix. Either way, the 1.35.1 release notes say this was fixed, and it wasn't.

To Reproduce

  1. Install azure-ai-ml==1.35.2.
  2. Call client.jobs.download(name=<pipeline_job>, download_path="./out", output_name=<uri_folder output>).
  3. The call returns without error, and ./out has none of the output's files. It works on 1.34.1.

To check the release history without running a job:

gh api repos/Azure/azure-sdk-for-python/compare/a7e3ac04ccaa682534fb3c5896d426b15a5dbd59...azure-ai-ml_1.35.2 --jq .status
# "diverged": the fix commit is not part of the release tag (same result for azure-ai-ml_1.35.1)

@winnieshen96's comment on #48941 has a script that checks the PyPI wheels. _job_ops_helper.py is identical in the 1.35.0, 1.35.1 and 1.35.2 wheels.

Expected behavior

  1. Reopen #48941, or keep this issue open, until the fix is in a published wheel.

  2. Release the code from #48972, either as a 1.35.3 hotfix or in 1.36.0. Please confirm which release and give a rough date.

  3. Fix the release notes:

    • Remove or annotate the #48941 and jobs.stream() entries under 1.35.1.
    • List them under the release that actually contains the fix.

    The CHANGELOG on main also lists these entries under 1.35.1. If 1.36.0 is released from main without changes, its notes won't mention the fix.

Additional context

Date Event
2026-09-08 1.35.0 released with the regression
2026-09-09 #48941 opened
2026-09-22 #48972 merged to main; #48941 closed automatically
2026-09-29 #49239 merged into release/azure-ai-ml/1.35.1 with the changelog entry but not the code
2026-09-30 1.35.1 published
2026-10-12 1.35.2 published
2026-10-27 Reported on #48941 as still broken in 1.35.2
2026-11-02 Confirmed again on #48941; no maintainer reply yet

Workarounds: pin azure-ai-ml==1.34.1, or use the private-API workaround described in #48941.

The download fails without an error, so anyone who upgraded to 1.35.1 or later because of the changelog will get incomplete downloads and no warning.

主要语言
Python
星标
5.6k
派生
3.4k
平均合并
1 天 22 小时
30 天内合并 PR
189

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure/azure-sdk-for-python 的其他 Issue

查看 Azure/azure-sdk-for-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。