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

editable shouldn't download sources #15004

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Oct 23, 2023

Changelog: Bugfix: tools.build:download_source=True will not fail when there are editable packages.
Docs: conan-io/docs#3448

Close #15003

Note I have opted for not trying to do the download. The download can be a destructive action, removing local changes, which defeats the purpose of editables. conan source must be manually called by users on the editable explicitly, but it will not be called by the consumers install even if tools.build:download_source=True.

@AbrilRBS
Copy link
Member

AbrilRBS commented Oct 24, 2023

I don't think we should omit docs on this one, maybe a note to clarify this behavaiour would be nice? It might be suprising behaviour for people that run this if they expected all sources to be fetched.

@franramirez688 franramirez688 merged commit f36b629 into conan-io:release/2.0 Oct 25, 2023
@memsharded memsharded deleted the fix/editable_download_source branch October 25, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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