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

Tidy up environment.yml file #341

Closed
pont-us opened this issue Oct 7, 2020 · 1 comment
Closed

Tidy up environment.yml file #341

pont-us opened this issue Oct 7, 2020 · 1 comment

Comments

@pont-us
Copy link
Member

pont-us commented Oct 7, 2020

For package build configurations, dependency version specifications must follow conda's package match specification syntax, which differs from the version specification syntax used by conda's command-line tool. Strangely, the version syntax used in environment.yml files doesn't seem to be documented anywhere; however, there is an example environment file in the conda documentation which uses something that looks like the command-line syntax. Nevertheless, we have so far mostly using the package match specification syntax in xcube's environment.yml, so it's evidently supported by both conda and mamba. Since the package list in environment.yml must be kept in sync with the list in meta.yaml in the conda-forge feedstock, it seems sensible to standardize completely on package match specification syntax in environment.yml to make this process slightly more straightforward. In order to further ease the synchronization (and make management of the dependency list easier in general), packages should be listed alphabetically within each section (already mostly the case in our environment file).

@pont-us
Copy link
Member Author

pont-us commented Oct 8, 2020

Closed by PR #342 .

@pont-us pont-us closed this as completed Oct 8, 2020
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

No branches or pull requests

1 participant