You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run conan create . abseil/20211102.0@ -tf test_v1_package
Logs (Executed commands with output) (Include/Attach if Applicable)
ERROR: abseil/20200923.3 (test package): Error in build() method, line 12
cmake.definitions["CXX20_SUPPORTED"] = tools.Version(self.deps_cpp_info["abseil"].version) > "20210324.2"
ConanException: Invalid version 'None'
The text was updated successfully, but these errors were encountered:
SpaceIm
changed the title
[bug] Regression: self.deps_cpp_info[dependency].version is None in build()` method
[bug] Regression: self.deps_cpp_info[dependency].version is None in build() method
Aug 4, 2022
SpaceIm
changed the title
[bug] Regression: self.deps_cpp_info[dependency].version is None in build() method
[bug] self.deps_cpp_info[dependency].version is None in build() method of test_package if non-standard folder name
Aug 4, 2022
conan create . abseil/20211102.0@ -tf test_v1_package always fails with the same error even if I change folder name to test_package, despite conanfile.py of this test package is identical to the one of master branch. It's worth noting that conan-io/conan-center-index#12056 migrates abseil recipe to conan v2, so maybe a weird interaction between a conan v2 recipe, conan create, and test_package where the class inherits from conans.ConanFile instead of conan.ConanFile?
SpaceIm
changed the title
[bug] self.deps_cpp_info[dependency].version is None in build() method of test_package if non-standard folder name
[bug] self.deps_cpp_info[dependency].version is None in build() of conan v1 test package in a conan v2 recipe
Aug 4, 2022
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
test_v1_package
of a recipe, write something likefoo = tools.Version(self.deps_cpp_info[recipename].version)
inbuild()
see conan-io/conan-center-index#12056 for a more complex example:
conan create . abseil/20211102.0@ -tf test_v1_package
Logs (Executed commands with output) (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered: