Skip to content

Version comparison bug: workers-py >= 1.90 requirement blocks upgrade from 1.9.3 #120

@seanai1996

Description

@seanai1996

Description

When attempting to upgrade workers-py, the error message requires workers-py >= 1.90, but the current installed version is 1.9.3.

If the intended requirement is 1.9.0 (semver: major=1, minor=9, patch=0), the version string 1.90 is ambiguous — it could be interpreted as 1.90.0 (major=1, minor=90), making 1.9.3 < 1.90.0 a correct semver comparison but an incorrect requirement.

If the actual latest version on PyPI is 1.9.x, then 1.90 is a version number formatting bug that prevents users from upgrading.

Error Output

ERROR: workers-py >= 1.90 is required

Environment

  • Current workers-py version: 1.9.3
  • Installed via: uv tool install workers-py
  • Attempted: uv tool upgrade workers-py

Expected Behavior

The version requirement should be expressed in correct semver format (e.g., >=1.9.0 or >=1.90.0) to avoid ambiguity and allow proper upgrades.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions