Skip to content

Deprecation preventing upgrade: "DeprecationWarning: pkg_resources is deprecated" #1333

@kizniche

Description

@kizniche

Error during upgrade:

/home/user/Mycodo/mycodo/utils/github_release_info.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version
#### ERROR ####
There was an error detected during the upgrade. Please review the log at /var/log/mycodo/mycodoupgrade.log

To fix:

  1. Manually apply the changes in commit 3d87b7a
  2. Run the post upgrade script: sudo ~/Mycodo/mycodo/scripts/upgrade_post.sh
  3. Upgrade through the web interface.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions