Skip to content

chore: bump python default to 3.13#463

Open
binaryaaron wants to merge 3 commits into
mainfrom
binaryaaron/support-python3.12
Open

chore: bump python default to 3.13#463
binaryaaron wants to merge 3 commits into
mainfrom
binaryaaron/support-python3.12

Conversation

@binaryaaron
Copy link
Copy Markdown
Collaborator

@binaryaaron binaryaaron commented May 4, 2026

Summary

  • Make Python 3.13 the default local, CI, GPU, Docker, and Slurm runtime while keeping 3.11-3.13 support.
  • Wire the unit-test matrix to use its selected Python version and move primary coverage/GPU defaults to 3.13.
  • Add typing_extensions backports for override/TypeIs and document that shared syntax stays Python 3.11-compatible until NMP moves to 3.12.

Test plan

  • uv locking - done
  • make test-e2e on gpu: done
  • slurm run - not done yet

Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@binaryaaron binaryaaron marked this pull request as ready for review May 4, 2026 20:07
@binaryaaron binaryaaron requested review from a team as code owners May 4, 2026 20:07
mckornfield
mckornfield previously approved these changes May 4, 2026
Comment thread containers/Dockerfile.cuda Outdated
# Switch to "devel" if a future dependency requires CUDA compilation.
ARG CUDA_IMAGE_TYPE=runtime
ARG PYTHON_VERSION=3.11.13
ARG PYTHON_VERSION=3.13
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we want a minor or nah?

info = field[1]
anno = getattr(info, "annotation", None)
anno_type = type(anno)
if getattr(anno_type, "__origin__", None) is typing.Union:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this diff for 3.13 or just cleanup?

Comment thread README.md Outdated
### Prerequisites

- Python 3.11–3.13 (we pin a specific 3.11.x in `.python-version` for local/dev bootstrap; any 3.11, 3.12, or 3.13 interpreter works. Python 3.14+ is NOT supported because ray, a transitive dependency of vLLM, does not yet publish `cp314` wheels)
- Python 3.11–3.13 (`.python-version` pins 3.13 for local/dev bootstrap; any 3.11, 3.12, or 3.13 interpreter works. Python 3.14+ is NOT supported because ray, a transitive dependency of vLLM, does not yet publish `cp314` wheels)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

freakin ray. we don't even do distributed stuff yeah?

binaryaaron and others added 2 commits May 7, 2026 17:56
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Aaron Gonzales <aagonzales@nvidia.com>
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.

2 participants