-
Notifications
You must be signed in to change notification settings - Fork 72
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
Resolving #143 #202
Resolving #143 #202
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #202 +/- ##
========================================
Coverage 45.47% 45.47%
========================================
Files 84 84
Lines 9029 9029
========================================
Hits 4106 4106
Misses 4923 4923 Continue to review full report at Codecov.
|
I am mad at the Codacy Static Code Analysis! otherwise would have been everything green |
This is quite neat! Many thanks. I'm sorting out the Codacy stuff. That import is perfectly legit to check if the package is available so that error should be ignored. You could add import numpy # noqa |
Regarding the three points of the todo, the first one is really hard, but the other two are easy, should I add them to this PR or separates ones? |
I would add them as part of the PR. They are, in the end, consequence of this change, so should be merged together. Why is the first point so complicated? |
because the A kind of side effect |
Well, it is undesirable to have |
Cool the test passes also by removing the pip install numpy (so my PR works in all the envs) |
Leave those untouched. Your solution works absolutely fine, but it is specially beneficial for the end users. The ‘deploy’ workflows really affect no one. As they are working fine now, let’s leave them.
|
but it's ok to remove the installation from the tests? or do I revert that commit? |
No, no, that's fine. The CI system is there to test that everything works, including the installation process. So it is good that you changed that. As you said, it is good to prove that your solution works in all environments. It is just in the CD system where that is not needed. |
All the TODOs are done! (the Ps: it documented how to generated the docs locally? ( I will use it for the next Issue) |
@dalonsoa if you are planning to merge it after the end of October could you add the label |
Actually, I was waiting for you to "request my review", then I'd prove it and merge. |
Created a function that "install" the latest version of numpy before running the setup, so no code change is needed and no external packages are needed.
The installation of numpy is not completed until the whole setup is complete. (even though you can use it during setup)
If the installation fails the numpy is not installed.
Todo: