You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: reproducibility issue with hatch version #1984
It does not even document the hatchling version anywhere! How did GitHub end up with 0.22.0? How did my local build end with 0.23.0? Neither of those versions is on pypi AFAICT and current release has been 0.23.1 for months!
I think this is the issue: we depend on hatchling only but for some reason the WHEEL file documents it as hatch but still using hatchling version numbers.
Then it makes sense:
we just pin our hatchling version pyproject.toml and build is now reproducible
whatever component uses the wrong name in WHEEL should be fixed ... but it's not critical to our build reproducibility
Activity
jku commentedon Apr 28, 2022
Looking at the CD build log:
https://github.com/theupdateframework/python-tuf/runs/6194444912
It does not even document the hatchling version anywhere! How did GitHub end up with 0.22.0? How did my local build end with 0.23.0? Neither of those versions is on pypi AFAICT and current release has been 0.23.1 for months!
jku commentedon Apr 28, 2022
@ofek I suppose the pinning is fairly simple... but do you have any ideas about these random versions: where do they come from?
ofek commentedon Apr 28, 2022
https://pypi.org/project/hatchling/#history
It's customary to use the name of the broader project rather than the backend
jku commentedon Apr 28, 2022
this is probably part of the problem: I have issues understanding which is which and what actually gets used...
The reality is that our WHEEL file says:
Generator: hatch 0.22.0This is not a release I can find anywhere. Maybe it should say
hatchling 0.22.0?jku commentedon Apr 28, 2022
I think this is the issue: we depend on hatchling only but for some reason the WHEEL file documents it as
hatchbut still usinghatchlingversion numbers.Then it makes sense:
ofek commentedon Apr 28, 2022
https://github.com/ofek/hatch/releases/tag/hatchling-v0.24.0