WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

UserWarning: pkg_resources is deprecated as an API #502

@tiborsimko

Description

@tiborsimko

Current behaviour

reana-client in Python gives the following warnings:

$ reana-client list
/Users/tibor/.virtualenvs/reana/lib/python3.12/site-packages/reana_commons/config.py:15: 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
NAME                                RUN_NUMBER   CREATED               STARTED               ENDED                 STATUS
root6-roofit-yadage-kubernetes      1            2025-08-22T15:01:53   2025-08-22T15:01:56   2025-08-22T15:02:58   finished
root6-roofit-snakemake-kubernetes   1            2025-08-22T15:01:04   2025-08-22T15:01:17   2025-08-22T15:01:47   finished
root6-roofit-serial-kubernetes      1            2025-08-22T15:00:27   2025-08-22T15:00:39   2025-08-22T15:00:57   finished
root6-roofit-cwl-kubernetes         1            2025-08-22T14:59:54   2025-08-22T15:00:08   2025-08-22T15:00:19   finished

Expected behaviour

The user experience should be smooth:

$ reana-client list
NAME                                RUN_NUMBER   CREATED               STARTED               ENDED                 STATUS
root6-roofit-yadage-kubernetes      1            2025-08-22T15:01:53   2025-08-22T15:01:56   2025-08-22T15:02:58   finished
root6-roofit-snakemake-kubernetes   1            2025-08-22T15:01:04   2025-08-22T15:01:17   2025-08-22T15:01:47   finished
root6-roofit-serial-kubernetes      1            2025-08-22T15:00:27   2025-08-22T15:00:39   2025-08-22T15:00:57   finished
root6-roofit-cwl-kubernetes         1            2025-08-22T14:59:54   2025-08-22T15:00:08   2025-08-22T15:00:19   finished

We should get rid of pkg_resources across REANA components.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions