You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And here the conan process starts hanging indefinitely. A fix would be to overwrite the build_requires = " cmake/[>=3.22.0]" of the zlib package to cmake/3.29.0@redacted. I think atleast, because I'm not sure why it hangs.
Or can I overwrite the tools_requires of the python package instead to use another zlib? At this point I can't rebuild and ship the python package. Any ideas? Also is there more documentation on how to do things using the profile, I read the documentation but its incomplete.
I've also tried [replace_tool_requires] on zlib, but since its a transitive dependency it is not affected. Also using force=true doesn't work in the tools_requires() in the conanfile.py.
I'm out of options here. What can I do?
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
Hi @huysentr thanks a lot for taking the time to report your problem
Some more discussion be had about the tool_requires approach, but for now:
I've also tried [replace_tool_requires] on zlib, but since its a transitive dependency it is not affected.
This is unexpected, as it's the basic use-case we implemented this feature for. The main confussion point on this feature is to what profile it might be being applied. As zlib in this case belongs to the build context, this replace_tool_requires should live in the build profile. Could you confirm if this is the case? Thanks!
I think atleast, because I'm not sure why it hangs.
We might want to look into this, as Conan should be able to detect most circular dependency cases and not hang like this, thanks for the heads-up
Quick question: does the !gcc/*: cmake/3.29.0@redacted exist in the "host" profile or in the "build" profile. Because this in the "host" profile is no longer necessary. As the tool_requires live in the "build" profile, they do not create circular dependencies.
The circular dependencies will only happen if this is the "build" profile, not the "host" profile. I think some clarification, specifying both the build and host profiles would be good.
What is your question?
We have a habit of adding cmake to the profiles building the packages.
(there is some circular dependency issues that is fixed with the "!"
Now a dependency python, has a dependency on zlib, this for some reason affects the build requirements. zlib has build_requires = " cmake/[>=3.22.0]"
this causes the following issue:
And here the conan process starts hanging indefinitely. A fix would be to overwrite the build_requires = " cmake/[>=3.22.0]" of the zlib package to cmake/3.29.0@redacted. I think atleast, because I'm not sure why it hangs.
Or can I overwrite the tools_requires of the python package instead to use another zlib? At this point I can't rebuild and ship the python package. Any ideas? Also is there more documentation on how to do things using the profile, I read the documentation but its incomplete.
I've also tried [replace_tool_requires] on zlib, but since its a transitive dependency it is not affected. Also using force=true doesn't work in the tools_requires() in the conanfile.py.
I'm out of options here. What can I do?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: