Skip to content

fix(python): remove nest_asyncio dependency for Python 3.12+ compatibility#639

Closed
Kubudak90 wants to merge 1 commit into
coinbase:mainfrom
Kubudak90:remove-nest-asyncio
Closed

fix(python): remove nest_asyncio dependency for Python 3.12+ compatibility#639
Kubudak90 wants to merge 1 commit into
coinbase:mainfrom
Kubudak90:remove-nest-asyncio

Conversation

@Kubudak90

Copy link
Copy Markdown

Summary

Removes the dependency from the Python SDK, which is no longer needed for Python 3.12+ compatibility.

Changes

  • Remove from
  • Remove from

Rationale

The library was previously used to enable nested event loops, but this is no longer necessary with modern Python async patterns. Removing it reduces dependencies and potential compatibility issues.

Testing

  • Verify SDK works without in Python 3.12+
  • Run existing test suite

Fixes potential compatibility issues with Python 3.12+

…ility

Remove nest_asyncio which is unmaintained and incompatible with Python 3.12+'s
loop_factory parameter. This fixes compatibility issues with modern uvicorn
and other async libraries that use loop_factory.

Fixes coinbase#591
@cb-heimdall

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@Kubudak90

Copy link
Copy Markdown
Author

Closing in favor of #637 which has a more comprehensive solution

@Kubudak90 Kubudak90 closed this Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants