Project

General

Profile

Actions

Task #7752

open

Setuptools deprecation warning

Added by Jakub Judiny 3 months ago. Updated 2 months ago.

Status:
Waiting
Priority:
Low
Assignee:
-
Category:
Installation
Target version:
Start date:
06/17/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

It seems that as a result of upgrading the packages, now we have a new deprecation warning when running mentat modules (for example dbmngr).

/var/mentat/venv/bin/mentat-dbmngr.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').require('mentat-ng==2.12.112.dev0')

Setuptools requirements are ">=70.0,<71.0", so we should not run into problems if they decide to remove pkg_resources. But we need be aware of this issue when upgrading to 71.0 (or later).


Related issues

Related to Mentat - Task #7749: Upgrade dev dependencies and remove pylint patchClosedJakub Judiny06/10/2024

Actions
Actions

Also available in: Atom PDF