Skip to content

Support Python 3.15 beta#5259

Merged
Poolitzer merged 9 commits into
masterfrom
py315
Jun 12, 2026
Merged

Support Python 3.15 beta#5259
Poolitzer merged 9 commits into
masterfrom
py315

Conversation

@harshil21

Copy link
Copy Markdown
Member

Closes #5231

I could not get the lazy imports feature to actually fully work with our library, somewhere along the path all dependencies are eagerly resolved. Doing lazy import telegram does work and everything is lazy, until you first use just one class, and then everything is imported all at once, which defeats the point. I may look more deeply into this later.

@harshil21 harshil21 requested a review from aelkheir June 8, 2026 19:43
@harshil21 harshil21 added the 🔗 python related technology: python label Jun 8, 2026

@Poolitzer Poolitzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Poolitzer Poolitzer merged commit 4c710a3 into master Jun 12, 2026
30 of 33 checks passed
@Poolitzer Poolitzer deleted the py315 branch June 12, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔗 python related technology: python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Python 3.15 feature: Lazy imports

2 participants