Project

General

Profile

Actions

Task #7752

open

Setuptools deprecation warning

Added by Jakub Judiny 6 months ago. Updated 5 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 #1

Updated by Jakub Judiny 6 months ago

  • Related to Task #7749: Upgrade dev dependencies and remove pylint patch added
Actions #2

Updated by Rajmund Hruška 6 months ago

  • Priority changed from Normal to Low
  • Target version changed from Backlog to Future

We can't do anything about this as it depends entirely on setuptools and they don't seem to be in a hurry to fix this warning - https://github.com/pypa/setuptools/issues/3878.

The related file which uses pkg_resources.

Actions #3

Updated by Rajmund Hruška 5 months ago

  • Status changed from New to Waiting
Actions

Also available in: Atom PDF