nmos-cpp icon indicating copy to clipboard operation
nmos-cpp copied to clipboard

Conan version

Open garethsb opened this issue 1 year ago • 2 comments

Latest Conan version is 2.4.1. DBus recipe now requires Conan >=2.2.0.

I also misunderstood that the version specifier ~=2.0.5 was equivalent to >=2.0.5,<3, whereas in fact it is like >=2.0.5,==2.0.*, so we were never going to fetch 2.1 or higher versions.

Now that we don't depend on a specific patch version however, we can use ~= and get the behaviour we want...

Therefore I think we should change guidance in docs from:

pip install --upgrade conan~=2.0.5

to:

pip install --upgrade conan~=2.2

garethsb avatar Jun 24 '24 15:06 garethsb

Thanks @garethsb; we will update the doc; now using Conan 2.4.1

pip install --upgrade conan~=2.0.5 to pip install --upgrade conan~=2.4

lo-simon avatar Jun 24 '24 16:06 lo-simon

@lo-simon there are still install commands in both docs and the GitHub action workflow using the ~=x.y.z form which is probably not desirable?

garethsb avatar Sep 06 '25 17:09 garethsb