-
Notifications
You must be signed in to change notification settings - Fork 69
Fix python3 find package #394
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
Conversation
06edc67 to
035576e
Compare
dzenanz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good.
035576e to
37fdc68
Compare
|
@dzenanz Thanks for the comment. I made this change, and also will be forcing ITK to 3.7 or greater soon. |
|
🎉 Published on https://examples.itk.org as production |
37fdc68 to
e79ccd9
Compare
|
@hjmjohnson could this please be rebased on |
The CI workflow already uses 3.9, and Python 3.7 is 5 months from deprecation, so if a minimum version needs to be enforced, maybe it should be 3.8. At the same time:
|
e79ccd9 to
22a225c
Compare
22a225c to
9bef98e
Compare
|
FYI: ccmake -GNinja -B ~/Dashboard/src/SphinxExamples-bld -S ~/Dashboard/src/ITK/Modules/Remote/SphinxExamples;
cd ~/Dashboard/src/SphinxExamples-bld && ninjaThis builds successfully. |
e40bf6e to
0ac20c0
Compare
|
This is also working: ccmake "-DCMAKE_BUILD_TYPE:STRING=Release" "-GNinja" -B SphinxExamples-bld -S ~/Dashboard/src/ITK/Modules/Remote/SphinxExamples/Superbuild
cd SphinxExamples-bld
ninja |
Now that cmake FindPython3 can be universally used, prefer to only use that set of variable names for identifying the python executables. Intial procesing with manual cleanup by: ITK/Utilities/Maintenance/FindPython3_ModernizeCMake.sh Finding the correct python version should always respect the Python3_ROOT_DIR variable provided during building.
0ac20c0 to
54c4d29
Compare
|
This works locally, but the GitHub actions are all broken for all PRS. |
Update to remove deprecated find_package(PythonLib) and find_package(PythonInterp) and the associated variables.
Use find_package(Python3) and its associated variables.