-
Notifications
You must be signed in to change notification settings - Fork 103
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
alphasort env files #557
alphasort env files #557
Conversation
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
2995b41
to
4ef0a66
Compare
There's already a test that the explicit files are toposorted: conda-lock/tests/test_conda_lock.py Line 995 in 5bce422
Also should this use the Also I think the |
If we want that the output just happens to be alphabetically sorted, then I'd say we don't need a test. But if we declare that alpha-sorting is an actual feature, then we should add a test to ensure it doesn't regress.
These constants date to before my involvement with conda-lock. I'm not familiar with them. I'd only recommend using them if they're helpful.
That is correct. I am always grateful for such cleanups. We could also remove them if they're not serving a useful purpose. |
I don't see any documentation or tests in the conda repo on the ordering of the exported env, so there's no guarantee that won't change either. So we can probably claim that it's a choice rather than a feature. I'll leave the constants and the type hints alone. Both could do with bigger PRs. I think rather than 1 method at a time. |
4ef0a66
to
621e2f1
Compare
Seems to work on my machine 👍 |
@jamesmyatt, in order to address a likely bug I made #560 which will cause a merge conflict. Resolving it will be easy: call Before the next release I need to address #559. If you feel especially motivated, I'd be grateful for support with writing a test there, but otherwise I'll get to it eventually. |
Hi @jamesmyatt, sorry about the delay on #560. That's now been merged, so this will be ready to merge after you get a chance to rebase. Thanks for your patience! |
Resolves conda#554
621e2f1
to
d3b3d93
Compare
I've rebased now. Thanks |
Fixes #554