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
Traceback (most recent call last):
File "/home/myuser/.local/bin/conan-check-updates", line 8, in <module>
sys.exit(main())
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/cli.py", line 186, in wrapper
loop.run_until_complete(func(*args, **kwargs))
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/cli.py", line 204, in main
results = await check_updates(
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/main.py", line 69, in check_updates
refs = inspect_requires_conanfile(conanfile)
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/conan.py", line 262, in inspect_requires_conanfile
return inspect_requires_conanfile_py(conanfile) + inspect_requirements_conanfile_py(
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/conan.py", line 193, in inspect_requirements_conanfile_py
return list(map(ConanReference.parse, refs))
File "/home/myuser/.local/lib/python3.10/site-packages/conan_check_updates/conan.py", line 141, in parse
raise ValueError(f"Invalid Conan reference '{reference}'")
ValueError: Invalid Conan reference 'my_package/1.3.15@myuser/stable", "private'
The text was updated successfully, but these errors were encountered:
Yes this works, thank you. However, the conan file contains another reference to "yaml-cpp/0.7.0@" which seems to be valid and work fine with conan, but conan-check-update shows an error very similar to the original one:
There is no particular reason, it probably was just cut‘n pasted from somewhere. The package does not have a user and channel. When searching with Conan v1 (i.e. conan search …) the @ makes a difference. Without the @ it will search for packages with corresponding name/version, with the @ it will list the properties of this particular package. AFAIR, also installing by hand , i.e. conan install yaml-cpp/0.7.0@ requires the @ to be there.
In one of my conan files I have a private requirement, i.e.
conan-check-update fails with
The text was updated successfully, but these errors were encountered: