Skip to content

Fix Python 3.14 async compatibility#247

Merged
JR-1991 merged 2 commits into
gdcc:mainfrom
youseihuayu-wonderful:fix/240-python-3.14-asynclibrarynotfound
Jul 18, 2026
Merged

Fix Python 3.14 async compatibility#247
JR-1991 merged 2 commits into
gdcc:mainfrom
youseihuayu-wonderful:fix/240-python-3.14-asynclibrarynotfound

Conversation

@youseihuayu-wonderful

Copy link
Copy Markdown
Contributor

Summary

  • remove the Python 3.14-incompatible global nest_asyncio patch and dependency
  • route all synchronous coroutine entry points through a loop-aware runner that supports scripts and existing event loops
  • add focused regression coverage, Python 3.14 CI, and detailed reproducible verification documentation

Fixes #240

Test plan

Made with Cursor

youseihuayu-wonderful and others added 2 commits July 15, 2026 19:36
Replace the incompatible global event-loop patch with a loop-aware runner so synchronous APIs work in scripts and existing async contexts. Add focused regression coverage, verification documentation, and Python 3.14 CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the pending CI status with links to the passing Dataverse-backed Python 3.10–3.14 matrix, build, and lint runs.

Co-authored-by: Cursor <cursoragent@cursor.com>

@youseihuayu-wonderful youseihuayu-wonderful left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@JR-1991 Can you review this?

@pdurbin
pdurbin requested a review from JR-1991 July 17, 2026 20:48

@JR-1991 JR-1991 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.

@youseihuayu-wonderful thanks a lot for the PR! LGTM, merging 👍

@JR-1991
JR-1991 merged commit e1f0a5e into gdcc:main Jul 18, 2026
1 check passed
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.

Errors when using pyDataverse 0.4.0.beta1 with Python 3.14: AsyncLibraryNotFoundError

2 participants