templateflow / python-client

A python client to query TemplateFlow via pyBIDS
https://templateflow.org/python-client/
Apache License 2.0
8 stars 12 forks source link

Nightly builds failing in packaging test #126

Closed oesteban closed 8 months ago

oesteban commented 8 months ago

The Test packaging step of the nightly builds is failing:

* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (hatch-vcs, hatchling, nipreps-versions)
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (hatch-vcs, hatchling, nipreps-versions)
* Getting build dependencies for wheel...
* Building wheel...
Successfully built templateflow-24.2.0.dev31+g95b1ff8.tar.gz and templateflow-24.2.0.dev31+g95b1ff8-py3-none-any.whl
Checking dist/templateflow-24.2.0.dev31+g95b1ff8-py3-none-any.whl: 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.                                                         

Exited with code exit status 1

This is the step's code:

#!/bin/bash -eo pipefail
source /tmp/venv/bin/activate
cd /tmp/src/templateflow
python -m build
twine check dist/*