[x] I've followed the PEP8 style guides for Python code.
[ ] I've opened another PR in the Conan docs repo to the develop branch, documenting this one.
On test_package/CMakeLists.txt should not appear any find_package of transitive dependencies (dependencies of the currently tested package) Delegate on conan cmake generators to find dependencies.
Also, ordered optional requirements and build_requirement methods on template
Changelog: Fix: Avoid
find_package
's of transitive dependencies ontest_package
generated bycmake_lib
template. Docs: omitClose #16450
develop
branch, documenting this one.On test_package/CMakeLists.txt should not appear any find_package of transitive dependencies (dependencies of the currently tested package) Delegate on conan cmake generators to find dependencies.
Also, ordered optional requirements and build_requirement methods on template