I have run into the issue multiple times of a conanfile.py being updated in the conan-center-index and it breaking a local build of a package. While I'm aware of how someone can specify which version of the package should be installed, what isn't clear is the best way to freeze the conanfile.py version of a certain package.
Is this possible at all? If not what is the best way to freeze a conanfile.py version of a recipe in this repo? Is the only option a copy of the packages to an internal server?
You can enable revision mode in your conan.conf (revisions_enabled = True). Then you can require a specific recipe revision (RREV).
https://docs.conan.io/en/latest/versioning/revisions.html
Most helpful comment
You can enable revision mode in your
conan.conf(revisions_enabled = True). Then you can require a specific recipe revision (RREV).https://docs.conan.io/en/latest/versioning/revisions.html