Skip to content

Warning Message from pcluster-list-images #6881

Open
@joehellmersNOAA

Description

@joehellmersNOAA

Hello,

I'm getting a warning message from this command

pcluster list-images --image-status AVAILABLE --query images[*].imageId -r $AWS_DEFAULT_REGION

The warning is as follows

/pcluster-3.13.1/lib/python3.12/site-packages/pcluster/api/controllers/common.py:20: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81

It doesn't cause any problems, but it's irritating because I use this command in a GitLab pipeline which runs until the AMI I'm creating finishes, so I'm getting a bunch of noise in my log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions