Skip to content

Fix scikit-build-core warning: use build.targets instead of cmake.targets - #47

Merged
hzhangxyz merged 2 commits into
mainfrom
copilot/fix-python-package-warning
Nov 27, 2025
Merged

Fix scikit-build-core warning: use build.targets instead of cmake.targets#47
hzhangxyz merged 2 commits into
mainfrom
copilot/fix-python-package-warning

Conversation

Copilot AI commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Fixes WARNING: Use build.targets instead of cmake.targets for scikit-build-core >= 0.10 during Python package build.

  • Updated deprecated cmake.targets to build.targets in pyproject.toml
[tool.scikit-build]
# Before
cmake.targets = ["apyds"]

# After
build.targets = ["apyds"]
Original prompt

This section details on the original issue you should resolve

<issue_title>Fix warning when build python package</issue_title>
<issue_description>WARNING: Use build.targets instead of cmake.targets for scikit-build-core >= 0.10</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…d cmake.targets

Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix warning when building Python package Fix scikit-build-core warning: use build.targets instead of cmake.targets Nov 27, 2025
Copilot AI requested a review from hzhangxyz November 27, 2025 12:12
@hzhangxyz
hzhangxyz marked this pull request as ready for review November 27, 2025 12:12
@hzhangxyz
hzhangxyz merged commit cc8da7a into main Nov 27, 2025
73 checks passed
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.

Fix warning when build python package

2 participants