Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] conan graph info with tools.build:download_source fails for editable packages #15003

Closed
dezajno opened this issue Oct 23, 2023 · 2 comments · Fixed by #15004
Closed

[bug] conan graph info with tools.build:download_source fails for editable packages #15003

dezajno opened this issue Oct 23, 2023 · 2 comments · Fixed by #15004

Comments

@dezajno
Copy link

dezajno commented Oct 23, 2023

Environment details

  • Operating System+version: Ubuntu 20.04.6 LTS
  • Compiler+version: not applicable
  • Conan version: 2.0.13
  • Python version: 3.8.10

Steps to reproduce

  1. Set up a conan project A
  2. Set up a conan project B, with a dependency to A
  3. Add A as an editable package using conan editable add <path/to/A>
  4. Make sure conan install ... works as expected in project B, using A as an editable package
  5. conan graph info <path/to/B> --conf tools.build:download_source=True --> Should succeed but fails

Logs

ERROR: Recipe '<recipe-of-A>' not found

@memsharded
Copy link
Member

memsharded commented Oct 23, 2023

Thanks very much @dezajno for your report.

Indeed there was a gap when both things happened. I am submitting #15004, so setting download_source=True conf will not make the command fail. Planned for next 2.0.14 release.

@memsharded
Copy link
Member

Fixed in #15004 for next Conan 2.0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants