Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Issues
  • #1432
Closed
Open
Issue created Oct 08, 2024 by Irene Simó Muñoz@isimomunMaintainer

Deprecation warning for pkg_resources

Hello @dbeltran and @bdepaula,

Autosubmit Version

v4.1.10

Summary

Deprecation warning for pkg_resources pops up when any autosumbit command is executed.

/home/isimomun/anaconda3/envs/test_python/bin/autosubmit:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').require('autosubmit==4.1.10')

Steps to reproduce

With Python 3.9.19 and later this warning appears for any autosubmit command.

Any other relevant information(if applicable)

The warning directs us to this setuptools documentation page, where the issue is discussed. The proposed alternative is to

work to port to importlib-based solutions.

Assignee
Assign to
Time tracking