-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: Deprecate numpy argument in read_json #28562
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
I think you have to catch the warnings now to prevent test failures. You can use #27103 as a reference for how this is done |
Do you mean using the with catch_warnings():
filterwarnings('ignore', category=FutureWarning) |
The context manager would be cleaner if you want to go that route |
I don't understand why the tests fail here, can you point me in the right direction please? |
In general, the test results show you every test that fails, so you can go to each one and see why each is failing. Of course, this is not practical when there are hundreds of failures. The reason is that there are a lot more tests that pass in @WillAyd : Any thoughts on how we could apply this context manager to all of the failing tests? Copy-pasting that setup across all of them seems a bit tedious (might need some abstracted wrapper to handle that for the time being) 🤷♂ |
I think if there's a way to limit the filter to the numpy argument at global scope would also work |
@lucaionescu can you run |
@lucaionescu can you rebase? theres a decent chance that the CI failures are unrelated things that have been fixed in the last few days |
@lucaionescu can you rebase? |
Sorry for that! I'm going to fix it ASAP 😄 |
@lucaionescu looks like there are no committed changes here - can you take a look? |
@lucaionescu can you take a look here? Would be nice to deprecate this before 1.0 |
* Refer to public API * Fixed formatting * Remove ref to undocumented function
* API: Return BoolArray for string ops
* CLN: remove py2-legacy UnicodeReader, UnicodeWriter * remove unnecessar y writer_kwargs
* TYP * Update multi.py
This reverts commit 104fc11.
@lucaionescu can you rebase |
@lucaionescu let us know if you still want to work on this. If not I can potentially take a look. Thanks. |
@alimcmaster1 yes, that would be nice. I don't know what the best way to proceed would be with the failing tests. |
superseded by #30636 |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff