Skip to content

feat(core-conan-hello): add Conan dependency provider sample - #86

Merged
henryiii merged 3 commits into
mainfrom
feat/core-conan-hello
Nov 4, 2026
Merged

henryiii merged 3 commits into
mainfrom
feat/core-conan-hello

Conversation

@henryiii

@henryiii henryiii commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🤖 AI text below 🤖

Adds core-conan-hello: a pybind11 module that gets fmt from Conan. It uses the cmake-conan dependency provider (conan_provider.cmake, copied from develop2). scikit-build-core loads it through cmake.define.CMAKE_PROJECT_TOP_LEVEL_INCLUDES, and conan is a build requirement. Conan runs during configure, so it uses the same compiler and build type as the rest of the build.

The sample is added to the dist nox session and to the cibuildwheel matrix. It was built and tested locally on macOS arm64.

Motivated by pypa/cibuildwheel#2564.

henryiii and others added 2 commits November 4, 2026 12:49
Uses cmake-conan's dependency provider via CMAKE_PROJECT_TOP_LEVEL_INCLUDES
to get fmt from Conan during the CMake configure step.

Assisted-by: ClaudeCode:claude-opus-5-5
@henryiii
henryiii force-pushed the feat/core-conan-hello branch from 61b550c to ffa80a3 Compare November 4, 2026 17:49
Assisted-by: ClaudeCode:claude-opus-5-5
@henryiii
henryiii marked this pull request as ready for review November 4, 2026 18:31
@henryiii
henryiii merged commit d58b85c into main Nov 4, 2026
17 checks passed
@henryiii
henryiii deleted the feat/core-conan-hello branch November 4, 2026 18:31
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.

1 participant