Nbdev_pypi InvalidDistibution

Invoking nbdev_pypi results in the error

InvalidDistribution: Metadata is missing required fields: Name, Version

See: nbdev_pypi failure · Issue #1534 · AnswerDotAI/nbdev · GitHub

I am getting a ‘InvalidDistribution’ error. Something in nbdev is no longer compatible with PyPi

git clone git@github.com:fenke/nbdev_pypi_broken.git
cd nbdev_pypi_broken
python -m venv .venv
source ./.venv/bin/activate
pip install -r requirements

nbdev_pypi
Successfully built nbdev_pypi_broken-0.0.1.tar.gz and nbdev_pypi_broken-0.0.1-py3-none-any.whl
Uploading distributions to https://upload.pypi.org/legacy/
ERROR    InvalidDistribution: Metadata is missing required fields: Name, Version.                                               
         Make sure the distribution includes the files where those fields are specified, and is using a supported               
         Metadata-Version: 1.0, 1.1, 1.2, 2.0, 2.1, 2.2.