Skip to content

Update use of pkg_resources in check_and_install_getgauge.py #373

Closed

Description

@eiri

Is your feature request related to a problem? Please describe.

It seems that the use of pkg_resources is currently deprecated and check_and_install_getgauge.py is now raising a warning that looks like this ".../plugins/python/0.4.5/check_and_install_getgauge.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html"

There have been a breaking release of setuptools today that affected plenty of projects. It was hot-fixed later, but my concern is that some future release will also break gauge-python.

Describe the solution you'd like

I believe it would be helpful to pro-actively update check_and_install_getgauge.py not to use deprecated pkg_resources.

Activity

  1. chadlwilson commented on Jul 29, 2024

    @chadlwilson
    Contributor

    Are you willing to submit a PR?

  2. eiri commented on Jul 29, 2024

    @eiri
    ContributorAuthor

    Sure, will be glad to.

  3. eiri commented on Jul 30, 2024

    @eiri
    ContributorAuthor

    @chadlwilson thank you for accepting my PR and for the quick turnaround!

  4. chadlwilson commented on Jul 30, 2024

    @chadlwilson
    Contributor

    No worries, thanks for the help. Goodness knows, we need it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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