stepup 4.0.0rc2__tar.gz → 4.0.0rc4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stepup-4.0.0rc2/stepup.egg-info → stepup-4.0.0rc4}/PKG-INFO +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/pyproject.toml +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/api.py +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/pytest.py +8 -4
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/render_jinja.py +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4/stepup.egg-info}/PKG-INFO +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/entry_points.txt +1 -1
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/scm_version.json +2 -2
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/CLAUDE.md +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/LICENSE +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/MANIFEST.in +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/README.md +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/setup.cfg +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/__init__.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/__main__.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/asyncio.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/browse.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/builder.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/call.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/cattrs.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/clean.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/config.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/constants.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/director.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/enums.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/exceptions.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/executor.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/extapi.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/file.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/hash.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/hasher.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/interact.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/job.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/logo.svg +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/nglob.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/path.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/reporter.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/rpc.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/scheduler.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/script.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/sqlite3.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/startup.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/static_tree.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/step.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/stepinfo.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/trellis.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/tui.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/utils.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/watcher.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup/core/workflow.py +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/SOURCES.txt +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/dependency_links.txt +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/requires.txt +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/scm_file_list.json +0 -0
- {stepup-4.0.0rc2 → stepup-4.0.0rc4}/stepup.egg-info/top_level.txt +0 -0
|
@@ -64,7 +64,7 @@ Changelog = "https://reproducible-reporting.github.io/stepup-core/changelog/"
|
|
|
64
64
|
stepup = "stepup.core.__main__:main"
|
|
65
65
|
sb = "stepup.core.__main__:sb_main"
|
|
66
66
|
_stepup_hasher = "stepup.core.hasher:hasher_tool"
|
|
67
|
-
render-jinja = "stepup.core.render_jinja:main"
|
|
67
|
+
sc-render-jinja = "stepup.core.render_jinja:main"
|
|
68
68
|
|
|
69
69
|
[project.entry-points."stepup.tools"]
|
|
70
70
|
boot = "stepup.core.tui:boot_subcommand"
|
|
@@ -1230,7 +1230,7 @@ def render_jinja(
|
|
|
1230
1230
|
path_out = make_path_out(path_template, dest, None)
|
|
1231
1231
|
|
|
1232
1232
|
# Create the command
|
|
1233
|
-
args = ["render-jinja", "${inp}", "${out}"]
|
|
1233
|
+
args = ["sc-render-jinja", "${inp}", "${out}"]
|
|
1234
1234
|
if mode != "auto":
|
|
1235
1235
|
args.append(f"--mode={mode}")
|
|
1236
1236
|
if len(variables) > 0:
|
|
@@ -94,6 +94,14 @@ async def run_example(srcdir: Path, tmpdir: Path, overwrite_expected=False):
|
|
|
94
94
|
path_cur = workdir / ("current" + fn_exp[8:])
|
|
95
95
|
with open(path_cur) as fh:
|
|
96
96
|
cur = fh.read().rstrip()
|
|
97
|
+
|
|
98
|
+
# Print the current output for debugging purposes,
|
|
99
|
+
# before normalizing it for comparison with the expected output.
|
|
100
|
+
print()
|
|
101
|
+
print(f"########## {fn_exp} ##########")
|
|
102
|
+
print()
|
|
103
|
+
print(cur)
|
|
104
|
+
|
|
97
105
|
# Normalize output before comparing:
|
|
98
106
|
cur = cur.replace(Path.cwd(), "${PWD}")
|
|
99
107
|
cur = cur.replace(workdir, "${CASE}")
|
|
@@ -118,10 +126,6 @@ async def run_example(srcdir: Path, tmpdir: Path, overwrite_expected=False):
|
|
|
118
126
|
)
|
|
119
127
|
|
|
120
128
|
# Perform the comparison
|
|
121
|
-
print()
|
|
122
|
-
print(f"########## {fn_exp} ##########")
|
|
123
|
-
print()
|
|
124
|
-
print(cur)
|
|
125
129
|
if overwrite_expected:
|
|
126
130
|
path_exp = srcdir / fn_exp
|
|
127
131
|
with open(path_exp, "w") as fh:
|
|
@@ -42,7 +42,7 @@ __all__ = ("render_jinja",)
|
|
|
42
42
|
def main() -> None:
|
|
43
43
|
"""Command-line entry point for the `render-jinja` console script."""
|
|
44
44
|
parser = argparse.ArgumentParser(
|
|
45
|
-
prog="render-jinja",
|
|
45
|
+
prog="sc-render-jinja",
|
|
46
46
|
description="Render a file with Jinja2.",
|
|
47
47
|
)
|
|
48
48
|
parser.add_argument("path_in", type=Path, help="The input file")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|