Open bpinsard opened 2 months ago
something fishy in the circleCI -> hatch link when running the docker build
It looks like the package is getting polluted, so a dirty version is being calculated.
Oh ok, I don't know when the problem started, but it is present in 23 too, where it can be listed as 24.0.0
$ docker run nipreps/mriqc:23.1.1 --version
You are using MRIQC v24.0.0.dev0+g4d96184d.d20240320, and a newer version is available: 24.0.2.
MRIQC v24.0.0.dev0+g4d96184d.d2024032
Looks like we inject a token during the build process.
So we probably need to set:
ARG VERSION
ENV SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
In the build step:
https://github.com/nipreps/mriqc/blob/d5b13cb56b6de1493ad91979f0e1e48ebb6708db/Dockerfile#L31-L37
What happened?
I noticed that the MRIQC package in docker are all reporting a non-existent version that mismatch the version of the docker tag for the 24 line. I haven't checked the 23 and older.
That is likely the version that gets reported in the outputs too, disrupting reproducibility.
What command did you use?
What version of the software are you running?
24.0.*
How are you running this software?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response