| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Yup, this looks right to me. Syntax was changed in Python 3.9 so all the versions we're planning on covering for 3.30.0 should be fine with this change. I'm going to kick off a CI run to confirm there aren't any other unexpected regressions here but I think this should work just as it sits. Nice find @ramikg! |
Sorry, something went wrong.
|
Jenkins test run looks clean. @bschoening if I can get a 👍 from you I believe we're good to merge this guy. |
Sorry, something went wrong.
There was a problem hiding this comment.
Fixes Python 3.9+ compatibility for the asyncio-based Cassandra reactor by replacing deprecated/removed lock-acquisition syntax so write-queue pushes no longer fail silently and connections don’t time out.
Changes:
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
|
@absurdfarce @ramikg looks good and copilot approves! |
Sorry, something went wrong.
patch by ramikg; reviewed by Bret McGuire and Brad Schoening reference: #1270
|
Thank you both! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Trying to connect to Cassandra using the asyncio reactor times out in Python 3.9+.
This is because pushing messages to the queue silently fails due to the usage of the with await asyncio.Lock syntax, removed in Python 3.9.
I've replaced it with async with lock (as suggested by the docs), and now it works.