Azure / Azure/azure-sdk-for-python

Add `azure-mgmt-network` and `azure-communication-email` to conda-forge

Open
#43,770 4 comments 0 reactions 0 assignees View on GitHub
customer-reported needs-team-attention question
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

**Is your feature request related to a problem? Please describe.**
The package `azure-mgmt-network` has an extremely old version in [conda-forge](https://anaconda.org/conda-forge/azure-mgmt-network) compared to the one in [PyPi](https://pypi.org/project/azure-mgmt-network/).

The package `azure-communication-email` is not available at all in conda-forge. It is available in [PyPi](https://pypi.org/project/azure-communication-email/).

**Describe the solution you'd like**
This is very out of the ordinary for azure packages. Normally packages have identical versions in both PyPi and conda-forge.

For example, KeyVault has a modern version in [PyPi](https://pypi.org/project/azure-keyvault-secrets/) and [conda-forge](https://anaconda.org/conda-forge/azure-keyvault-secrets).

Similarly, Azure Storage Blob has versions in [conda-forge](https://anaconda.org/conda-forge/azure-storage-blob) and [PyPi](https://pypi.org/project/azure-storage-blob/).

There are many more that are configured correctly, but these two packages are not. I do not know if other packages have a similar issue.

**Describe alternatives you've considered**
I know that the `microsoft` anaconda channel has packages labeled by dates (eg the latest is `2025-09-01`)
However, these packages just contain multiple real packages inside them. For example here is the one for [`azure-communication`](https://github.com/Azure/azure-sdk-for-python/blob/main/conda/conda-releaselogs/azure-communication.md).

The problem with using these is two fold:
1. I do not necessarily want to include all of the sub-packages. I may only want `azure-communication-email`. Using the date version from the `microsoft` channel does not let me do that
2. Other packages that use the azure packages rely on the real version numbers (not dates). For example, [adlfs](https://anaconda.org/conda-forge/adlfs/badges) requires the `azure-core` package version >1.35, but the version in the `microsoft` channel has `2025.09.01`. Conda does not recognize these as the same even though 1.35.0 is inside of 2025.09.01
3. Conda gives a `ClobberError` when you install one package standalone and as a sub-package. If you attempt to install most packages, they will automatically install `azure-core v1.35.0 as a dependency`. But if you install `azure-mgmt v2025.09.01`, this package no longer contains `azure-mgmt-core` (not sure why, but it was removed after 2022.12.01). If you then attempt to install `azure-mgmt-core` manually it will conflict with the one installed as a dependency. The exact versions technically do not conflict but conda will give a `ClobberError`

Therefore, using the packages from the `microsoft` channel is not sufficient.
Additionally, using the packages from PyPi is possible but it very problematic because pip does not solve for dependencies, so you are asking for trouble

**Additional context**
I do not see any reason these packages have not been added to conda-forge, it seems to have been an oversight. hopefully this can be resolved easily because the package is already in PyPi.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.