Skip to content

Avoid distutils version parsing#287

Draft
Mirochill wants to merge 1 commit into
Nekmo:masterfrom
Mirochill:fix-273-drop-distutils-version
Draft

Avoid distutils version parsing#287
Mirochill wants to merge 1 commit into
Nekmo:masterfrom
Mirochill:fix-273-drop-distutils-version

Conversation

@Mirochill

@Mirochill Mirochill commented May 24, 2026

Copy link
Copy Markdown

Summary

  • replace distutils.version.StrictVersion with a local Telethon version comparison helper
  • keep the telethon.sync import gated to Telethon 1.x and newer
  • add a focused regression test for the version helper

Fixes #273

Validation

  • Not run locally
  • git diff --check HEAD~1..HEAD
  • rg 'distutils|StrictVersion' (no matches)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ModuleNotFoundError: No module named 'distutils'

1 participant