Repository: pandas-dev/pandas
Pull request: CI: Updated version of macos image
- [x] closes #31281
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry


Problem statement:
CI: update azure VM image
Email from Azure support

> On March 23, 2020, we’ll be removing the following Azure Pipelines hosted images:
>
> * Windows Server 2012R2 with Visual Studio 2015, a.k.a vs2015-win2012r2
> * macOS X High Sierra 10.13, a.k.a macOS-10.13
> * Windows Server Core 1803, a.k.a win1803

> If you use YAML pipelines, update your pipeline by editing its YAML file.
> 
>  
> 
>   jobs:
> 
>     - job: Windows
> 
>       pool:
> 
>         vmImage: 'vs2017-win2016'
> 
>       steps:
> 
>       - script: echo hello from Windows

Hints from issue discussion:
Is there anything we need to change?

In the azure-pipelines file the value of ```vmImage``` is already ```'vs2017-win2016'```.

https://github.com/pandas-dev/pandas/blob/67a8016da0e39778354b2e6d35a4b9b964cc3381/azure-pipelines.yml#L17

(The most recent version of the file at the time of writing this)

---

or I am missing something (probably missing something)
I think the macOS image may be the problem, but I'm not sure.

https://github.com/pandas-dev/pandas/blob/67a8016da0e39778354b2e6d35a4b9b964cc3381/azure-pipelines.yml#L4-L7

That at least matches the 10.13 part.
Ahh I see, (this is what I missed).

I'll open a PR addressing everything that's about to be removed.
take

Commit message: CI: Updated version of macos image

Patch to review:
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 57032932b878c..5d19550c544f9 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,7 +4,7 @@ jobs:
 - template: ci/azure/posix.yml
   parameters:
     name: macOS
-    vmImage: xcode9-macos10.13
+    vmImage: xcode10-macos10.14
 
 - template: ci/azure/posix.yml
   parameters:


Code review comments:
diff_hunk: @@ -4,7 +4,7 @@ jobs:
 - template: ci/azure/posix.yml
   parameters:
     name: macOS
-    vmImage: xcode9-macos10.13
+    vmImage: macos10.15
path: azure-pipelines.yml
text: @author:
> FWIW I would be OK with `macos-latest` - I don't see a need to pin a particular version

Though so as well, but I figured that ```xcode9-macos10.13``` is there for a reason, apparently I was wrong