diff --git a/recipes/pybind11_json/all/conanfile.py b/recipes/pybind11_json/all/conanfile.py index 829dedced7271..f8dd2461a9ee5 100644 --- a/recipes/pybind11_json/all/conanfile.py +++ b/recipes/pybind11_json/all/conanfile.py @@ -23,8 +23,8 @@ def layout(self): basic_layout(self, src_folder="src") def requirements(self): - self.requires("nlohmann_json/3.11.2") - self.requires("pybind11/2.10.4") + self.requires("nlohmann_json/[>=3.9 <4]") + self.requires("pybind11/[>=2.6 <3]") def package_id(self): self.info.clear()