beaker
beaker copied to clipboard
[BUG] Usage of deprecated api
Describe the bug
When using beaker cli 29.2 (I am trying to update package in AUR), warning about The pkg_resources package is slated for removal as early as 2025-11-30.
Version-Release number
29.2 (using python3.13)
To Reproduce
Steps to reproduce the behavior:
Install package from AUR (which is using https://github.com/beaker-project/beaker/archive/refs/tags/beaker-29.2.tar.gz)
Actual behavior
bkr whoami
/usr/lib/python3.13/site-packages/bkr/client/__init__.py:17: 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
{"username": "username", "email_address": "[email protected]"}
Expected behavior
no warning message
Additional context
This was discovered when I wanted to update AUR from 28.3 to 29.2 when using python3.13
https://peak.telecommunity.com/DevCenter/setuptools#namespace-packages