Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upcoming deprecation for pyhaystack involving semantic versioning comparison #119

Open
sjlongland opened this issue Oct 29, 2024 · 0 comments
Assignees

Comments

@sjlongland
Copy link
Collaborator

We noticed this in one of our internal tools' test suites that uses pyhaystack. @ozacas-widesky was dusting off this tool and happened to notice the issue. (Internal JIRA ticket: CORE-3151.)

I'll try and get to fixing this as soon as I can, but just filing this bug here so I remember to upstream the fix. :-)

  /usr/lib/python3/dist-packages/pyhaystack/client/ops/vendor/widesky.py:241: DeprecationWarning: Function 'semver.match' is deprecated. Deprecated since version 2.10.0.  This function will be removed in semver 3. Use the respective 'semver.Version.match' instead.
    res[feature] = semver.match(ver, ">=0.8.0")
@sjlongland sjlongland self-assigned this Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant