Skip to content

Drop Python 2.7 support #14784

@Patater

Description

@Patater

Description of defect

Python 2.7 has been deprecated for quite some time now. We are looking to update some of the python libraries we ourselves depend on, and finding we can't because we are still supporting Python 2.7 but the libraries we depend on have already dropped support.

Target(s) affected by this defect ?

Python

Toolchain(s) (name and version) displaying this defect ?

Python 2.7

What version of Mbed-os are you using (tag or sha) ?

mbed-os-99.99.99
86b85a3

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Mbed CLI 1
Mbed CLI 2

How is this defect reproduced ?

Try to update prettytable or other python libraries. Watch pip fail due to dependency conflicts.

Failed to build cryptography
requests 2.20.1 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.26.5 which is incompatible.
mbed-os-tools 1.8.6 has requirement PrettyTable<=1.0.1, but you'll have prettytable 2.1.0 which is incompatible.
mbed-ls 1.8.6 has requirement PrettyTable<=1.0.1, but you'll have prettytable 2.1.0 which is incompatible.
icetea 1.2.4 has requirement prettytable<1.0, but you'll have prettytable 2.1.0 which is incompatible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions