Skip to content

Python 3.14 Support #70

@dshipmon

Description

@dshipmon

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.

Describe the problem you'd like to have solved

Hello Auth0 team, I hope this message finds you well!

Problem

The current version of auth0-fastapi-api (1.0.0.b5) is incompatible with projects running Python 3.14 due to its uvicorn dependency constraint.

Current dependency constraint:

uvicorn = "^0.34.0", This constraint prevents the library from being used in Python 3.14 projects, as Python 3.14 support was not added to uvicorn until version 0.38.0 (released October 18, 2025).

Error Message

When attempting to install auth0-fastapi-api in a Python 3.14 project:

× No solution found when resolving dependencies:
  ╰─▶ Because all versions of auth0-fastapi-api depend on uvicorn>=0.34.0,<0.35.0 and your project depends on auth0-fastapi-api, we can
      conclude that your project depends on uvicorn>=0.34.0,<0.35.0.
      And because your project depends on uvicorn>=0.38.0, we can conclude that your project's requirements are unsatisfiable.

I noticed there's already an open Dependabot PR (#48) that addresses this. Merging this in would be super helpful for us!

Environment

  • Python version: 3.14
  • auth0-fastapi-api version: 1.0.0.b5
  • Package manager: uv

References

Describe the ideal solution

Upgrade Uvicorn to 0.38.0 or later (and general Python 3.14 support).

Alternatives and current workarounds

We've forked the code for now.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions