stepup 4.0.1__tar.gz → 4.0.2__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.1 → stepup-4.0.2}/PKG-INFO +5 -4
- {stepup-4.0.1 → stepup-4.0.2}/pyproject.toml +6 -3
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/director.py +7 -1
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/executor.py +1 -1
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/reporter.py +2 -2
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/watcher.py +1 -1
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/PKG-INFO +5 -4
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/requires.txt +4 -2
- stepup-4.0.2/stepup.egg-info/scm_version.json +8 -0
- stepup-4.0.1/stepup.egg-info/scm_version.json +0 -8
- {stepup-4.0.1 → stepup-4.0.2}/.zenodo.json +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/CITATION.cff +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/CLAUDE.md +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/CONTRIBUTING.md +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/LICENSE +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/LICENSES/CC-BY-SA-4.0.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/LICENSES/LGPL-3.0-or-later.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/LICENSES/LicenseRef-StepUp-Logo-v1.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/MANIFEST.in +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/README.md +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/REUSE.toml +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/setup.cfg +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/snipwise.md +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/CLAUDE.md +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/__init__.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/__main__.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/api.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/asyncio.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/browse.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/builder.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/call.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/cattrs.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/cgroups.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/clean.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/config_loader.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/config_tool.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/constants.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/enums.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/exceptions.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/extapi.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/file.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/finalize.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/hash.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/hash_queue.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/interact.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/job.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/logo.svg +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/nglob.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/outcome.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/path.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/pending.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/pytest.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/render_jinja.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/rpc.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/run.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/scheduler.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/script.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/sqlite3.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/startup.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/static_tree.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/status.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/step.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/stepinfo.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tool.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tracebacks.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/trellis.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tui.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/usage.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/utils.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup/core/workflow.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/SOURCES.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/dependency_links.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/entry_points.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/scm_file_list.json +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/top_level.txt +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/tools/.gitignore +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/tools/analyze_perf.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/tools/leaves.py +0 -0
- {stepup-4.0.1 → stepup-4.0.2}/tools/make_stable_redirects.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stepup
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.2
|
|
4
4
|
Summary: A dynamic Python build tool for reproducible workflows
|
|
5
5
|
Author-email: Toon Verstraelen <toon.verstraelen@ugent.be>
|
|
6
6
|
License-Expression: LGPL-3.0-or-later
|
|
@@ -34,14 +34,15 @@ Requires-Dist: path>=16.14.0
|
|
|
34
34
|
Requires-Dist: pyyaml>=6.0
|
|
35
35
|
Requires-Dist: rich>=13.0.0
|
|
36
36
|
Provides-Extra: tests
|
|
37
|
-
Requires-Dist: matplotlib>=3.8.0; extra == "tests"
|
|
38
|
-
Requires-Dist: numpy>=1.26.0; extra == "tests"
|
|
39
37
|
Requires-Dist: pytest>=8.2.0; extra == "tests"
|
|
40
38
|
Requires-Dist: pytest-asyncio>=0.24; extra == "tests"
|
|
41
39
|
Requires-Dist: pytest-timeout>=2.3.1; extra == "tests"
|
|
42
40
|
Requires-Dist: pytest-xdist>=3.6.1; extra == "tests"
|
|
41
|
+
Provides-Extra: examples
|
|
42
|
+
Requires-Dist: matplotlib>=3.8.0; extra == "examples"
|
|
43
|
+
Requires-Dist: numpy>=1.26.0; extra == "examples"
|
|
43
44
|
Provides-Extra: dev
|
|
44
|
-
Requires-Dist: stepup[tests]; extra == "dev"
|
|
45
|
+
Requires-Dist: stepup[examples,tests]; extra == "dev"
|
|
45
46
|
Requires-Dist: mkdocs; extra == "dev"
|
|
46
47
|
Requires-Dist: mkdocstrings[python]; extra == "dev"
|
|
47
48
|
Requires-Dist: mkdocs-macros-plugin; extra == "dev"
|
|
@@ -64,15 +64,18 @@ dynamic = ["version"]
|
|
|
64
64
|
# because it resolves the oldest supported versions of the direct dependencies,
|
|
65
65
|
# which is only meaningful for packages that the tests actually exercise.
|
|
66
66
|
tests = [
|
|
67
|
-
"matplotlib>=3.8.0",
|
|
68
|
-
"numpy>=1.26.0",
|
|
69
67
|
"pytest>=8.2.0",
|
|
70
68
|
"pytest-asyncio>=0.24",
|
|
71
69
|
"pytest-timeout>=2.3.1",
|
|
72
70
|
"pytest-xdist>=3.6.1",
|
|
73
71
|
]
|
|
72
|
+
# What the documentation examples need, which the smoke workflow runs.
|
|
73
|
+
examples = [
|
|
74
|
+
"matplotlib>=3.8.0",
|
|
75
|
+
"numpy>=1.26.0",
|
|
76
|
+
]
|
|
74
77
|
dev = [
|
|
75
|
-
"stepup[tests]",
|
|
78
|
+
"stepup[tests,examples]",
|
|
76
79
|
"mkdocs",
|
|
77
80
|
"mkdocstrings[python]",
|
|
78
81
|
"mkdocs-macros-plugin",
|
|
@@ -728,7 +728,13 @@ async def watch_first_loop(watcher: Watcher, handler: "DirectorHandler", stop_ev
|
|
|
728
728
|
"""Run pending steps 0.5 seconds after the watcher observes a file change."""
|
|
729
729
|
with watcher.subscribe_changes() as changed_event:
|
|
730
730
|
while True:
|
|
731
|
-
|
|
731
|
+
# Every wait below must also watch `stop_event`,
|
|
732
|
+
# because the director shuts down only after this loop has ended.
|
|
733
|
+
# Once the shutdown has begun, the watch phase never starts again,
|
|
734
|
+
# so waiting for it alone would block the shutdown forever.
|
|
735
|
+
await wait_for_any_event(watcher.busy_watching, stop_event)
|
|
736
|
+
if stop_event.is_set():
|
|
737
|
+
break
|
|
732
738
|
await wait_for_any_event(changed_event, stop_event)
|
|
733
739
|
if stop_event.is_set():
|
|
734
740
|
break
|
|
@@ -954,4 +954,4 @@ class Executor:
|
|
|
954
954
|
pages = [("Outdated dynamic dependencies", page_change)]
|
|
955
955
|
if len(page_same) > 0:
|
|
956
956
|
pages.append(("Remained the same (or missing)", page_same))
|
|
957
|
-
await self.reporter("
|
|
957
|
+
await self.reporter("UNAMEND", run.description, pages)
|
|
@@ -41,12 +41,12 @@ TAG_COLORS = {
|
|
|
41
41
|
"SUCCESS": "green",
|
|
42
42
|
# Workflow-related details
|
|
43
43
|
"DELETED": "cyan",
|
|
44
|
-
"
|
|
44
|
+
"UNAMEND": "cyan",
|
|
45
45
|
"NOSKIP": "cyan",
|
|
46
46
|
"DEFERRED": "cyan",
|
|
47
47
|
"REMOVE": "cyan",
|
|
48
48
|
"SKIP": "cyan",
|
|
49
|
-
"
|
|
49
|
+
"SAMEHASH": "cyan",
|
|
50
50
|
"UPDATED": "cyan",
|
|
51
51
|
# Events outside the workflow
|
|
52
52
|
"DIRECTOR": "magenta",
|
|
@@ -221,7 +221,7 @@ class Watcher:
|
|
|
221
221
|
# so its round trips are made after the transaction closes,
|
|
222
222
|
# instead of holding the database write lock for the duration of the network traffic.
|
|
223
223
|
for path in dropped:
|
|
224
|
-
await self.reporter("
|
|
224
|
+
await self.reporter("SAMEHASH", path)
|
|
225
225
|
|
|
226
226
|
# Reset the watcher state.
|
|
227
227
|
# The subscriber events are cleared together with the sets they refer to,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stepup
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.2
|
|
4
4
|
Summary: A dynamic Python build tool for reproducible workflows
|
|
5
5
|
Author-email: Toon Verstraelen <toon.verstraelen@ugent.be>
|
|
6
6
|
License-Expression: LGPL-3.0-or-later
|
|
@@ -34,14 +34,15 @@ Requires-Dist: path>=16.14.0
|
|
|
34
34
|
Requires-Dist: pyyaml>=6.0
|
|
35
35
|
Requires-Dist: rich>=13.0.0
|
|
36
36
|
Provides-Extra: tests
|
|
37
|
-
Requires-Dist: matplotlib>=3.8.0; extra == "tests"
|
|
38
|
-
Requires-Dist: numpy>=1.26.0; extra == "tests"
|
|
39
37
|
Requires-Dist: pytest>=8.2.0; extra == "tests"
|
|
40
38
|
Requires-Dist: pytest-asyncio>=0.24; extra == "tests"
|
|
41
39
|
Requires-Dist: pytest-timeout>=2.3.1; extra == "tests"
|
|
42
40
|
Requires-Dist: pytest-xdist>=3.6.1; extra == "tests"
|
|
41
|
+
Provides-Extra: examples
|
|
42
|
+
Requires-Dist: matplotlib>=3.8.0; extra == "examples"
|
|
43
|
+
Requires-Dist: numpy>=1.26.0; extra == "examples"
|
|
43
44
|
Provides-Extra: dev
|
|
44
|
-
Requires-Dist: stepup[tests]; extra == "dev"
|
|
45
|
+
Requires-Dist: stepup[examples,tests]; extra == "dev"
|
|
45
46
|
Requires-Dist: mkdocs; extra == "dev"
|
|
46
47
|
Requires-Dist: mkdocstrings[python]; extra == "dev"
|
|
47
48
|
Requires-Dist: mkdocs-macros-plugin; extra == "dev"
|
|
@@ -10,7 +10,7 @@ rich>=13.0.0
|
|
|
10
10
|
asyncinotify>=4.0.9
|
|
11
11
|
|
|
12
12
|
[dev]
|
|
13
|
-
stepup[tests]
|
|
13
|
+
stepup[examples,tests]
|
|
14
14
|
mkdocs
|
|
15
15
|
mkdocstrings[python]
|
|
16
16
|
mkdocs-macros-plugin
|
|
@@ -19,9 +19,11 @@ reuse
|
|
|
19
19
|
snipwise<2.0a0
|
|
20
20
|
yappi
|
|
21
21
|
|
|
22
|
-
[
|
|
22
|
+
[examples]
|
|
23
23
|
matplotlib>=3.8.0
|
|
24
24
|
numpy>=1.26.0
|
|
25
|
+
|
|
26
|
+
[tests]
|
|
25
27
|
pytest>=8.2.0
|
|
26
28
|
pytest-asyncio>=0.24
|
|
27
29
|
pytest-timeout>=2.3.1
|
|
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
|
|
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
|