Skip to content

pkg_resources removed from setuptools #101

@kbefus

Description

@kbefus

hsclient/hydroshare.py line 56

import pkg_resources # part of setuptools

pkg_resources is no longer part of newer versions of setuptools:

https://setuptools.pypa.io/en/stable/history.html#v82-0-0

It appears that the recommended way to work with package versioning is with importlib.resources.

https://docs.python.org/3/library/importlib.resources.html

I help run a streamlit app (https://gromopo.streamlit.app/) that hosts a form for creating model related Hydroshare resources that is currently down because of this error (and likely others).

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions