-
Notifications
You must be signed in to change notification settings - Fork 87
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
Standardize numpy
imports with as np
#1776
Conversation
Hi @NeuralNoble, Thanks for contributing. Can you sign the CLA agreement before we run tests? It looks like there also may be a mismatch in your account email addresses so you'll probably need to fix that before you try to sign. |
numpy
imports with as np
Thanks @NeuralNoble - you may still need to add your other email address to your account for the CLA if you're using a separate email than your GitHub account on your personal machine. I believe this is configured on your git config locally. Also, the |
While running ruff check as per your suggestion, I encountered an error regarding an undefined name (version) in our setup.py file. I have checked that all tests pass successfully with pytest, indicating that functionality-wise everything is working fine. Could you please provide guidance on how to resolve this linting error properly? It seems related to the version placeholder used for package versioning in setup.py. Should I define version differently or handle it in a specific way within the setup script? |
Please sign the CLA. We will not be able to merge a PR without the CLA being signed. |
I have signed the CLA but the previous commit made by me isnt showing signed yet . do you want me to make a new pull-request? |
We have seen this issue a couple times. You may try to open a new PR to see if that fixes it, but @john-science would be best to provide a recommendation here I think. It looks like the linting and black formatting tests pass now. Note that it may not be merged right away since we have other processes to check on as well. Appreciate the support on this issue. |
@jakehader thanks for the help and patience i am sorry if i kept bugging this is my first time contributing to open source so getting difficulty . |
@NeuralNoble As long as you sign the CLA once, I'm happy. I find that system to be a touch flaky. |
@NeuralNoble We have a log jam of a dozen PRs I will be shepherding through the pipeline next week. So this will probably take a few days to merge. I'm just trying to care for our downstream user base. It'll get merged though, Not to worry. |
@NeuralNoble I believe the problem is that ARMI had commits into File "/Users/runner/work/armi/armi/armi/bookkeeping/db/tests/test_jaggedArray.py", line 60, in test_backwardsCompatible
flattenedArray = numpy.array([1, 2, 3, 4, 5, 6, 7, 8, 9]) |
@NeuralNoble I would fix this for you, but you are in a forked repo, so I would have to make a PR into your fork. Seems silly. |
okay |
@NeuralNoble If you can merge |
@john-science my main is one commit behind the main of this repo so first i should sync the fork then merge my feature-branch? |
Yup! Hit this button on your fork's home page: Then do on the command line do: cd armi
git checkout main
git pull origin main
git checkout numpy-np
git pull origin numpy-np
git merge main
# fix any conflicts, if they exist
git push origin numpy-np |
done |
@NeuralNoble The CI and linting in this branch are broke. Listen, maybe it would be easier to just check out Just thinking aloud. The branch has been broke for a while now. |
This PR is suffering from time rot. It would probably be easier to just do the numpy import replacement from scratch, and force-push the branch. Up to you though. |
Okay, it was weeks, so I just solved this in a different PR: #1837 Sorry! Thanks for the offer to contribute! |
What is the change?
Why is the change being made?
Checklist
doc
folder. (Note: Verify and update documentation as needed.)pyproject.toml
.