Azure / MachineLearningNotebooks

Python notebooks with ML and deep learning examples with Azure Machine Learning Python SDK | Microsoft
https://docs.microsoft.com/azure/machine-learning/service/
MIT License
4.09k stars 2.52k forks source link

Feature request: create AML Environment from Poetry #1508

Open brunocous opened 3 years ago

brunocous commented 3 years ago

Similarly to the creation of an Azure ML Environment from an existing conda environement or a pip requirements file, it would be cool to also support Poetry.

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.

vizhur commented 3 years ago

We do not have plans to support poetry as conda is a primary framework used for python environment on AzureML side. pip requirement case is just a subset of it. Customer is not considered blocked if they want to use poetry for dependency management. One way would be to use tools like poetry2conda, and more flexible way is to user dockerfile.