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
Given a project that requires openssl 1.1.1.t and also transitively 1.1.1s:
from conan import ConanFile
class Mwe(ConanFile):
def requirements(self):
self.requires("grpc/1.50.0#d2c60eb68fdeae68328741258897b5c8")
self.requires("openssl/1.1.1t#7d9fc949345908e1b8609d9d9f528a08")
With it, I can reproduce the error from #13368. It looks like Conan can't order these version numbers.
$ conan lock create .
ERROR: Version conflict: grpc/1.50.0->openssl/1.1.1s, ->openssl/1.1.1t.
Thanks very much @AtnNn for the detailed report, it helped to reproduce the issue.
It was indeed a bug in lockfiles, I am proposing #13597 to fix it, hopefully for next 2.0.3 release
Environment details
Steps to reproduce
Given a project that requires openssl 1.1.1.t and also transitively 1.1.1s:
With it, I can reproduce the error from #13368. It looks like Conan can't order these version numbers.
Changing the last line to
Causes
conan lock create .
to succeed, but thenIs this a bug? What is the proper way to depend on a different version of openssl? Thanks!
Logs
No response
The text was updated successfully, but these errors were encountered: