Skip to content

fix(pykka): Adjust async property to work with pykka 4.3+#260

Open
blacklight wants to merge 2 commits intonatumbri:developfrom
blacklight:257/fix-pykka-queue-api
Open

fix(pykka): Adjust async property to work with pykka 4.3+#260
blacklight wants to merge 2 commits intonatumbri:developfrom
blacklight:257/fix-pykka-queue-api

Conversation

@blacklight
Copy link

The code now picks the appropriate method to check if a pykka Future is set, depending on the version in use.

  • pykka < 4.3: future._queue.empty()
  • pykka >= 4.3: future.get(timeout=0)

Closes: #257

The code now picks the appropriate method to check if a pykka Future is
set, depending on the version in use.

Closes: natumbri#257
Remove pykka `_queue.empty()` workaround.

It's actually not needed even on older versions of pykka.

Co-authored-by: Stein Magnus Jodal <[email protected]>
@blacklight blacklight requested a review from jodal January 13, 2026 19:50
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.

pykka hack in old code no longer works

2 participants