Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercises do not work in the recommended docker image (conan too old, 1.28.1, but 1.32.0 required at least) #71

Open
lpapp opened this issue Feb 19, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@lpapp
Copy link

lpapp commented Feb 19, 2021

I practically cannot run the first example (Exercise : Consume with CMake - https://academy.jfrog.com/path/conan/conan-essentials/583095) because the Conan version of the recommended docker is 1.28.1, but 1.32.0 is the minimum version required. I think it would be better to provide a docker image that works out of the box. Failing that, at least instructions on how to upgrade conan in our containers or steps how to lower the requirements.

conan@52dc4eae7f13:~/training/consumer/build$ conan install ..
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=7
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

ERROR: poco/1.9.4: Cannot load recipe.
Error loading conanfile at '/home/conan/.conan/data/poco/1.9.4///export/conanfile.py': Current Conan version (1.28.1) does not satisfy the defined one (>=1.32.0).
conan@52dc4eae7f13:~/training/consumer/build$

@lpapp lpapp changed the title Mismatch between the Conan version in the docker and required Exercises do not work in the recommended docker image (conan too old, 1.28.1, but 1.32.0 required at least) Feb 19, 2021
@solvingj solvingj self-assigned this Feb 19, 2021
@solvingj solvingj added the bug Something isn't working label Feb 19, 2021
@solvingj
Copy link
Contributor

Thank you for reporting!

This is indeed unfortunate. Next week, I will test the training exercises against the latest Conan. In the meantime, I've created this PR which I will merge once I have a chance to test.

#72

Feel free to pull this and test it locally, hopefully it will unblock you from the training. If it works, please report back for others.

Also, it seems likely this problem will come up again, so will also be giving thought to the best way to manage it long term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants