conan-io / conan-io/docs

Conan workflow does not work with conan-center index

Open
#2,529 4 comments 0 reactions 1 assignee Claimed by @memsharded View on GitHub
stage: triaging
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

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

```$ conan source diligent-tools/2.5.2@andrei/test --source-folder=tmp/source
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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.