Update the package version generation and Python compatibility.

Review Request #11922 — Created Jan. 10, 2022 and submitted — Latest diff uploaded

Information

kgb
master

Reviewers

kgb

We've relied on setuptools to convert our alpha/beta tags to
a/b. However, this generates an annoying warning. To avoid this, we
now handle normalization as part of string generation.

The package also now defines a python_requires, which specifies all
versions of Python that are supported. This will help pip determine
which versions of kgb are eligible for installation in the future.

Built the package. Didn't see any warnings.

Inspected the metadata for the new Python requirements.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update the package version generation and Python compatibility.
We've relied on setuptools to convert our `alpha`/`beta` tags to `a`/`b`. However, this generates an annoying warning. To avoid this, we now handle normalization as part of string generation. The package also now defines a `python_requires`, which specifies all versions of Python that are supported. This will help `pip` determine which versions of kgb are eligible for installation in the future.
c6e822cb128df0cc966ed6e1ad5554ad1d373caf Christian Hammond
setup.py
kgb/__init__.py
Loading...