-
-
Notifications
You must be signed in to change notification settings - Fork 366
Remove tox support
#1219
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
Remove tox support
#1219
Conversation
|
Thanks Saransh! 🙏 Should we also remove these instances too? Line 1 in daad2fa
zarr-python/requirements_dev_optional.txt Line 16 in f361631
Line 38 in daad2fa
(not sure if the last one might be worth keeping) |
|
Hi @Saransh-cpp and @jakirkham. since support tox has been removed. Can I go ahead to update the docs to build docs with |
|
Hi @GbotemiB. Thanks for the offer. Think that is already in Saransh's PR, but if you see somewhere else that needs to be updated please let us know and we can fix that here. |
I'm a bit torn, to be honest. The tox.ini is definitely not in an ideal state, especially now with everything being so nice and clean thanks to @Saransh-cpp! However, I do like the idea of having one place that encapsulates the various commands that are needed. I could see preparing a second PR which does the opposite, namely to go all-in on tox and then we could compare the two. |
|
May I also suggest looking into I'll be happy to work on either of them ( |
Given how valuable the The fact that new contributors are stumbling over tox here just makes it that much clear in my mind that it is time to drop it |
|
Definitely agreed on not reproducing the environmental logic within tox. I rarely if ever use tox for running multiple environments. That type of testing I defer to GHA. For me, it's more a matter of having the individual commands that are hard-coded in the workflows available to be run locally. At the moment, we have different sets of commands spread between:
If there were a way to reduce that down to 1️⃣, I'd be pretty happy. |
tox.ini and tox supportnox support and remove tox support
|
@joshmoore @jakirkham, could you please have a look at the last commit? I have added I feel like maintaining a |
Codecov Report
@@ Coverage Diff @@
## main #1219 +/- ##
=======================================
Coverage 99.99% 99.99%
=======================================
Files 35 35
Lines 14136 14136
=======================================
Hits 14135 14135
Misses 1 1
|
|
One could run GitHub Actions locally |
|
Thanks for drafting the nox support, @Saransh-cpp. I agree that the Python syntax is a nice improvement, but I'm not sure it warrants the addition of a new tool. Open to other opinions, but I'd err on the side of reverting those changes. I can understand if you'd like to then just get this merged as is, otherwise happy to discuss other options for the unification. |
|
Completely understandable! Maybe we can then link or document the usage of https://github.com/nektos/act for Zarr? |
|
Documenting how to use |
|
Thanks all. @Saransh-cpp, if you can revert, then let's go ahead and get this merged. Someone can work on documenting akt, and I might look into unifying the docs & the GHA commands. |
c9a0dac to
422e720
Compare
|
Reverted! |
joshmoore
left a comment
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.
Awesome. Thank you!
| [flake8] | ||
| max-line-length = 100 |
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.
Just noticed that we lost the flake8 configuration here. Adding back in PR ( #1249 ).
Resolves #1211
As title!
TODO: