Skip to content

Migrate to pyproject.toml#9079

Merged
kmaehashi merged 46 commits into
cupy:mainfrom
EarlMilktea:migrate-pyproject-ss
May 21, 2025
Merged

Migrate to pyproject.toml#9079
kmaehashi merged 46 commits into
cupy:mainfrom
EarlMilktea:migrate-pyproject-ss

Conversation

@EarlMilktea
Copy link
Copy Markdown
Member

Closes #6986. Related to #7577 .

@EarlMilktea EarlMilktea force-pushed the migrate-pyproject-ss branch from 1ff7649 to a996bc7 Compare April 3, 2025 12:15
@kmaehashi kmaehashi self-assigned this Apr 4, 2025
@kmaehashi kmaehashi added cat:enhancement Improvements to existing features prio:high to-be-backported Pull-requests to be backported to stable branch labels Apr 4, 2025
@EarlMilktea EarlMilktea marked this pull request as ready for review April 4, 2025 08:31
Copy link
Copy Markdown
Member

@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! I've tested locally but it seems incremental compilation is no longer working, even if --no-build-isolation? (edit: this should be now resolved by d0da597)

Comment thread .pfnci/linux/tests/actions/build.sh
Comment thread install/cupy_builder/cupy_setup_build.py Outdated
Comment thread pyproject.toml Outdated
Comment thread pyproject.toml Outdated
e.g., cupyx/cusolver.cpp, cupyx/scipy/ndimage/_bbox_slices.cpp
kmaehashi
kmaehashi previously approved these changes Apr 30, 2025
@kmaehashi
Copy link
Copy Markdown
Member

Thanks @EarlMilktea! I've pushed few minor changes, and now confirmed python -m build --sdist --wheel generates the same archive contents as python setup.py {sdist,bdist_wheel}. Let's move on to the cupy-release-tools fixes!

@kmaehashi
Copy link
Copy Markdown
Member

/test mini

@kmaehashi
Copy link
Copy Markdown
Member

/test mini

kmaehashi
kmaehashi previously approved these changes May 1, 2025
Copy link
Copy Markdown
Member

@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.

Pushed some more fixes. CIs are now green 🎉

@kmaehashi
Copy link
Copy Markdown
Member

kmaehashi commented May 19, 2025

@kmaehashi
Copy link
Copy Markdown
Member

/test mini

@kmaehashi
Copy link
Copy Markdown
Member

Test failures are unrelated. Merging!

@kmaehashi kmaehashi merged commit 3b9c58d into cupy:main May 21, 2025
62 of 63 checks passed
@kmaehashi kmaehashi added this to the v14.0.0a2 milestone May 21, 2025
@chainer-ci
Copy link
Copy Markdown
Member

@kmaehashi Failed to backport automatically.


Not cleanly cherry-picked

@EarlMilktea EarlMilktea deleted the migrate-pyproject-ss branch May 21, 2025 08:05
kmaehashi added a commit to kmaehashi/cupy that referenced this pull request May 21, 2025
kmaehashi added a commit to kmaehashi/cupy that referenced this pull request May 29, 2025
gpinkert pushed a commit to ROCm/cupy that referenced this pull request Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:enhancement Improvements to existing features prio:high to-be-backported Pull-requests to be backported to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pyproject.toml

3 participants