Skip to main content
Archived

Upgrade all transformers etc to use Python 3+

Related products:FME Form

There are a number of transformers, which even in FME Desktop 2020.2 still rely on Python 2.7.


It was initially announced in 2008 that Python 2 would be sunsetted in 2015. A 7 year lead time. Then, in 2014 is was announced that the sunset would be changed to January 2020 - a whopping 12 years after the initial announcement. Many of our data science tools and external libraries that we wrap in for big data processing have, for some time, required Python 3 in order to operate and take advantage of all the interpreter and speed improvements (particularly with Cython, etc).


Mixed Python versions are no longer acceptable. Please get the transformers etc upgraded, tested, and compliant with Python 3. At this stage, preferably with Python 3.9 or newer.


Example:

GZipDecompressor

GZipCompressor

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

  • Author
  • November 4, 2020

Additionally, although the help page for the two example plugins say they have been tested with Python 3.4, it is not possible to run them with Python 3 from the workbench.

 

'>


ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • November 5, 2020

These are custom transformers built by users, Safe do not update these transformers.

 

With the particular error message you are seeing, in the case of these transformers, if you change python compatibility to download the custom transformer, you can then change it back again and they work fine. I don't know the cause of this particular error message although I've seen it on other transformers that have definitely been updated to work with Python 3+


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings