I can reproduce this report with bare `pkginfo`: -------------------------------- %< -------------------------------- $ python3.8 -m venv /tmp/lp-1953227 $ cd /tmp/lp-1953227/ $ bin/pip install --upgrade setuptools pip wheel ... Successfully installed pip-21.3.1 setuptools-59.4.0 wheel-0.37.0 $ bin/pip install "pkginfo~=1.8.0" Collecting pkginfo~=1.8.0 Downloading pkginfo-1.8.2-py2.py3-none-any.whl (26 kB) Installing collected packages: pkginfo Successfully installed pkginfo-1.8.2 $ wget https://files.pythonhosted.org/packages/72/8a/033b584f8dd863c07aa8877c2dd231777de0bb0b1338f4ac6a81999980ee/tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl ... 2021-12-04 13:11:17 (1.76 MB/s) - ‘tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl’ saved [489633495/489633495] $ bin/pkginfo tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl metadata_version: 1.2 name: gast version: 0.4.0 platforms: ['UNKNOWN'] summary: Python AST that abstracts the underlying Python version description: A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST). GAST provides a compatibility layer between the AST of various Python versions, as produced by ``ast.parse`` from the standard ``ast`` module. home_page: https://github.com/serge-sans-paille/gast/ ... $ bin/pip install "pkginfo<1.8.0" ... Successfully installed pkginfo-1.7.1 $ bin/pkginfo tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl metadata_version: 2.1 name: tensorflow version: 2.7.0 platforms: ['UNKNOWN'] summary: TensorFlow is an open source machine learning framework for everyone. description: [![Python](https://img.shields.io/pypi/pyversions/tensorflow.svg?style=plastic)](https://badge.fury.io/py/tensorflow) [![PyPI](https://badge.fury.io/py/tensorflow.svg)](https://badge.fury.io/py/tensorflow) TensorFlow is an open source software library for high performance numerical computation. Its flexible architecture allows easy deployment of computation across a variety of platforms (CPUs, GPUs, TPUs), and from desktops to clusters of servers to mobile and edge devices. ... -------------------------------- %< -------------------------------- It fails with the current release, too: -------------------------------- %< -------------------------------- $ bin/pip install --upgrade pkginfo ... Successfully installed pkginfo-1.8.2 $ bin/pkginfo tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl metadata_version: 1.2 name: gast version: 0.4.0 platforms: ['UNKNOWN'] summary: Python AST that abstracts the underlying Python version description: A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST). ... -------------------------------- %< -------------------------------- The 'tensorflow' wheel appears to vendor in a couple of 'gast'-related files: -------------------------------- %< -------------------------------- $ unzip -l tensorflow-2.7.0-cp38-cp38-manylinux2010_x86_64.whl | grep gast 2244 2021-11-01 17:17 tensorflow/python/autograph/pyct/gast_util.py 1165 2021-11-01 17:17 tensorflow/include/external/gast_archive/PKG-INFO -------------------------------- %< -------------------------------- I suspect that the last one is the source of the problem, here.