Azure / Azure/azure-sdk-for-python

[FUTURE BUG] Mldesigner still relies on soon to be deprecated pkg_resources

Open
#41,664 3 comments 0 reactions 1 assignee Claimed by @kshitij-microsoft View on GitHub
Client customer-reported Machine Learning ML-Designer needs-team-attention question Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

- **Package Name**: mldesigner
- **Package Version**: 0.1.0b19
- **Operating System**: Ubuntu
- **Python Version**: 3.12.10

**Describe the bug**
I get a warning when using the newest release of the mldesigner package:

```python
.venv/lib/python3.12/site-packages/mldesigner/_utils.py:19: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
```

**To Reproduce**
Steps to reproduce the behavior:
1. Install newest version of mldesigner and use it in any script.

**Expected behavior**
No warning

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

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.