CI: fix with new numpy nightly
- [ ] xref #50124 (Replace xxxx with the GitHub issue number)
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

 Can we merge this to get ci running again and address the topics raised in follow ups? > Can we merge this to get ci running again and address the topics raised in follow ups?

That's a good idea, IMO. OK, I've removed the `closes` keyword, so we can keep https://github.com/pandas-dev/pandas/issues/50124 open to keep discussing this > > Can we merge this to get ci running again and address the topics raised in follow ups?
> 
> That's a good idea, IMO.

Merging then, let's take this conversation forwards in the issue https://github.com/pandas-dev/pandas/issues/50124 Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

1. Checkout backport branch and update it.

```
git checkout 1.5.x
git pull
```

2. Cherry pick the first parent branch of the this PR on top of the older branch:
```
git cherry-pick -x -m1 5fad2e4e90be46c14e947ac1a7eba3275c4b656d
```

3. You will likely have some merge/cherry-pick conflict here, fix them and commit:

```
git commit -am 'Backport PR #50129: CI: fix with new numpy nightly'
```

4. Push to a named branch:

```
git push YOURFORK 1.5.x:auto-backport-of-pr-50129-on-1.5.x
```

5. Create a PR against branch 1.5.x, I would have named this PR:

> "Backport PR #50129 on branch 1.5.x (CI: fix with new numpy nightly)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the `Still Needs Manual Backport` label once the PR gets merged.

If these instructions are inaccurate, feel free to [suggest an improvement](https://github.com/MeeseeksBox/MeeseeksDev).
                