[WIP] Bug Report: pip install fails on Windows during wheel building#77
Draft
Copilot wants to merge 3 commits into
Draft
[WIP] Bug Report: pip install fails on Windows during wheel building#77Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Co-authored-by: gbomarito <9367793+gbomarito@users.noreply.github.com>
Co-authored-by: gbomarito <9367793+gbomarito@users.noreply.github.com>
Copilot stopped work on behalf of
gbomarito due to an error
September 30, 2025 17:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Analysis Summary:
The issue was in the bingocpp/CMakeLists.txt file at line 54:
find_package(pybind11 CONFIG REQUIRED). When installing via pip, pybind11 is installed as a Python package, but the CMake configuration files might not be easily discoverable, especially on Windows.Complete Solution Implemented:
Enhanced pybind11 Discovery Logic (bingocpp/CMakeLists.txt):
pybind11.get_cmake_dir()pybind11.get_include()to get include pathspybind11::headers(with proper include directories)pybind11::modulepybind11::embedFixed setuptools deprecation warnings (pyproject.toml):
license = {file = "LICENSE.txt"}tolicense = {text = "Apache-2.0"}(SPDX format)"License :: OSI Approved :: Apache Software License"Improved build artifact management (.gitignore):
build/anddist/directories to prevent committing build artifactsCross-Platform Compatibility:
Testing Completed:
Key Benefits:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.