Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lightrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: 3_zenodo
timeout-minutes: 5
working-directory: 3_zenodo
# REPREP_ZENODO_TOKEN is not set, so nothing is uploaded to Zenodo.
# STEPUP_DATA_ZENODO_TOKEN is not set, so nothing is uploaded to Zenodo.
run: |
source "$GITHUB_WORKSPACE/.envrc"
stepup build
2 changes: 1 addition & 1 deletion 1_dataset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ instead of using the official `settings.json`.
The consistency between `1_dataset/settings.json` and `1_dataset/output/settings.json`
is used throughout the repository to check if the settings match the official ones.
The PDFs will contain a warning in the footer when using local settings,
and the `3_zenodo` workflow fails with an error if the `REPREP_ZENODO_TOKEN` is set.
and the `3_zenodo` workflow fails with an error if the `STEPUP_DATA_ZENODO_TOKEN` is set.

For example, with the following settings, each workflow takes less than a minute.
The `kernels` are copied unchanged from `settings.json`,
Expand Down
2 changes: 1 addition & 1 deletion 1_dataset/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from path import Path
from stepup.core.api import copy, glob, hold, loadns, run, shq, static
from stepup.reprep.api import compile_typst
from stepup.report.api import compile_typst

# Write Git information to text file for inclusion in documents.
run(
Expand Down
2 changes: 1 addition & 1 deletion 2_validation/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from path import Path
from stepup.core.api import loadns, run, shq, static
from stepup.reprep.api import compile_typst
from stepup.report.api import compile_typst

# Write Git information to text file for inclusion in documents.
run(
Expand Down
6 changes: 3 additions & 3 deletions 3_zenodo/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os

from stepup.core.api import glob, loadns, run, static
from stepup.reprep.api import make_inventory, sync_zenodo
from stepup.data.api import make_inventory, sync_zenodo

run(
"git archive --format=zip --output 3_zenodo/main.zip HEAD",
Expand All @@ -25,7 +25,7 @@
*glob("../1_dataset/output/*.zip"),
*static("../LICENSES/*.txt"),
]
make_inventory(*archive_paths, "sync_zenodo_inventory.jsonl")
make_inventory("sync_zenodo_inventory.jsonl", paths=archive_paths)

official_settings = loadns("../1_dataset/settings.json", do_amend=True)
used_settings = loadns("../1_dataset/output/settings.json", do_amend=True)
Expand All @@ -34,5 +34,5 @@
# This guarantees that, even if plan.py is skipped upon restarting the workflow,
# no results derived from local settings are accidentally uploaded.
sync_zenodo("sync_zenodo.yaml", "zenodo_description.md", "sync_zenodo_inventory.jsonl")
elif "REPREP_ZENODO_TOKEN" in os.environ:
elif "STEPUP_DATA_ZENODO_TOKEN" in os.environ:
raise RuntimeError("Refusing to upload data generated with local settings.")
6 changes: 5 additions & 1 deletion 3_zenodo/sync_zenodo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ metadata:
resource_type: software
relation_type: requires
- scheme: url
identifier: https://github.com/reproducible-reporting/stepup-reprep
identifier: https://github.com/reproducible-reporting/stepup-data
resource_type: software
relation_type: requires
- scheme: url
identifier: https://github.com/reproducible-reporting/stepup-report
resource_type: software
relation_type: requires
Comment thread
tovrstra marked this conversation as resolved.
Resolved
- scheme: url
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ A major refactoring of the ACID dataset.
- Figures use the default Matplotlib font instead of IBM Plex Sans,
so no fonts need to be installed on the system.
- Upgraded to StepUp 4 and updated all Python dependencies to recent versions.
- Replaced StepUp RepRep by its successors, StepUp Data and StepUp Report.
The Zenodo token is now taken from `STEPUP_DATA_ZENODO_TOKEN` instead of `REPREP_ZENODO_TOKEN`.
- StepUp now tracks changes to the Python modules in `acidic/`,
so that the affected steps are rerun when these modules change.
- The Python modules in `lib/` were moved into the `acidic` package (ACID Internal Components),
Expand Down
572 changes: 12 additions & 560 deletions pylock.toml

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ dependencies = [
"pytest>=9.2.0",
"reuse>=6.3.0",
"scipy>=1.18.1",
"stepup>=4.2.0",
"stepup-reprep>=4.2.0",
"stepup>=4.3.0a1",
"stepup-data>=4.3.0a0",
"stepup-report>=4.3.0a0",
Comment thread
tovrstra marked this conversation as resolved.
Resolved
]
# Keep consistent with PYTHON_VERSION in setup.sh.
requires-python = "==3.14.*"
Expand Down
836 changes: 30 additions & 806 deletions uv.lock

Large diffs are not rendered by default.

Loading