single-cell-data / SOMA

A flexible and extensible API for annotated 2D matrix data stored in multiple underlying formats.
MIT License
69 stars 9 forks source link

[python] Correctly specify the pip cache in the Github workflow #130

Closed thetorpedodog closed 1 year ago

thetorpedodog commented 1 year ago

Every single run of the upload-to-pypi task, I would see:

Post job cleanup.
Error: Unexpected end of JSON input

and I had no idea why. But looking at the setup-python step:

cache: pip
cache-dependency-path: python-spec/requirements-py.txt
check-latest: false
token: ***
update-environment: true

There is no requirements-py.txt file, because there is no matrix to get a matrix.python-version from, because it's not a matrixed step.