Lukas Burgholzer

Results 77 comments of Lukas Burgholzer

> @burgholzer You can omit specifying the version and live with eyesore of the warning. > > ![image](https://github.com/yezz123/setup-uv/assets/9288093/3c05cb4a-cf4a-490c-bd30-1ed8464543bd) > > We actually do that in all of our workflows. However,...

> Sorry, yes I totally miss that 😅 > > If you want dependabot to be able to suggest you a update then, personally i don't see the way other...

> Try `find_package(Python3)` (instead of `find_package(Python)`) just in case. > > Edit: Oh I looked at your PR and you have it. Why do you include the `3.8` though? I...

> I was concerned how `FindPython` marks `COMPATIBLE_VERSION`. It seems to work as major version so it is all ok. Thanks for the clarification. > But why do you need...

> Please run `find_package(Python3)` before importing pybind. Note that `find_package` is directory scoped so it should be in a top level `CMakeLists.txt`. That section is if-guared by [`Python3_FOUND`](https://github.com/pybind/pybind11/blob/b9359ceadbf4d4b22509b684eea107d055b77901/tools/pybind11NewTools.cmake#L25C29-L25C42) so if...

> Yes, it is partially a `pybind` issue, but also using `find_package(Python3)` before `pybind` is perfectly fine and many cases recommended. That ensures that you are finding the python version...

> Or you can use > > ```cmake > set(PYBIND11_FINDPYTHON ON) > find_package(pybind11 CONFIG REQUIRED) > ``` Thanks for the reply. I figured that the warning about the libraries isn't...