Release 2.0.0
·
153 commits
to refs/heads/main
since this release
Added
- Add support for Python 3.11 and PyPy (#9) @hugovk
- Add support for Python 3.10 (#5) @hugovk
- Support
NO_COLOR
(#7) @hugovk - Add type annotations to the project and run mypy on CI (#11) @jdufresne
- Add tests (#1) @hugovk
Changed
- Refer to GitHub Releases for release notes for 2.0.0+ (#20) @hugovk
- Autodeploy to TestPyPI and to PyPI for GH releases (#19) @hugovk
- Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs (#17) @hugovk
- Replace deprecated
license_file
withlicense_files
insetup.cfg
(#14) @jdufresne - Use declarative metadata in
setup.cfg
(#10) @hugovk - Replace
3.9-dev
with3.9
in CI to use Python 3.9 final (#3) @CozyDoomer
Removed
- Drop support for EOL Python <= 3.6 (#9) @hugovk
- Remove hardcoded
VERSION
constant (#18) @hugovk
To find the version, use:
try:
# Python 3.8+
import importlib.metadata as importlib_metadata
except ImportError:
# Python 3.7
import importlib_metadata
print(importlib_metadata.version("termcolor"))