Remove a deprecation warning when computing the package version.

Review Request #11264 — Created Nov. 4, 2020 and submitted

Information

Django Evolution
master

Reviewers

In pretty much all of our Python packages, we generate a package version
using legacy identifiers of "alpha" and "beta". These get turned into
"a" and "b" by pkg_resources, and a warning is thrown to inform us
that we're doing it wrong.

To reduce those warnings, this change converts the legacy naming to
modern naming when generating the package version.

Built packages. Saw the correct identifier in the package file, without
seeing any warnings.

Summary ID
Remove a deprecation warning when computing the package version.
In pretty much all of our Python packages, we generate a package version using legacy identifiers of "alpha" and "beta". These get turned into "a" and "b" by `pkg_resources`, and a warning is thrown to inform us that we're doing it wrong. To reduce those warnings, this change converts the legacy naming to modern naming when generating the package version.
71191f9d8b4ef4873037d7bb9ae728a4c4f0849d
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (4594ed6)