-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Align conda envs and add Windows 3.9 env #5895
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
Conversation
Thanks @hectormz! |
Codecov Report
@@ Coverage Diff @@
## main #5895 +/- ##
=======================================
Coverage 89.48% 89.49%
=======================================
Files 73 73
Lines 13275 13275
=======================================
+ Hits 11879 11880 +1
+ Misses 1396 1395 -1
|
I like that the environment files with the comments are easier to understand, but we have a If that's too complicated (very likely) we should discuss if we want to remove the automated sorting. Personally, I'd be okay with that, since on all of my (Windows) machines that |
@michaelosthege Ah, forgot to install pre-commit in my new environment. The hook in its current form isn't sorting all the .yml in the folder anyway. I'll look into it. I also checked out |
@hectormz I asked folks on Slack and we'd be ok with removing the env sorting step from the pre-commit in favor of the explanatory comments you made here. So feel free to do that commit and just let me know when the pre-commit passes locally, then I'll approve running the tests. (someone has to click this button every time you push..) If you have other things on the schedule just let us know and someone can take over 🙂 |
fd3810a
to
eca3f79
Compare
Thanks for the update @michaelosthege , just pushed! I also updated the script that generates pip requirements from conda env because it makes extra empty lines on Windows due to line ending. |
Did you want to add |
You mean to run the tests in that environment? In principle yes, but we'll want to make sure that we're not running any tests twice. |
Hi @michaelosthege no need to make those changes here. I was just wondering out loud. I'm content to leave this PR focused on the changes made. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@canyon289 can you give it a final look and hit the merge button if you're happy?
This PR reorders the conda environment files across operating systems to make them easier to maintain (and separates core and dev dependencies). It also adds Windows Python 3.9 env file.