Deprecated library warning (AuthlibDeprecationWarning: authlib.jose module is deprecated)
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 68/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- python
- Bereich
- authentication
Rechercherichtung
Beginne bei auth0_api_python/api_client.py Zeile 7, wo der Import von authlib.jose die Warnung ausgibt, und prüfe die aktuelle Kompatibilität der Abhängigkeiten des Pakets. Reproduziere den Import mit Python 3.13 und verifiziere anschließend, dass der Import von ApiClient keine AuthlibDeprecationWarning mehr ausgibt, während das SDK weiterhin erfolgreich geladen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus auth0/auth0-api-python
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
auth0/auth0-api-python#113 ·
-
ApiClient creates a new httpx.AsyncClient per JWKS / OIDC fetch with no timeout and no single-flight, causing "Unknown auth error" storms under loadEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
auth0/auth0-api-python#85 · 1 Kommentar · 1 Reaktion ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 52/100
auth0/auth0-api-python#59 ·