Closed dornbirndevelops closed 1 year ago
docs were also updated https://github.com/conan-io/docs/pull/3025
nevermind. just saw in the documentation that tool_requires and test_requires can also be used in the requirements method.
Yes, it can go in 2.0 in requirements()
method too, those 2 functions are executed sequentially.
However I think it would be cleaner if it is in build_requirements()
instead, that is recommended, I'd suggest re-opening and letting @czoido who wrote this part decide, maybe it was intentioned, maybe not.
Yes, I think we can reopen, this is a mistake and was not intentional, and I will have a look at the docs and this repo if we have to change any more. Thanks a lot @dornbirndevelops for reporting
according to the documentation, tool_requires usage should be in build_requirements method