| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Fixes: #21149
|
|
|
|
| |
Fixes: #21105
|
|
|
|
| |
Fixes: #21070
|
|
|
|
|
|
|
|
|
|
|
| |
Do not set the policy version before recording our internal macros such
as `__Python_add_library`. Otherwise callers get our policy version
instead of theirs. Instead just set the specific policies we need.
Also fix one case in our test suite where we were accidentally
relying on the policy version to be set by `FindPython`.
Fixes: #21042
|
|
|
|
| |
Fixes: #20714
|
| |
|
|
|
|
| |
Fixes: #20674
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an
ordered list, which implementations must be searched for.
Currently possible values are:
* CPython
* IronPython
|
|\
| |
| |
| |
| |
| |
| | |
a7eca04163 FindPython: fix reason failure propagation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4660
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
f39da773ee FindPython: fix python compiler validation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4655
|
| |
| |
| |
| |
| |
| |
| | |
Ensure also the cache of properties is erased in case of multiple
searches.
Fixes: #20626, #20627
|
| |
| |
| |
| | |
`list(REMOVE_DUPLICATES)` is safe on empty lists since 3.14.
|
| | |
|
| |
| |
| |
| | |
Fixes: #20425
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
894fdea2a9 FindPython: remove extra dereference
0b9c9e2c8c FindPython: avoid autoderef in version comparisons
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4610
|
| |
| |
| |
| |
| | |
If the version is not found (e.g., missing headers), this causes a CMake
error about `if(blah VERSION_EQUAL)` being an invalid statement.
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
81beb28752 FindPython: fix handling when FIND_VIRTUALENV == FIRST
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4557
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
81beb28752 FindPython: fix handling when FIND_VIRTUALENV == FIRST
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4557
|
| | |
| | |
| | |
| | | |
Fixes: #20525
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since commit 06d9e67fbd (FindPython: Add capability to specify directly
artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally add the result
variables `Python*_LIBRARY_RELEASE` and `Python*_LIBRARY_DEBUG` to the
cache. They are always computed from other results and so should not be
presented to users in cmake-gui and ccmake to edit.
Issue: #20362
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since commit 06d9e67fbd (FindPython: Add capability to specify directly
artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally expose cache
entries named `_Python...` to users in cmake-gui and ccmake. Mark those
entries as `INTERNAL` to hide them.
Issue: #20362
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To support any python installation, if package 'distutils.sysconfig'
is not available, try to use package 'sysconfig'.
Fixes: #20502
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
63580668a8 FindPython: fix variable spelling error
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4529
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
bf1ecfef7f FindPython: misc. fixes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4519
|
| | |
| | |
| | |
| | |
| | | |
Help: Fix errors regardings HINTS.
Code: Optimize Python signature cache variable to avoid unecessary searchs.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
cc7f116cb4 FindPython: fix regression on version validation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4492
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In commit 3dab4682f6 (FindPython: reduces consumption of resources,
2020-02-10, v3.17.0-rc1~11^2) we accidentally broke the python
executable version validation when the "LOCATION" strategy is used
with the plain `FindPython` module. Fix the logic and add test
cases covering those combinations.
Fixes: #20465
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
1044776472 FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Marc Chevrier <marc.chevrier@gmail.com>
Merge-request: !4462
|
| | | |
|
|/ /
| |
| |
| | |
Fixes: #20362
|
| |
| |
| |
| | |
Fixes: #20408
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 06d9e67fbd (FindPython: Add capability to specify directly
artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally add the result
variables `Python*_LIBRARY_RELEASE` and `Python*_LIBRARY_DEBUG` to the
cache. They are always computed from other results and so should not be
presented to users in cmake-gui and ccmake to edit.
Issue: #20362
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 06d9e67fbd (FindPython: Add capability to specify directly
artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally expose cache
entries named `_Python...` to users in cmake-gui and ccmake. Mark those
entries as `INTERNAL` to hide them.
Issue: #20362
|
| |
| |
| |
| |
| |
| |
| | |
Stores more information in the cache to reduce the number
of sub-processes required on subsequent find_package calls.
Fixes: #20337
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
f6474214b3 FindPython: Add support for version 3.9
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com>
Acked-by: Björn Esser <besser82@fedoraproject.org>
Merge-request: !4225
|
| |
| |
| |
| |
| |
| |
| | |
Development versions of Python 3.9.0 are already out there.
See PEP 596 -- Python 3.9 Release Schedule:
https://www.python.org/dev/peps/pep-0596/
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
fcde42751a FindPython: ensure new Xcode framework for Python3 is detected
dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4198
|
| | |
|
| |
| |
| |
| |
| |
| | |
This variable holds the standard extension suffix for modules.
Fixes: #20150
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
776d27d4a4 FindPython: Extend virtual environment handling by considering conda
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4155
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Add functionality to recognize and use CONDA_PREFIX environment variable
- Add tests for conda virtual environments
- Fixes: #20111
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| | |
fe280e0cda FindPython*: Fix erroneous target properties setting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4154
|
| |
| |
| |
| |
| | |
Property IMPORTED_CONFIGURATIONS for targets Python*::Python
and Python*::Module is not correctly set.
|
|/ |
|
|
|
|
| |
Fixes: #19492
|