Skip to content

Support Python 3.13 (coming Oct 2024) #2664

Description

@sentrivana

Problem Statement

Python 3.13 is scheduled for release in October 2024.

The first RC will be out in July, the second one in September.

Solution Brainstorm

Prepare for 3.13 so that the SDK is compatible by release time.

Activity

  1. rominf commented on Jul 5, 2024

    @rominf
    Contributor

    I started building python3-sentry-sdk on Fedora 41, which will come with Python 3.13, and encountered some issues. Some Sentry SDK dependencies do not support Python 3.13 yet:
    celery/kombu#2051
    gevent/gevent#2037
    python-jsonschema/jsonschema#1264

    I also created patches for the Sentry SDK itself; look for "Python 3.13" in https://src.fedoraproject.org/rpms/python-sentry-sdk/pull-request/10#request_diff. I want them to be included in the Sentry SDK. I saw you have #3200 already. What is the most convenient way to submit PR(s)? Should I open PR(s) into master without testing them on Python 3.13, should I open PR(s) into your branch ivana/python-3.13, or should I base my PR(s) on top of yours in master?

  2. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 5, 2024
  3. sentrivana commented on Jul 8, 2024

    @sentrivana
    ContributorAuthor

    Hey @rominf, first of all thank you for the fixes. I'd say let's go with PRs against the ivana/python-3.13 branch for now so that we have everything tested eventually (once we manage to get the test suite to run -- looks like pytest 8.2.1 works with 3.13, but e.g. pytest-asyncio doesn't yet).

  4. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jul 8, 2024
  5. rominf commented on Jul 10, 2024

    @rominf
    Contributor

    @sentrivana PRs #3271 and #3272 when combined together, should make Python 3.13 tests pass.

  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Jul 10, 2024
  7. szokeasaurusrex commented on Jul 11, 2024

    @szokeasaurusrex
    Member

    Thanks @rominf!

  8. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Jul 11, 2024
  9. linked a pull request that will close this issuefeat: Preliminary support for Python 3.13 #3200on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions