See discussions: [astropy/astropy#11091](https://github.com/astropy/astropy/pull/11091) [pypa/pip#7413](https://github.com/pypa/pip/issues/7413) ```console [tkloczko@devel-g2v waitress-2.1.2]$ grep -r pkg_resources docs/conf.py:import pkg_resources docs/conf.py:version = pkg_resources.get_distribution("waitress").version ```