conda-forge / pybind11-feedstock

A conda-smithy repository for pybind11.
BSD 3-Clause "New" or "Revised" License
5 stars 23 forks source link

pybind11-global is noarch: python, but installs python minor-version specific version of the headers #107

Open traversaro opened 3 weeks ago

traversaro commented 3 weeks ago

Solution to issue cannot be found in the documentation.

Issue

PR https://github.com/conda-forge/pybind11-feedstock/pull/84 changed the pybind11-global package in to be a noarch: python package, but it seems that contains headers that are installed in include/python3.13/, see https://conda-metadata-app.streamlit.app/?q=conda-forge%2Fnoarch%2Fpybind11-global-2.13.6-pyh085cc03_1.conda .

Installed packages

pybind11-global-2.13.6-pyh085cc03_1

Environment info

.

isuruf commented 3 weeks ago

I'm not sure why we have the headers duplicated in include/pybind11 and include/python3.13/pybind11_global/pybind11

henryiii commented 3 weeks ago

The "global" package installs both, we don't break it up further. We could just delete the python specific ones here, perhaps?

traversaro commented 3 weeks ago

I was also confused why the headers in Windows were installed in %CONDA_PREFIX%/include and not %CONDA_PREFIX%/Library/include, but I guess this is because Python headers are installed in %CONDA_PREFIX%/include.