-
Notifications
You must be signed in to change notification settings - Fork 568
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
Bump the minimum pybind11 that we need #2453
Conversation
Recent changes (2347) seem to rely on some pybind declarations that are newer than the minimum version we checked for. Bump the pybind11 required version.
Did this work, @sobotka ? |
Checking now. Hold tight. |
@lgritz clean cmake directly to your Topmost error:
|
Can you send me the full verbose output of a fresh build from scratch? If you use the makefile wrapper:
|
Sorry, I meant:
|
It's not enough just to install the patch, you need to start from the initial cmake config step in order to get it to download the right pybind11 version. |
Trying another clean directory cmake build. Will ship log if error. |
That can't be the whole thing, it doesn't show the cmake config or generation steps at all. |
Replacing
with
in |
Yes, Troy and I had a long off-ticket conversation. There was a bug, as cited above, where if you had pybind11 on your system but it was too old a version, it wouldn't do the auto-download like it was supposed to (and like it did, when it didn't find any pybind11 on your system). I will amend the PR with that fix. |
Amended... Fix logic in pybind11 auto-download: If no pybind11 was found on the system, it would correctly auto-download. I also augmented the logic to print a more helpful message pybind11
|
If no pybind11 was found on the system, it would correctly auto-download. I botched the test where, if a pybind11 was found but was an insufficient version, it would not auto-download as intended. This was just an incorrect test of PYBIND11_INCLUDES when it should have tested PYBIND11_FOUND. I also augmented the logic to print a more helpful message pybind11 is found but is insufficient version, and furthermore if it's found in the ext/ area (the auto-downloaded one) but still too old, it will remind you that it needs to be blown away and refreshed. You'll see something like this in the cmake configure output: -- Pybind11 was found in /Users/lg/code/oiio/oiio.lg/ext/pybind11/include -- ... but was version 2.4.3 (minimum is 2.4.4) -- Try removing ext/pybind11 and let me download a newer version.
Recent changes (2347) seem to rely on some pybind declarations that are newer than the minimum version we checked for. Bump the pybind11 required version. If no pybind11 was found on the system, it would correctly auto-download. I botched the test where, if a pybind11 was found but was an insufficient version, it would not auto-download as intended. This was just an incorrect test of PYBIND11_INCLUDES when it should have tested PYBIND11_FOUND. I also augmented the logic to print a more helpful message pybind11 is found but is insufficient version, and furthermore if it's found in the ext/ area (the auto-downloaded one) but still too old, it will remind you that it needs to be blown away and refreshed. You'll see something like this in the cmake configure output: -- Pybind11 was found in /Users/lg/code/oiio/oiio.lg/ext/pybind11/include -- ... but was version 2.4.3 (minimum is 2.4.4) -- Try removing ext/pybind11 and let me download a newer version.
Recent changes (2347) seem to rely on some pybind declarations that are newer than the minimum version we checked for. Bump the pybind11 required version. If no pybind11 was found on the system, it would correctly auto-download. I botched the test where, if a pybind11 was found but was an insufficient version, it would not auto-download as intended. This was just an incorrect test of PYBIND11_INCLUDES when it should have tested PYBIND11_FOUND. I also augmented the logic to print a more helpful message pybind11 is found but is insufficient version, and furthermore if it's found in the ext/ area (the auto-downloaded one) but still too old, it will remind you that it needs to be blown away and refreshed. You'll see something like this in the cmake configure output: -- Pybind11 was found in /Users/lg/code/oiio/oiio.lg/ext/pybind11/include -- ... but was version 2.4.3 (minimum is 2.4.4) -- Try removing ext/pybind11 and let me download a newer version.
Recent changes (2347) seem to rely on some pybind declarations that are newer than the minimum version we checked for. Bump the pybind11 required version. If no pybind11 was found on the system, it would correctly auto-download. I botched the test where, if a pybind11 was found but was an insufficient version, it would not auto-download as intended. This was just an incorrect test of PYBIND11_INCLUDES when it should have tested PYBIND11_FOUND. I also augmented the logic to print a more helpful message pybind11 is found but is insufficient version, and furthermore if it's found in the ext/ area (the auto-downloaded one) but still too old, it will remind you that it needs to be blown away and refreshed. You'll see something like this in the cmake configure output: -- Pybind11 was found in /Users/lg/code/oiio/oiio.lg/ext/pybind11/include -- ... but was version 2.4.3 (minimum is 2.4.4) -- Try removing ext/pybind11 and let me download a newer version.
Recent changes (2347) seem to rely on some pybind declarations that are newer than the minimum version we checked for. Bump the pybind11 required version. If no pybind11 was found on the system, it would correctly auto-download. I botched the test where, if a pybind11 was found but was an insufficient version, it would not auto-download as intended. This was just an incorrect test of PYBIND11_INCLUDES when it should have tested PYBIND11_FOUND. I also augmented the logic to print a more helpful message pybind11 is found but is insufficient version, and furthermore if it's found in the ext/ area (the auto-downloaded one) but still too old, it will remind you that it needs to be blown away and refreshed. You'll see something like this in the cmake configure output: -- Pybind11 was found in /Users/lg/code/oiio/oiio.lg/ext/pybind11/include -- ... but was version 2.4.3 (minimum is 2.4.4) -- Try removing ext/pybind11 and let me download a newer version.
Recent changes (2347) seem to rely on some pybind declarations that
are newer than the minimum version we checked for. Bump the pybind11
required version.