Skip to content

All compute_work to run with Python 3.12#2237

Closed
cjh1 wants to merge 1 commit intocodalab:developfrom
cjh1:feature/upstream/worker-python-3-12
Closed

All compute_work to run with Python 3.12#2237
cjh1 wants to merge 1 commit intocodalab:developfrom
cjh1:feature/upstream/worker-python-3-12

Conversation

@cjh1
Copy link
Contributor

@cjh1 cjh1 commented Mar 6, 2026

Fix use of loop in gather(...) to allow with Python 3.12.

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • Ready to merge

@Didayolo
Copy link
Member

Didayolo commented Mar 6, 2026

Post-it: to be merged into #2223

@Didayolo Didayolo self-assigned this Mar 6, 2026
Didayolo added a commit that referenced this pull request Mar 7, 2026
@Didayolo
Copy link
Member

Didayolo commented Mar 7, 2026

Changes added to #2223

Commit: a92fc2d

Thank you for your contribution.

@Didayolo Didayolo closed this Mar 7, 2026
@ObadaS
Copy link
Collaborator

ObadaS commented Mar 7, 2026

Hello,
I had the same problem when I upgraded the python version in #2200 but I fixed it like this : https://github.com/codalab/codabench/pull/2200/changes#diff-4445d9d2e4988a27d815ccde4804def3d361ceba5104a1ef8c094495bdb06c0bR1201

Is your way of fixing it better ? In my limited testing, the compute worker worked fine, but I haven't done a long test to make sure that not explicitly closing the loop doesn't cause any problems

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.

3 participants