JJB: Running with Python 3.13+: Extensionmanager broke

1 view
Skip to first unread message

Jan-Benedict Glaw

unread,
Feb 23, 2026, 7:01:00 AMFeb 23
to jenkins-j...@googlegroups.com
Hi!

Does anybody already have a patch for the most recent Python
interpreters? (This is installed with the pipx ansible module, with
global==true, on a Debian "unstable" system):

root@VPS2264-jenkins-node1:~# jenkins-jobs
ERROR:stevedore.extension:Could not load 'delete': No module named 'pkg_resources'
ERROR:stevedore.extension:Could not load 'delete-all': No module named 'pkg_resources'
ERROR:stevedore.extension:Could not load 'get-plugins-info': No module named 'pkg_resources'
ERROR:stevedore.extension:Could not load 'list': No module named 'pkg_resources'
ERROR:stevedore.extension:Could not load 'test': No module named 'pkg_resources'
ERROR:stevedore.extension:Could not load 'update': No module named 'pkg_resources'
Traceback (most recent call last):
File "/usr/local/bin/jenkins-jobs", line 6, in <module>
sys.exit(main())
~~~~^^
File "/opt/pipx/venvs/jenkins-job-builder/lib/python3.13/site-packages/jenkins_jobs/cli/entry.py", line 177, in main
jjb = JenkinsJobs(argv)
File "/opt/pipx/venvs/jenkins-job-builder/lib/python3.13/site-packages/jenkins_jobs/cli/entry.py", line 60, in __init__
self.parser = create_parser()
~~~~~~~~~~~~~^^
File "/opt/pipx/venvs/jenkins-job-builder/lib/python3.13/site-packages/jenkins_jobs/cli/parser.py", line 112, in create_parser
extension_manager.map(parse_subcommand_args, subparser)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/pipx/venvs/jenkins-job-builder/lib/python3.13/site-packages/stevedore/extension.py", line 379, in map
raise NoMatches(f'No {self.namespace} extensions found')
stevedore.exception.NoMatches: No jjb.cli.subcommands extensions found

As I'm not really a Python guy, I don't exactly know what's happening
here. Guessing there is some legacy stuff that got removed.

MfG, JBG

--
signature.asc
Reply all
Reply to author
Forward
0 new messages