You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to pickle abstract class (using abc.ABC) with type annotations #572
I reported the issue as I encountered it when adding support for Python 3.14 in Pydantic, and got tests failing. I won't have capacity to look into this.
I opened a mirror issue on CPython since this code used to work with CPython 3.13 and the resulting change of picklability status might not have been intended.
Activity
ogrisel commentedon Oct 31, 2025
@Viicos thanks for the report. Would you be interested in investigating whether it's possible to add support for this?
Viicos commentedon Oct 31, 2025
I reported the issue as I encountered it when adding support for Python 3.14 in Pydantic, and got tests failing. I won't have capacity to look into this.
ogrisel commentedon Oct 31, 2025
I opened a mirror issue on CPython since this code used to work with CPython 3.13 and the resulting change of picklability status might not have been intended.
glemaitre commentedon Oct 31, 2025
I'll give a shot at it and see where it goes.
ogrisel commentedon Oct 31, 2025
Let me try to assign this to copilot to check its capabilities on a real life problem.