Deprecated library warning (AuthlibDeprecationWarning: authlib.jose module is deprecated)

Aperta Adatta ai principianti
#92 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

Inizia da auth0_api_python/api_client.py alla riga 7, dove l’importazione di authlib.jose emette l’avviso, e verifica la compatibilità attuale delle dipendenze del pacchetto. Riproduci l’importazione con Python 3.13, quindi verifica che l’importazione di ApiClient non emetta più AuthlibDeprecationWarning, mentre l’SDK continui a caricarsi correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Checklist
  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.
Description

Warning emitted:

.venv/lib/python3.13/site-packages/auth0_api_python/api_client.py:7: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
  It will be compatible before version 2.0.0.
    from authlib.jose import JsonWebKey, JsonWebToken
Reproduction
>>> from auth0_api_python.api_client import ApiClient
/Users/.../.venv/lib/python3.13/site-packages/auth0_api_python/api_client.py:7: AuthlibDeprecationWarning: authlib.jose module is deprecated, please use joserfc instead.
It will be compatible before version 2.0.0.
  from authlib.jose import JsonWebKey, JsonWebToken
Additional context

No response

auth0-api-python version

1.0.0b9

Python version

3.13

Lingua principale
Python
Stelle
4
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Altre issue di auth0/auth0-api-python

Tutte le issue di auth0/auth0-api-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.