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
After syncing with the team, we are going to deprecate this.
Even if it is slightly more convenient for some users there are some downsides:
it is ugly for an api to have duplicated things, it can be confusing for users
The api inputs cannot be Path objects in general, as Conan internally uses old-style paths
This cannot be changed, it would be breaking. It can be "fixed" and add adaptors in the definition points, but this surely be fragile and require time to polish, creating some instability.
Users might have issues if they obtain Path objects via the Conan interface, but Conan failing when passing those objects as inputs.
As this was never really documented, it will be marked for deprecation and removed in few releases. Users wanting to use Path in their recipes can perfectly do Path(self.xxxx_folder), it is very simple and explicit in the recipe.
Related to conan-io/docs#2753
The
self.package_path
is not documented but looks stable and it usesPath
library, which is easier thanos.path
usage./cc @jellespijker
The text was updated successfully, but these errors were encountered: