0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-05-12 23:51:55 +00:00
renovatebot_renovate/lib/modules/manager/conan/readme.md
TobiaszSML 564ee83fb7
feat(conan): Add support for lockfile maintenance (#28174)
Co-authored-by: Damian E <dus7eh@gmail.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-04-08 19:04:47 +00:00

1.3 KiB

!!! 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 and also updates conan.lock files too if found.

How it works:

  1. Renovate searches in each repository for any conanfile.txt or conanfile.py file
  2. Renovate extracts existing dependencies from:
    • the [requires] and [build_requires] sections in the conanfile.txt format
    • the requirements() and build_requirements() functions in the conanfile.py format
    • and the python_requires, requires and build_requires variables in the conanfile.py format
  3. Renovate resolves the dependency's version using the Conan v2 API
  4. If Renovate finds an update, Renovate will update conanfile.txt or conanfile.py
  5. Renovate also updates conan.lock file if exists

Enabling Conan updating

Renovate updates Conan packages by default.