Azure / Azure/azure-sdk-for-python

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

Aperta
#41,664 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@kshitij-microsoft ci sta già lavorando.

Dal 25/6/2025.

Client customer-reported Machine Learning ML-Designer needs-team-attention question Service Attention
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.