<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Would ArcGIS Pro python tools developed on ArcGIS Pro v. 2.x work on ArcGIS Pro v. 3.0? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191711#M57159</link>
    <description>&lt;P&gt;I have been maintaining a good old "ArcMap" style *.tbx toolbox + python scripts compatible with ArcMap, ArcGIS Pro 1.x, 2.x, 3x for the past five years since Pro 1.x came out.&lt;/P&gt;&lt;P&gt;I adapted the toolbox to be compatible with Python 2.x and 3.x, and thus ArcMap and ArcGIS Pro, according to the instructions ESRI provided in the Pro Help, and using e.g. the&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;__future__&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;import&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Python 2.x/3.x compatibility functions.&lt;/P&gt;&lt;P&gt;Overall, I've found this pretty well manageable, especially using the ArcPy&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;arcpy.&lt;/SPAN&gt;&lt;SPAN class=""&gt;GetInstallInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;function to get product name and version, so as to be able to distinguish it in code and adapt code flow depending on the capabilities of a version of a product.&lt;/P&gt;&lt;P&gt;So if you're reasonably well versed in python and arcpy, I wouldn't worry to much about it.&lt;/P&gt;&lt;P&gt;And regarding the specific upgrade from Pro 2.x to 3.x: this was essentially without any issues. Tools just run, at least for my code base. The previous 1.x to 2.x upgrade did represent issues.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 21:49:37 GMT</pubDate>
    <dc:creator>MarcoBoeringa</dc:creator>
    <dc:date>2022-07-12T21:49:37Z</dc:date>
    <item>
      <title>Would ArcGIS Pro python tools developed on ArcGIS Pro v. 2.x work on ArcGIS Pro v. 3.0?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191634#M57151</link>
      <description>&lt;P&gt;I was wondering if the python tools I developed for ArcGIS Pro v. 2.x will be backward compatible with ArcGIS Pro 3.0? I know that maps and add-in for ArcGIS Pro v3.0 is not backward compatible, but only forward compatible. Does that apply for everything, including python tools and python toolboxes as well? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 17:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191634#M57151</guid>
      <dc:creator>ThiPham12</dc:creator>
      <dc:date>2022-07-12T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Would ArcGIS Pro python tools developed on ArcGIS Pro v. 2.x work on ArcGIS Pro v. 3.0?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191711#M57159</link>
      <description>&lt;P&gt;I have been maintaining a good old "ArcMap" style *.tbx toolbox + python scripts compatible with ArcMap, ArcGIS Pro 1.x, 2.x, 3x for the past five years since Pro 1.x came out.&lt;/P&gt;&lt;P&gt;I adapted the toolbox to be compatible with Python 2.x and 3.x, and thus ArcMap and ArcGIS Pro, according to the instructions ESRI provided in the Pro Help, and using e.g. the&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;__future__&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;import&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Python 2.x/3.x compatibility functions.&lt;/P&gt;&lt;P&gt;Overall, I've found this pretty well manageable, especially using the ArcPy&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;arcpy.&lt;/SPAN&gt;&lt;SPAN class=""&gt;GetInstallInfo&lt;/SPAN&gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;function to get product name and version, so as to be able to distinguish it in code and adapt code flow depending on the capabilities of a version of a product.&lt;/P&gt;&lt;P&gt;So if you're reasonably well versed in python and arcpy, I wouldn't worry to much about it.&lt;/P&gt;&lt;P&gt;And regarding the specific upgrade from Pro 2.x to 3.x: this was essentially without any issues. Tools just run, at least for my code base. The previous 1.x to 2.x upgrade did represent issues.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 21:49:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191711#M57159</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2022-07-12T21:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Would ArcGIS Pro python tools developed on ArcGIS Pro v. 2.x work on ArcGIS Pro v. 3.0?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191720#M57162</link>
      <description>&lt;P&gt;stuff developed in Pro 3.x can be saved to prior versions&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/savetoolboxtoversion.htm" target="_blank"&gt;Save Toolbox To Version (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the differences in python 3.9 back to 3.7 shouldn't cause any issues&lt;/P&gt;&lt;P&gt;but there are tools for check back&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/analyzetoolboxforversion.htm" target="_blank"&gt;Analyze Toolbox For Version (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 22:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/would-arcgis-pro-python-tools-developed-on-arcgis/m-p/1191720#M57162</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-07-12T22:10:55Z</dc:date>
    </item>
  </channel>
</rss>

