Automated Dependency Updates for Conan
Renovate supports updating Conan dependencies.
Enabling¶
Conan functionality is currently in beta testing so you must opt in to test it out. To enable it, add a configuration like this to either your bot config or your renovate.json
:
{
"conan": {
"enabled": true
}
}
If you find any bugs, please raise a bug report. If you find that it works well, then feedback on that would be welcome too.
File Matching¶
By default, Renovate will check any files matching the following regular expression: (^|/)conanfile\.(txt|py)$
.
For details on how to extend a manager's fileMatch
value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: conan
.
Additional Information¶
Warning
The Conan package manager is disabled by default due to slowness in the Conan API. We recommend you only enable it for low volume experimental purposes until issue #14170 is resolved.
Renovate can upgrade dependencies in conanfile.txt
or conanfile.py
files.
How it works:
- Renovate searches in each repository for any
conanfile.txt
orconanfile.py
file - Renovate extracts existing dependencies from:
- the
[requires]
and[build_requires]
sections in theconanfile.txt
format - the
requirements()
andbuild_requirements()
functions in theconanfile.py
format - and the
python_requires
,requires
andbuild_requires
variables in theconanfile.py
format - Renovate resolves the dependency's version using the Conan v2 API
- If Renovate finds an update, Renovate will update
conanfile.txt
orconanfile.py
Enabling Conan updating
Renovate updates Conan packages by default.