It didn't like having licenses in the normal way - I had to do them in the hatch way.
I removed the bit telling sdist where to look - not sure if it was necessary but the canonical example in black had it like that so I thoguht it might work.. I'm too tired to see if it works without this change.
check-wheel-file assumes by default a single toplevel library. the hynek tool which calls that doesn't give an option to customise this - so I've told it to skip-wheel.
I tried addingcheck-wheel-file specifying multiple toplevel libraries separately below - which works locally, but not upstream because of the wildcard.. I'm beyond caring now - so if one of you wants to do it tomorrow then great - otherwise I will merge and rerelease on main and we're done!
The final pypi publish still seems to fail even though the pypi test is fine because the hynek tool has created a swmmanywhere-0.1.2.tar.gz (which already exists and so causes the error despite the release being 0.1.3) - I'm hoping this is something to do with the fact that I'm not releasing from main but instead this branch.
Fixes #290
Type of change
[ ] Documentation (non-breaking change that adds or improves the documentation)
[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (non-breaking, back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (whatever its nature)
Key checklist
[x] All tests pass (eg. python -m pytest)
[x] The documentation builds and looks OK (eg. python -m sphinx -b html docs docs/build)
[x] Pre-commit hooks run successfully (eg. pre-commit run --all-files)
Further checks
[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))
Description
OK there were a few issues - small but took forever to track down. Here is the release action: https://github.com/ImperialCollegeLondon/SWMManywhere/actions/runs/11040266148
hatch
way.sdist
where to look - not sure if it was necessary but the canonical example inblack
had it like that so I thoguht it might work.. I'm too tired to see if it works without this change.check-wheel-file
assumes by default a single toplevel library. thehynek
tool which calls that doesn't give an option to customise this - so I've told it toskip-wheel
.check-wheel-file
specifying multiple toplevel libraries separately below - which works locally, but not upstream because of the wildcard.. I'm beyond caring now - so if one of you wants to do it tomorrow then great - otherwise I will merge and rerelease onmain
and we're done!hynek
tool has created aswmmanywhere-0.1.2.tar.gz
(which already exists and so causes the error despite the release being0.1.3
) - I'm hoping this is something to do with the fact that I'm not releasing frommain
but instead this branch.Fixes #290
Type of change
Key checklist
python -m pytest
)python -m sphinx -b html docs docs/build
)pre-commit run --all-files
)Further checks