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
The issue I'm encountering may be due to my lack of knowledge regarding how tests are constructed and asyncio event loops are handled within the pytest-asyncio plugin. However, I thought it couldn't hurt to alert you to the issue in case it's something that should be addressed:
While running integration tests in the solana-py project to ensure my recent pull request modifications passed CI, I encountered an issue where tests would hang indefinitely. Upon further investigation, the tests appear to hang due to the deprecated handling of the asyncio event loop within the pytest-asyncio fixtures.
The specific warning encountered is related to DeprecationWarning: There is no current event loop, suggesting that the way event loops are managed and retrieved is outdated according to the latest asyncio and pytest-asyncio standards.
This issue affects all integration tests that rely on async functionality and needs a review to ensure compatibility with current best practices in asyncio event loop management. Addressing this may involve updating fixture setups and potentially reevaluating how asynchronous operations are handled within test configurations.
Unfortunately, this is a bit outside my scope of understanding, so I'm simply submitting this as an issue.
The text was updated successfully, but these errors were encountered:
The issue I'm encountering may be due to my lack of knowledge regarding how tests are constructed and asyncio event loops are handled within the pytest-asyncio plugin. However, I thought it couldn't hurt to alert you to the issue in case it's something that should be addressed:
While running integration tests in the
solana-py
project to ensure my recent pull request modifications passed CI, I encountered an issue where tests would hang indefinitely. Upon further investigation, the tests appear to hang due to the deprecated handling of the asyncio event loop within the pytest-asyncio fixtures.The specific warning encountered is related to
DeprecationWarning: There is no current event loop
, suggesting that the way event loops are managed and retrieved is outdated according to the latest asyncio and pytest-asyncio standards.This issue affects all integration tests that rely on async functionality and needs a review to ensure compatibility with current best practices in asyncio event loop management. Addressing this may involve updating fixture setups and potentially reevaluating how asynchronous operations are handled within test configurations.
Unfortunately, this is a bit outside my scope of understanding, so I'm simply submitting this as an issue.
The text was updated successfully, but these errors were encountered: