Python 2 removed from Script Language Containers

Details

Detail name Value
Changelog Number 16903
Type Improvement
Status Resolved
Fix Versions Exasol 7.1.20
Resolution Date 2023-05-11

Background

As first announced in the change log of the Script Language Containers (SLC) version 2.1.0 on June 20th 2021, Exasol first deprecated Python 2 and now removed it from the database delivery. Python 2 went officially out of support on January 1st 2020. There have been no more security updates available for a long time now.

Improvement

The script language container with Python 2 is removed from the database for new installations. For existing installations, the following will happen:

  1. The PYTHON alias for the script language will be removed. 
  2. The PYTHON3 alias will be updated to a new container version's location. 
  3. The previous container will still be available in BucketFS. It has not been deleted. 

This means that users must migrate any UDF that still depends on Python 2 to Python 3 before updating.

Additional Information

  • We have developed a procedure, which can be found in the “Pre-update Check” chapter here, that you can use to check whether you have existing Python 2 scripts running, prior to a planned UPDATE, or in case you want to check your system and start converting Python 2 scripts to Python 3.
  • It is possible to continue to use the Python 2.7 language with UDFs after the update by following the procedure described in documentation. However, this container is provided “as is” and is no longer maintained.
  • You can find more detailed change information in the change log of the Script Language Containers on GitHub

Changed behavior

* Python 2 UDFs are not supported anymore. * Removed package `smbc` (SMB Client) because it has a dependency on Python 2