From 9abd63c2d56504ebd4af00e3ea41e8baf17b19d8 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 15 Apr 2022 16:57:38 +0200 Subject: [PATCH] fix: `validate()` replaced with `configure()` to raise errors during `conan install` in Conan 1.X --- conanfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 0d7c2dd3..2cfa1810 100644 --- a/conanfile.py +++ b/conanfile.py @@ -110,7 +110,8 @@ class MPUnitsConan(ConanFile): if self.options.build_docs: self.tool_requires("doxygen/1.9.2") - def validate(self): + # TODO Replace with `valdate()` for Conan 2.0 (https://github.com/conan-io/conan/issues/10723) + def configure(self): compiler = self.settings.compiler version = Version(self.settings.compiler.version) if compiler == "gcc":