Azure / Azure/azure-sdk-for-python
[FUTURE BUG] Mldesigner still relies on soon to be deprecated pkg_resources
@kshitij-microsoft ci sta già lavorando.
Dal 25/6/2025.
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 213
Descrizione
- **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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.