IBM Support

PH31923: CUSTOM SCRIPT FAILING AFTER DEPRECATING PYTHON 2

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • You have created custom scripts using Python 2.  In Statistics
    27.0 Python 2 was deprecated in favor of Python 3.  Now your
    scripts fail.
    

Local fix

  • This issue has been resolved for IBM supplied SPSS Statistics
    Python Extensions in the next Release.  End users who have
    created their own Python Extensions and/or custom code will need
    to re-write that code and those extensions for use in Python3.
    The Python Project (python.org) has now sunset Python2 (as of
    January 2020).  Please use Python3 going forward.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IBM SPSS Statistics On-Prem and IBM SPSS Statistics *
    * Subscription                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CUSTOM SCRIPT FAILING AFTER DEPRECATING PYTHON 2             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This issue has been resolved for IBM SPSS Statistics         *
    * 27.0.1.0 and IBM SPSS Statistics Subscription November 2020  *
    * Update. Please update your installation to  IBM SPSS         *
    * Statistics 27.0.1.0 or IBM SPSS Statistics Subscription      *
    * November 2020 Update as appropriate.                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH31923

  • Reported component name

    SPSS STATISTICS

  • Reported component ID

    5725A54ST

  • Reported release

    R00

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-11-19

  • Closed date

    2021-03-31

  • Last modified date

    2021-03-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"R00"}]

Document Information

Modified date:
01 April 2021