Skip to content

Conan workflow does not work with conan-center index #2529

Open
@AndreyMlashkin

Description

@AndreyMlashkin

I am trying to run conan workflow with one of the recipes and it does not work for me. Question is why?

conan source . diligent-tools/2.5.2@andrei/test --source-folder=tmp/source &&
conan install . --install-folder=tmp/build -pr clang &&
conan build . --source-folder=tmp/source --build-folder=tmp/build &&
conan package . --source-folder=tmp/source --build-folder=tmp/build --package-folder=tmp/package

Traceback (most recent call last):
  File "/home/andrei/.local/lib/python3.9/site-packages/conans/client/command.py", line 2238, in run
    method(args[0][1:])
  File "/home/andrei/.local/lib/python3.9/site-packages/conans/client/command.py", line 842, in source
    raise ArgumentError(None,
argparse.ArgumentError: 'conan source' doesn't accept a reference anymore. If you were using it as a concurrency workaround, you can call 'conan install' simultaneously from several different processes, the concurrency is now natively supported. The path parameter should be a folder containing a conanfile.py file.

ERROR: 'conan source' doesn't accept a reference anymore. If you were using it as a concurrency workaround, you can call 'conan install' simultaneously from several different processes, the concurrency is now natively supported. The path parameter should be a folder containing a conanfile.py file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions