Skip to content

lintian: uses-deprecated-python-stdlib #6099

@arif-ali

Description

@arif-ali

As part of Debian packaging, lintian reports that we are distutils, uu and crypt library usage which is deprecated in Debian. The latest version of Debian that the package will go into has python 3.13, and this part of the packaging will fail

Below is the warning we get from the lintian program in Debian

I: avocado source: uses-deprecated-python-stdlib crypt (deprecated in Python 3.11, removed in Python 3.13) [avocado/utils/genio.py:27]
N: 
N:   
N:   In Python $deprecated, $library has been formally marked as deprecated. Code that imports $library will no longer work from Python $removed.
N:   
N:   Please prepare for this deprecation and migrate away from this Python library.
N:   
N:   See-Also: https://peps.python.org/pep-0594/#deprecated-modules
N: 
N:   Visibility: info
N:   Show-Always: no
N:   Check: languages/python/stdlib-deprecation
N: 
N:
I: avocado source: uses-deprecated-python-stdlib distutils (deprecated in Python 3.10, removed in Python 3.12) [setup.py:21]
N:
I: avocado source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [avocado/core/nrunner/task.py:7]
N:
I: avocado source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [avocado/core/suite.py:18]
N:
I: avocado source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [avocado/plugins/spawners/podman.py:8]
N:
I: avocado source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [avocado/utils/asset.py:30]
N:
I: avocado source: uses-deprecated-python-stdlib uu (deprecated in Python 3.11, removed in Python 3.13) [avocado/utils/vmimage.py:23]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Short Term (Current Q) Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions