Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
traversaro opened this issue Oct 29, 2024 · 4 comments
Labels

Comments

@traversaro
Copy link

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

PR #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

.

@traversaro traversaro added the bug label Oct 29, 2024
@traversaro traversaro changed the title pybind11-global is noarch: python, but installs minor-version specific version of the headers. pybind11-global is noarch: python, but installs python minor-version specific version of the headers. Oct 29, 2024
@traversaro traversaro changed the title pybind11-global is noarch: python, but installs python minor-version specific version of the headers. pybind11-global is noarch: python, but installs python minor-version specific version of the headers and headers and CMake files in a location not compatible with Windows Oct 29, 2024
@traversaro traversaro changed the title pybind11-global is noarch: python, but installs python minor-version specific version of the headers and headers and CMake files in a location not compatible with Windows pybind11-global is noarch: python, but installs python minor-version specific version of the headers and headers and CMake files in a location that is not the usual one inWindows Oct 29, 2024
@traversaro traversaro changed the title pybind11-global is noarch: python, but installs python minor-version specific version of the headers and headers and CMake files in a location that is not the usual one inWindows pybind11-global is noarch: python, but installs python minor-version specific version of the headers Oct 29, 2024
@isuruf
Copy link
Member

isuruf commented Oct 29, 2024

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

@henryiii
Copy link
Contributor

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

@traversaro
Copy link
Author

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.

@traversaro
Copy link
Author

Fixed in #108 (I had missed the PR).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants