kmfarley11 / kmfarley11/version-checker

Support comparing with dev numbers

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

PEP 0440 details support for [Developmental Releases](https://peps.python.org/pep-0440/#developmental-releases)

The checker should _probably_ support those akin to how pre releases are currently supported.

The expected behavior would be that `1.0.0-beta.7-dev.1` would be > `1.0.0-beta.7`. However, with the current checker, this appears to be flagged as the same version.

TBH im a bit uncertain if this is a feature vs. a bug. On one hand, it's nice to flag dev releases as _not_ a significant enough change. But on the other hand, it should be a valid incremental bump for pip installs to navigate afaik 🤔

Needs some thought & triage before outright tackling i think.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the checker's existing pre-release comparison behavior alongside the PEP 440 developmental-release rules. Confirm how `1.0.0-beta.7-dev.1` should compare with `1.0.0-beta.7`, then define and test the intended behavior before implementing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.