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
Packages with python_requires in conan2 does not automatically look in remotes, even though this is default behavior for other commands like conan create
conan inspect .
ERROR: Error loading conanfile at '/home/user/repos/package/conanfile.py': Version range '>=0.0.1,<1.0' from requirement 'python_requires_package/[>=0.0.1,<1.0]@company, Traits: build=False, headers=True, libs=True, run=False, visible=True' required by 'py_require' could not be resolved
For conan1 the behaviour is opposite, it looks in remotes
conan inspect . -a version
python_requires_package/0.1.0+39.sha.1c47355@company: Not found in local cache, looking in remotes...
python_requires_package/0.1.0+39.sha.1c47355@company: Trying with 'conan'...
Downloading conanmanifest.txt completed [0.06k]
Downloading conanfile.py completed [3.05k]
python_requires_package/0.1.0+39.sha.1c47355@company: Downloaded recipe revision c525c55123b4d0912b0fbc5e2f1f9b10
version: 0.0.2+dirty.0.sha.84accf8
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment details
Steps to reproduce
Packages with python_requires in conan2 does not automatically look in remotes, even though this is default behavior for other commands like conan create
For conan1 the behaviour is opposite, it looks in remotes
Logs
No response
The text was updated successfully, but these errors were encountered: