Exercise issue with bzip2 lib. Expected version: 1.33.0, current version 1.28.1
- Dominant language
- Python
- Stars
- 63
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Hello.
I am facing issues with the tutorial of conan. Due to updates in libs, required version of conan is 1.33.0, but, in the image I downloaded, it is still 1.28.1.
`bzip2/1.0.8: Downloaded recipe revision 0`
`ERROR: bzip2/1.0.8: Cannot load recipe.`
`Error loading conanfile at '/home/conan/.conan/data/bzip2/1.0.8/_/_/export/conanfile.py': Current Conan version (1.28.1) does not satisfy the defined one (>=1.33.0).`
`conan@33bcf2d9910c:~/training/consumer/build$ vi ../`
`.gitignore CMakeLists.txt build/ conanfile.txt timer.cpp `
`conan@33bcf2d9910c:~/training/consumer/build$ vi ../`
`.gitignore CMakeLists.txt build/ conanfile.txt timer.cpp `
`conan@33bcf2d9910c:~/training/consumer/build$ vi ../conanfile.txt `
`conan@33bcf2d9910c:~/training/consumer/build$ vi ../conanfile.txt `
`conan@33bcf2d9910c:~/training/consumer/build$ vi ../conanfile.txt `
`conan@33bcf2d9910c:~/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: bzip2/1.0.8: Cannot load recipe.`
`Error loading conanfile at '/home/conan/.conan/data/bzip2/1.0.8/_/_/export/conanfile.py': Current Conan version (1.28.1) does not satisfy the defined one (>=1.33.0).`
Currently, I am running `pip install conan --upgrade` to make it work, but I think it would be great to update the images :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the training image definition and checking which Conan version it installs. Use the reported conanfile.txt flow and run `conan install ..` to reproduce the bzip2 recipe failure. Done means the image provides Conan 1.33.0 or newer and the tutorial installation completes without the version error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100