Skip to content
This repository was archived by the owner on Oct 15, 2026. It is now read-only.
This repository was archived by the owner on Oct 15, 2026. It is now read-only.

Support for Python 3.14 #2828

Closed as not planned
Closed as not planned

Description

@yasonk

Currently some dependencies are pinned to versions that do not support python 3.14.
This prevents upgrading to 3.14

Activity

  1. dosubot commented on Mar 7, 2026

    @dosubot

    This is a known issue. The main blocker was the watchfiles dependency, which was previously pinned to >=0.20.0,<1.0.0. This has been updated to >=1.1.1,<2.0.0 in the codebase via PR #2680.

    There's also a related issue #2767 tracking Python 3.14 compatibility problems (anyio.NoEventLoopError) caused by this constraint.

    If you're on the latest released version and still hitting issues, the fix may not have been published yet. Additionally, literalai is pinned to an exact version (0.1.201) which could potentially cause issues if it doesn't support Python 3.14. Are there specific dependencies or errors you're encountering?

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about chainlit with Dosu Add Dosu to your team

  2. yasonk commented on Mar 8, 2026

    @yasonk
    Author

    @dosu PR #2733 already bumped watchfile and supercedes PR #2680, which is now closed and obsolete. However, the final problem is that liberal ai version 201 doesn't support python 3.14, so need to bump that up to 300

  3. dosubot commented on Mar 8, 2026

    @dosubot

    Thanks for the correction! You're right that PR #2733 already handled the watchfiles bump (released in v2.9.4).

    The remaining blocker is indeed literalai==0.1.201. If bumping it to 0.1.300 resolves Python 3.14 compatibility, a PR updating that constraint would be the next step toward full Python 3.14 support.

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about chainlit with Dosu Add Dosu to your team

  4. uu9 commented on Mar 16, 2026

    @uu9

    Besides literalai, there's another dependency chain related:

    chainlit → semantic-kernel → pydantic (v2.11.10) → Python < 3.14

    This means semantic-kernel also restricts Python version to below 3.14 (via its transitive dependency on pydantic v2.11.10, which dropped support for Python 3.14+).

    microsoft/semantic-kernel#13246

  5. github-actions commented on Mar 31, 2026

    @github-actions

    This issue is stale because it has been open for 14 days with no activity.

  6. added
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Mar 31, 2026
  7. yasonk commented on Mar 31, 2026

    @yasonk
    Author

    Looks like pydantic and semantic-kernel support is back on, which means this ticket is again pretty easy to fix

  8. removed
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Apr 1, 2026
  9. github-actions commented on Apr 15, 2026

    @github-actions

    This issue is stale because it has been open for 14 days with no activity.

  10. added
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Apr 15, 2026
  11. yasonk commented on Apr 16, 2026

    @yasonk
    Author

    Would be nice if someone could spend some Claude Code tokens to fix this :)

  12. removed
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on Apr 17, 2026
  13. yasonk commented on Apr 27, 2026

    @yasonk
    Author

    I do think this is pretty important. Has anyone attempted to use chainlit with python 3.14?

  14. github-actions commented on May 13, 2026

    @github-actions

    This issue is stale because it has been open for 14 days with no activity.

  15. added
    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
    on May 13, 2026
  16. github-actions commented on May 20, 2026

    @github-actions

    This issue was closed because it has been inactive for 7 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendPertains to the Python backend.staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions