Skip to content

Fix Python version requirements in pyproject.toml#9421

Merged
asi1024 merged 3 commits into
cupy:mainfrom
kmaehashi:copilot/fix-f21f3a09-5342-452d-8dd1-3dda49850a5a
Oct 15, 2025
Merged

Fix Python version requirements in pyproject.toml#9421
asi1024 merged 3 commits into
cupy:mainfrom
kmaehashi:copilot/fix-f21f3a09-5342-452d-8dd1-3dda49850a5a

Conversation

@kmaehashi
Copy link
Copy Markdown
Member

Closes #9405.

Copilot AI and others added 2 commits October 4, 2025 16:32
- Remove Python 3.9 classifier from pyproject.toml
- Update requires-python to >=3.10 in pyproject.toml
- Update v14 compatibility matrix in docs to show 3.10~
- Update GitHub pretest workflow to use Python 3.10

Co-authored-by: kmaehashi <[email protected]>
@kmaehashi
Copy link
Copy Markdown
Member Author

/test skip

@kmaehashi kmaehashi changed the title Fix Python version requirements Fix Python version requirements in pyproject.toml Oct 15, 2025
@kmaehashi kmaehashi added this to the v14.0.0rc1 milestone Oct 15, 2025
@kmaehashi
Copy link
Copy Markdown
Member Author

/test skip

@asi1024 asi1024 enabled auto-merge October 15, 2025 07:41
Copy link
Copy Markdown
Member Author

@kmaehashi kmaehashi left a comment

Choose a reason for hiding this comment

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

Thanks for help @asi1024!

Comment thread pyproject.toml
Comment on lines +143 to +149
"UP007", # [*] Use `X | Y` for type annotations
"UP031", # printf-string-formatting
"UP032", # f-string
"UP035", # [*] Import from `collections.abc` instead: `Callable`
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
"UP041", # [*] Replace aliased errors with `TimeoutError`
"UP045", # Use `X | None` for type annotations
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Let's remove these ignores in a separate PR.

@asi1024 asi1024 merged commit 67aaad4 into cupy:main Oct 15, 2025
52 checks passed
This was referenced Oct 15, 2025
@kmaehashi kmaehashi deleted the copilot/fix-f21f3a09-5342-452d-8dd1-3dda49850a5a branch October 17, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Python version requirement in pyproject.toml

3 participants