Azure / Azure/MachineLearningNotebooks

Feature request: create AML Environment from Poetry

Open
#1,508 1 comment 0 reactions 0 assignees View on GitHub
ADO Environments feature-request
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

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**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.