arbor-sim/arbor

Wheel build: Test.PyPI submission fails

Closed this issue · 1 comments

Even after recent fixes to our wheel building are merged, a tiny problem persists (and shows itself): submission to test.pypi.org: https://github.com/arbor-sim/arbor/actions/runs/5774140343/job/15651199161

It's just the submission, and most probably generating and/or using the unique VERSION file, because pypi rejects uploads if a version has already uploaded.

The bug is that the CI generated VERSION is no longer used by the wheel build, it sources the version info from pyproject.toml which unfortunately is duplicating VERSION for now, pending the ability to read that field from external files.