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
Unfortunately, this doesn't work for a python-require package. I have tried with the following:
def some_function():
pass
class MyPythonReq(ConanFile):
name = "python_tool"
package_type = "python-require"
package_id_embed_mode = "unrelated_mode"
package_id_non_embed_mode = "unrelated_mode"
package_id_unknown_mode = "unrelated_mode"
If one of my packages consumes this python-requirement, the package ID of the consumer changes if the version of python_tool changes. We would like to be able to set it in unrelated_mode using attributes.
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
What is your suggestion?
Hi,
For regular Conan packages, we can change the package_id mode with attributes, such as:
Unfortunately, this doesn't work for a python-require package. I have tried with the following:
If one of my packages consumes this python-requirement, the package ID of the consumer changes if the version of
python_tool
changes. We would like to be able to set it in unrelated_mode using attributes.Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: