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
If a feedstock maintainer reconfigures the bot in conda-forge.yml, e.g. to skip pre-releases, and the bot now finds lower version numbers than before (which can be expected), one has to manually clear the new_version field in the corresponding version_pr_info file, or otherwise, the bot stops to issue version PRs.
# we only override the graph node if the version we found is newer
# or the graph doesn't have a valid version
ifisinstance(version_from_attrs, str):
vpri["new_version"] =max(
[version_from_data, version_from_attrs],
key=lambdax: VersionOrder(x.replace("-", ".")),
)
else:
vpri["new_version"] =version_from_data
Why does the new_version field in version_pr_info even exist? We could also use the value from the versions file directly, which would also speed up version updates, because we save an additional auto-tick step.
(currently it's update-upstream-versions → auto-tick → make-migrators → auto-tick, and the first auto-tick could be saved by this)
Workaround
Manually edit version_pr_info and set new_versioneither to false or to a version low enough so that updates happen again.
The text was updated successfully, but these errors were encountered:
There are three versions to keep track of in the bot.
the current feedstock version
the highest version the bot ever found
the version the bot just found when searching
The existing logic should ensure that the bot never issues an old version, which used to be an issue.
The code path is fairly convoluted right now because the bot has undergone a ton of internal refactoring to increase the parallelism. This happens while it runs live to avoid having to stop, do a schema migration, and then start again.
If a feedstock maintainer reconfigures the bot in
conda-forge.yml
, e.g. to skip pre-releases, and the bot now finds lower version numbers than before (which can be expected), one has to manually clear thenew_version
field in the correspondingversion_pr_info
file, or otherwise, the bot stops to issue version PRs.Responsible is the following code:
cf-scripts/conda_forge_tick/auto_tick.py
Lines 980 to 990 in e0ab929
Why does the
new_version
field inversion_pr_info
even exist? We could also use the value from theversions
file directly, which would also speed up version updates, because we save an additional auto-tick step.(currently it's update-upstream-versions → auto-tick → make-migrators → auto-tick, and the first auto-tick could be saved by this)
Workaround
Manually edit
version_pr_info
and setnew_version
either to false or to a version low enough so that updates happen again.The text was updated successfully, but these errors were encountered: