Skip to content

Conversation

troycurtisjr
Copy link

Simple fix for Python 3.12 since it dropped asyncore. Catches the import error instead of using a version check so that the user can install the compatibility package for any uses that can't be upgraded to asyncio or similar immediately.

Fixes #204.

sarcasticadmin added a commit to sarcasticadmin/nixpkgs that referenced this pull request Jul 9, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205
sarcasticadmin added a commit to sarcasticadmin/nixpkgs that referenced this pull request Jul 9, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this pull request Jul 15, 2024
asyncore was removed from the python 3.12 standard library:
https://peps.python.org/pep-0594/

This patch was original sourced from:
seb-m/pyinotify#205

(cherry picked from commit 7ea81e0)
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.

Python 3.12 removed asyncore module
1 participant