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

Method used to check cvdupdate version in PyPI is unsupported #66

Open
steve-mays opened this issue Nov 18, 2024 · 0 comments
Open

Method used to check cvdupdate version in PyPI is unsupported #66

steve-mays opened this issue Nov 18, 2024 · 0 comments

Comments

@steve-mays
Copy link

I've noticed in the log file for cvdupdate.py the following:

2024-11-17 11:28:57 PM - DEBUG:  Checking for a newer version of cvdupdate.
2024-11-17 11:28:58 PM - WARNING:  You are running cvdupdate version: 1.1.2.
2024-11-17 11:28:58 PM - WARNING:  There is a newer version on PyPI: requirement:'cvdupdate==random':Expectedendorsemicolon(afternameandnovalidversionspecifier. Please update!

The method used in cvdupdate.py to check the installed and latest versions of cvdupdate use the method suggested in https://stackoverflow.com/questions/58648739/how-to-check-if-python-package-is-latest-version-programmatically no longer works with versions of pip 24.1b1 onwards.

This is documented in pypa/pip#12852

An alternative could be to use pip index versions cvdupdate and parse the result.

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