DEPR: Deprecate numpy argument in read_json
- [x] closes #28512 
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

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 `@pytest.mark.filterwarnings("ignore:.*msgpack:FutureWarning")`wrapper around the test function and this snippet?
 
```python
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? > I don't understand why the tests fail here

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 `numpy=True` to `read_json` than you have accounted for with this context manager.

@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 `isort -rc pandas`?  i think that will fix the failing CI check @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 @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