COMPLETION OF PYTHON LANGUAGE UPDATE (v2.7 → v3.x)

Description

 Description of Use Case / Requirement: ONAP must complete update of the Python language (from 2.7 -> 3.8)** and remove all unused versions of python from all pods/containers (see onap-guilin-python-versions.xlsx for details of containers that require updates).

  • 17 containers include both Python 2 and Python 3 (see "Containers with P2 and P3" worksheet for details)

    • Affected projects: appc, awx, dcae, dcaemod, modeling, robot, uui, vfc

    • Project team must removed unused  version of Python

  • 104 containers using Python 2 (17 containers that include Python 2 and Python 3 excluded from count) (see "Python 2 Only Containers" worksheet)

    • Affected projects: aai, appc, awx, cassandra, cds, clamp, cmso, dbc, dcae, dcaemod, dmaap, ejbc, esr, mariadb, message-router, modeling, msb, multicloud, music, oof, policy, portal, sdc, sdnc, so, vfc, vid, vnfsdk,

    • Project team must upgrade containers to Python 3 or file exception

All remaining ONAP projects using Python shall reduce the risks associated with no community support for Python 2.7 software as it causes increase of usage risk, as recommended by SECCOM. Continuation of https://lf-onap.atlassian.net/browse/REQ-373#icft=REQ-373

https://wiki.onap.org/display/DW/Exceptions+to+Java+11+and+Python+3+Migration+at

Owners (one of these should be the Assignee - use @ notation): **

 

Link to HLD/LLD (if any):

 

Dependency Relationships with Other Projects:

 

Project Impact (Test Only (TO), Code (C)):

 

Support Status for each Affected Project (Supported (S); Partially Supported (P); Not Supported (N)):

Note: for any affected projects labeled 'P' or 'N', please document the resulting gaps.

 

Integration Leads (use @ notation): 

 

Company Engagement: 

 

50% Done
0

Confluence content

mentioned on

Activity

Show:

Amy Zwarico April 3, 2021 at 1:25 AM

3/29 results: 24 containers contain Python 2.

Former user March 11, 2021 at 10:59 AM

==================================
Congratulations M3 Honolulu Milestone Passed
==================================

Former user January 28, 2021 at 12:24 PM

==================================
Congratulations M2 Honolulu Milestone Passed
==================================

Former user December 11, 2020 at 10:18 AM

TSC approved this requirement as best practice on 12/10/2020.

Former user December 10, 2020 at 7:10 AM

Integration team already does that since ...Frankfurt...

currently the base image 7.0.1 is providing python 3.8.2: https://git.onap.org/integration/docker/onap-python/tree/README.md

new 8.0.1 shall be produced according to Seccom recommendation

Details

Assignee

Reporter

Requirement Type

Best Practice (global - all code)

TSC Priority

1

Arch Review

Not required

Scope Status

Original Scope

T-Shirt Size

M

M1 Approval

GO

M2 Approval

GO

M3 Approval

GO

Fix versions

Priority

Epic Name

Created October 13, 2020 at 9:26 AM
Updated February 24, 2025 at 12:42 PM

Flag notifications