kmfarley11 / kmfarley11/version-checker
use packaging.version parse rather than raw string compare
Open
bug
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
as a string '0.0.9' is greater than '0.0.10' which is bad.
instead do
```python
from packaging import version
version.parse('0.0.9') < version.parse('0.0.10')
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the raw string version comparison in the version-checker code and read the surrounding version-checking entry point. Use packaging.version.parse for the comparison, then verify that 0.0.9 sorts before 0.0.10 as described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100