Bump version and modernize version utility code.

Review Request #13956 — Created June 6, 2024 and submitted

Information

Review Board
master

Reviewers

This change bumps Review Board to 8.x on the master branch, updates the
djblets dependency to match, and modernizes all our package versioning
utilities.

Ran setup.py develop.

Summary ID
Bump version and modernize version utility code.
This change bumps Review Board to 8.x on the master branch, updates the djblets dependency to match, and modernizes all our package versioning utilities. Testing Done: Ran setup.py develop.
d56520206e35d54b9431695f5ba4abbf49fb48ec
Description From Last Updated

Since this is a core package information module, let's go for the widest compatibility and use Type[...] and not type[...].

chipx86chipx86

We should reserve _ for gettext. We can just assign to VERSION[:-1].

chipx86chipx86

Old code, but I've been changing other modules to use VERSION[-1] here since that's always going to be the release …

chipx86chipx86
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. reviewboard/__init__.py (Diff revision 1)
     
     
    Show all issues

    Since this is a core package information module, let's go for the widest compatibility and use Type[...] and not type[...].

    1. Because this is an annotation and we're using from __future__ import annotations they both end up as strings. There's no compatibility difference.

    2. True, that's fair.

  3. reviewboard/__init__.py (Diff revision 1)
     
     
    Show all issues

    We should reserve _ for gettext. We can just assign to VERSION[:-1].

  4. reviewboard/__init__.py (Diff revision 1)
     
     
    Show all issues

    Old code, but I've been changing other modules to use VERSION[-1] here since that's always going to be the release flag.

  5. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (df6fcf8)