Repository navigation
Fix Zenodo issue with StepUp 4.2 - #87
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Zenodo upload workflow update.
No open issues 🎉
What changed in this PR
Updates the Zenodo upload workflow for StepUp 4.2 to address the uploader issue raised in #84 and tracked in #82.
Changes:
- Upgrades StepUp to
4.2.0rc2and StepUp Reprep to4.2.0rc1, with matching lockfile updates. - Generates an archive inventory and passes it to the updated
sync_zenodoAPI. - Excludes the generated inventory from version control.
| File | Description |
|---|---|
uv.lock |
Locks the updated StepUp packages and artifact hashes. |
pyproject.toml |
Raises the minimum StepUp and StepUp Reprep versions. |
pylock.toml |
Updates locked versions and artifacts to match. |
3_zenodo/plan.py |
Creates the inventory and adopts the updated Zenodo sync API. |
.gitignore |
Ignores sync_zenodo_inventory.jsonl. |
Review effort: Balanced
There was a problem hiding this comment.
🟡 Changes recommended
A critical issue remains: a cached plan with mismatched local settings can upload local files when a token is added later, so synchronization must only be scheduled when official and used settings match.
1 open issue
Review effort: Balanced
|
The pre-commit failure is a network issue, unrelated to the contents of the PR. |
RobbeBohy
left a comment
There was a problem hiding this comment.
Thanks for fixing this issue, looks good to me. I only have one minor comment.
Co-authored-by: Robbe Bohy <124883622+RobbeBohy@users.noreply.github.com>
|
@tovrstra To use the new version locally, you can run |

This addresses part of #82 and fixes the issue raised in #84.