I have a geoprocessing script written in ArcGIS Pro version 2.8 and I want to publish it to ArcGIS Server 10.8.1 as a geoprocessing service. Publication is flawless, however the execution of service crashes because I am using some arcpy functionality that was added at version 2.7 and that is obviously not in ArcGIS Server arcpy runtime.
My local and server arcpy versions obtained by arcpy.GetInstallInfo() are:
Server:
Version : 10,81.0
BuildNumber : 24234
ProVersion : 2.6.0
Desktop:
Version : 2.8.1
BuildNumber : 29751
So my questions are:
Is there a possibility to upgrade version of arcpy on that server, at least to the version 2.7?
Where can I find information about what arcgispro arcpy runtime version has particular version of ArcGIS server, like what arcgis pro arcpy is on 10.9 for instance? I searched documentation, but found only info on version of python, not arcpy.
Thank you