Skip to content

fix: Update event loop retrieval to support Python 3.14+#3187

Merged
Paillat-dev merged 6 commits intomasterfrom
fix/add-3.14-support
Apr 11, 2026
Merged

fix: Update event loop retrieval to support Python 3.14+#3187
Paillat-dev merged 6 commits intomasterfrom
fix/add-3.14-support

Conversation

@Paillat-dev
Copy link
Copy Markdown
Member

@Paillat-dev Paillat-dev commented Mar 27, 2026

Caution

Feature freeze is active, as described by our Release Schedule.

Summary

This is a minimal fix that allows py-cord to work in python 3.14 (allegedly, seems to work though). It is not the most elegant and our entire asyncio stack should eventually be replaced to be more idomatic, but should allow us to ship 3.14 support in the current state.

See #2645 for a later, more future proof solution.

This does nto have changelog as it is an internal refactor in preparation for 3.14 - the actual changelog is in #2948

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.
  • AI Usage has been disclosed.
    • If AI has been used, I understand fully what the code does

@Paillat-dev Paillat-dev requested review from a team, DA-344 and Lulalaby March 27, 2026 22:55
@github-project-automation github-project-automation bot moved this to Todo in Pycord Mar 27, 2026
@pycord-app
Copy link
Copy Markdown

pycord-app bot commented Mar 27, 2026

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3187/head:pr-3187
git checkout pr-3187

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3187/head

@Paillat-dev Paillat-dev requested a review from plun1331 March 27, 2026 22:55
@Paillat-dev Paillat-dev added this to the v2.8.0 milestone Mar 27, 2026
@Paillat-dev Paillat-dev requested review from a team as code owners March 27, 2026 22:58
@Paillat-dev Paillat-dev requested review from a team and JustaSqu1d March 27, 2026 22:58
@Paillat-dev Paillat-dev force-pushed the fix/add-3.14-support branch from bf4e785 to 6d494fd Compare March 27, 2026 22:58
@Paillat-dev Paillat-dev requested a review from Lumabots March 27, 2026 23:10
@Paillat-dev Paillat-dev added the hold: testing This pull request requires further testing label Mar 27, 2026
@Paillat-dev Paillat-dev marked this pull request as draft March 29, 2026 18:52
@Paillat-dev Paillat-dev marked this pull request as ready for review April 1, 2026 12:21
@JustaSqu1d JustaSqu1d added hold: changelog This pull request is missing a changelog entry and removed hold: changelog This pull request is missing a changelog entry labels Apr 11, 2026
Copy link
Copy Markdown
Member

@NeloBlivion NeloBlivion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working on 3.10

@Dorukyum Dorukyum enabled auto-merge (squash) April 11, 2026 13:56
@Paillat-dev Paillat-dev disabled auto-merge April 11, 2026 14:45
@Paillat-dev Paillat-dev merged commit da9960f into master Apr 11, 2026
28 checks passed
@Paillat-dev Paillat-dev deleted the fix/add-3.14-support branch April 11, 2026 14:47
@github-project-automation github-project-automation bot moved this from Todo to Done in Pycord Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold: testing This pull request requires further testing

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants