When listing dependencies in a conda env file, does order matter?

Viewed 143

I have a conda env file with long list of dependencies. I was considering sorting them alphabetically for readability.

But then I wondered: would changing the order break things?

Sounds like it shouldn't, given this GitHub issue: https://github.com/conda/conda/issues/4957

More generally, if there's a best practice for how to order conda env dependencies, I'm interested in learning. Thank you.

Addendum (23/3/2022): the output of conda env export is sorted alphabetically, so i'm guessing it's fine?

0 Answers
Related