Skip to content

Add a bump implementation for GentooVersion #180

Open

Description

@ziadhany

bump is required to handle revision version ranges correctly for GentooImporterPipeline

see:
aboutcode-org/vulnerablecode#2090 (comment)

Expected:

>>> from univers.versions import GentooVersion
>>> GentooVersion("2.23.3").bump()
GentooVersion(string='2.24')

Actual:

>>> GentooVersion("2.23.3").bump()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'GentooVersion' object has no attribute 'bump'

Activity

  1. changed the title [-]Add a next_minor implementation for GentooVersion[/-] [+]Add a bump implementation for GentooVersion[/+] on Feb 12, 2026
  2. added 2 commits that reference this issue on Nov 3, 2026
    ebc72b4
    dae3313
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions