You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently stumbled upon an use case for one of my Python project where I need to deploy some Python code to be run on Azure Synapse. Basically, Azure Synapse already provides a conda environment with a lot of pre-installed Python libraries and I was looking for the best way to manage my project using PDM in order to end up with dependencies compatible with the ones already installed on Azure Synapse.
I already know there is no way to pass some constraints to PDM where I could list Azure Synapse dependencies so I'm looking for workarounds. I was thinking about adding all the Azure Synapse dependencies as optional dependencies but I'm afraid this might cause any developer which will pdm install to have to install ALL the dependencies (there is a lot). This might also be a bit tedious to add to the project. Do one think of any better option?
My final objective is to provide a project which is self sufficient on developers local machine as well as being able to package it plus it's required dependencies (except the ones already provided by Azure Synapse) to be deployed on Azure Synapse.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello folks,
I recently stumbled upon an use case for one of my Python project where I need to deploy some Python code to be run on Azure Synapse. Basically, Azure Synapse already provides a conda environment with a lot of pre-installed Python libraries and I was looking for the best way to manage my project using PDM in order to end up with dependencies compatible with the ones already installed on Azure Synapse.
I already know there is no way to pass some constraints to PDM where I could list Azure Synapse dependencies so I'm looking for workarounds. I was thinking about adding all the Azure Synapse dependencies as optional dependencies but I'm afraid this might cause any developer which will
pdm install
to have to install ALL the dependencies (there is a lot). This might also be a bit tedious to add to the project. Do one think of any better option?My final objective is to provide a project which is self sufficient on developers local machine as well as being able to package it plus it's required dependencies (except the ones already provided by Azure Synapse) to be deployed on Azure Synapse.
Thank you for your help ;)
Beta Was this translation helpful? Give feedback.
All reactions