Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Dependency problems (docker/pywin32 and ruamel.yaml)

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure, docker, python

调研方向

未指定目标文件或测试。首先定位 azureml-core 和 azureml-pipeline-core 的依赖声明,然后使用当前版本的 pip 在 Windows 上重现安装;当报告的 pywin32 和 ruamel.yaml 冲突不再阻碍所述的 Azure ML 工作流时,即视为完成。

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

描述

Hello everyone! I'm having problems with Azure packages because apparently, they have some broken dependencies. I'm reporting the following problems:

  • docker: Required by azureml-core, docker is pinned to a version lower than 6.0.0 . However, older versions of this library pin pywin32 227, and any version of pywin32 below 300 breaks default_azure_credential when using it in Windows. This would automatically break Azure CLI Login (in my case this is happening). Also, version 6.0.0 fixes pywin32 I think azure should just update it to 6.0.0 in order to fix the problem
  • ruamel.yaml: The package azureml-pipeline-core depends on ruamel.yaml pinned on a version below 16. This lib requires to compile some binaries in C while installing, and any version below 16 uses an installation method not supported by pip versions over 20.1. To solve this, I had to downgrade pip, or install it using poetry, which is a package manager able to fix this bug

Considering all AzureML SDK packages were developed using modular packages, I really recommend using Poetry to manage dependencies, and dependabot (or something similar) to update automatically update deps. it would reduce installation time, and would prevent future conflicts.

I think Azure should fix these problems before fully migrating to SDK v2 since there are some features still in beta.

Related links:

主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

Azure/MachineLearningNotebooks 的其他 Issue

查看 Azure/MachineLearningNotebooks 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

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