ESSS / conda-devenv

A conda tool to work with multiple projects in development mode.
MIT License
121 stars 19 forks source link

Fix platform selectors of included files when rendering lock files #183

Closed nicoddemus closed 1 year ago

nicoddemus commented 1 year ago

The platform selectors ([win], [linux], etc) for files included via includes: were not being honored when rendering lock files for all platforms.

The bug was that the CondaPlatform instance, which configures selectors explicitly, was not being passed along to the function which handled the includes directive.

To make this error less likely to happen again, the conda_platform parameter is no longer optional.

I plan to release directly from this branch, given this is just a bug fix.