Azure / Azure/MachineLearningNotebooks

Feature request: create AML Environment from Poetry

未關閉
#1,508 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
ADO Environments feature-request
主要語言
Jupyter Notebook
星號
4.4k
分支
2.6k
PR 合併指標
30 天內沒有已合併 PR

描述

Similarly to the creation of an Azure ML Environment from an [existing conda environement](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py#from-pip-requirements-name--file-path--pip-version-none-) or a [pip requirements file](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py#from-pip-requirements-name--file-path--pip-version-none-), it would be cool to also support [Poetry](https://python-poetry.org/).

It could be something like `Environement.from_poetry(name, file_path, poetry_version=None)`.

My project is currently using Poetry, and I'm using a tool called https://pypi.org/project/poetry2conda/ in order to create AML environments. Implementing the proposed feature would make this extra step obsolete.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: ddf83484-8d65-c598-3a97-2e1f8a1cf917
* Version Independent ID: aeed389d-4eec-013f-7b91-642f2de3f676
* Content: [azureml.core.Environment class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.core.Environment(class).yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.core.Environment(class).yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先從 Azure ML Environment.from_pip_requirements 文件和連結的 Environment API 原始碼開始,然後查看 Poetry 和 poetry2conda,以了解預期的輸入和轉換路徑。當 Azure ML 能夠使用提議的 from_poetry(name, file_path, poetry_version=None) 介面直接從 Poetry 專案建立 Environment 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
azure, machine-learning, python
領域
cloud, machine-learning
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。