Skip to content

Bug Report: pip install fails on Windows during wheel building #74

Description

@gbomarito

Bug Report: pip install fails on Windows during wheel building

Issue Description

Users are experiencing build failures when installing bingo-nasa via pip on Windows systems. The installation fails during the wheel building process with CMake errors related to missing pybind11 configuration files.

Environment

  • OS: Windows
  • Installation method: pip install bingo-nasa
  • Python version: Issue reported on newer Python versions; Python 3.8 appears to work as a workaround

Error Details

The installation proceeds normally until wheel building begins:

Building wheels for collected packages: bingo-nasa
  Building wheel for bingo-nasa (pyproject.toml): started
  Building wheel for bingo-nasa (pyproject.toml): finished with status 'error'
Failed to build bingo-nasa

Primary CMake Error:

CMake Error at CMakeLists.txt:54 (find_package):
  Could not find a package configuration file provided by "pybind11" with any
  of the following names:
 
    pybind11Config.cmake
    pybind11-config.cmake
 
  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.

Additional Warning:

SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated

Workaround

Users have reported success using Python 3.8 instead of newer Python versions.

Suggested Investigation Areas

  1. pybind11 dependency resolution - The CMake configuration isn't finding pybind11 properly on Windows
  2. Python version compatibility - Newer Python versions may have compatibility issues with the current build configuration
  3. Windows-specific build requirements - May need Windows-specific build dependencies or CMake configuration
  4. pyproject.toml configuration - The license deprecation warning suggests potential issues with the project configuration

Acceptance Criteria

  • pip install bingo-nasa completes successfully on Windows with recent Python versions
  • CMake properly locates pybind11 dependencies during build
  • Address setuptools deprecation warning for project license
  • Add Windows build testing to CI/CD

Priority

Medium-High - This affects Windows users' ability to install the package through the standard pip installation method.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions