Skip to content

deprecation warning pkg_resources #73

@thorinaboenke

Description

@thorinaboenke

Fix the following deprecation warning:

ansible-playbook --tags playbooks,scenario_1_d_a run/scenario1/main.yml
/usr/lib/python3/dist-packages/pbr/version.py:439: 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.
  import pkg_resources

/projects/atb-aecid-testbed$pip list
Package Version


alabaster 0.7.16
attrs 24.2.0
babel 2.16.0
blessed 1.21.0
cattrs 24.1.0
certifi 2024.8.30
cffi 1.17.1
charset-normalizer 3.3.2
cryptography 44.0.2
decorator 5.2.1
docutils 0.20.1
dogpile.cache 1.3.4
editor 1.6.6
esbonio 0.16.4
exceptiongroup 1.2.2
idna 3.8
imagesize 1.4.1
inquirer 3.4.0
iso8601 2.1.0
Jinja2 3.1.4
jmespath 1.0.1
jsonpatch 1.33
jsonpointer 3.0.0
keystoneauth1 5.10.0
lsprotocol 2023.0.1
MarkupSafe 2.1.5
openstacksdk 4.4.0
os-service-types 1.7.0
packaging 24.1
pbr 6.1.1
pip 22.0.2
platformdirs 4.3.2
psutil 7.0.0
pycparser 2.22
pygls 1.3.1
Pygments 2.18.0
pyspellchecker 0.8.1
PyYAML 6.0.2
readchar 4.2.1
requests 2.32.3
requestsexceptions 1.4.0
runs 1.2.2
setuptools 59.6.0
snowballstemmer 2.2.0
Sphinx 7.4.7
sphinx-rtd-theme 2.0.0
sphinxcontrib-applehelp 2.0.0
sphinxcontrib-devhelp 2.0.0
sphinxcontrib-htmlhelp 2.1.0
sphinxcontrib-jquery 4.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 2.0.0
sphinxcontrib-serializinghtml 2.0.0
stevedore 5.4.1
tomli 2.0.1
typing_extensions 4.12.2
urllib3 2.2.2
wcwidth 0.2.13
wheel 0.37.1
xmod 1.8.1

(.venv) boenket@L3DSS2413:~/Documents/projects/atb-aecid-testbed$pip show pbr Name: pbr Version: 6.1.1 Summary: Python Build Reasonableness Home-page: https://docs.openstack.org/pbr/latest/ Author: OpenStack Author-email: openstack-discuss@lists.openstack.org License: Location: /home/boenket/Documents/projects/atb-aecid-testbed/.venv/lib/python3.10/site-packages Requires: setuptools Required-by: keystoneauth1, openstacksdk, os-service-types, stevedore

**keystoneauth1, openstacksdk, os-service-types, stevedore need pbr, pbr imports pkg_ressources

upgrade to newer openstack packages?**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions