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.
Files changed (79) hide show
  1. {stepup-4.0.1 → stepup-4.0.2}/PKG-INFO +5 -4
  2. {stepup-4.0.1 → stepup-4.0.2}/pyproject.toml +6 -3
  3. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/director.py +7 -1
  4. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/executor.py +1 -1
  5. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/reporter.py +2 -2
  6. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/watcher.py +1 -1
  7. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/PKG-INFO +5 -4
  8. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/requires.txt +4 -2
  9. stepup-4.0.2/stepup.egg-info/scm_version.json +8 -0
  10. stepup-4.0.1/stepup.egg-info/scm_version.json +0 -8
  11. {stepup-4.0.1 → stepup-4.0.2}/.zenodo.json +0 -0
  12. {stepup-4.0.1 → stepup-4.0.2}/CITATION.cff +0 -0
  13. {stepup-4.0.1 → stepup-4.0.2}/CLAUDE.md +0 -0
  14. {stepup-4.0.1 → stepup-4.0.2}/CONTRIBUTING.md +0 -0
  15. {stepup-4.0.1 → stepup-4.0.2}/LICENSE +0 -0
  16. {stepup-4.0.1 → stepup-4.0.2}/LICENSES/CC-BY-SA-4.0.txt +0 -0
  17. {stepup-4.0.1 → stepup-4.0.2}/LICENSES/LGPL-3.0-or-later.txt +0 -0
  18. {stepup-4.0.1 → stepup-4.0.2}/LICENSES/LicenseRef-StepUp-Logo-v1.txt +0 -0
  19. {stepup-4.0.1 → stepup-4.0.2}/MANIFEST.in +0 -0
  20. {stepup-4.0.1 → stepup-4.0.2}/README.md +0 -0
  21. {stepup-4.0.1 → stepup-4.0.2}/REUSE.toml +0 -0
  22. {stepup-4.0.1 → stepup-4.0.2}/setup.cfg +0 -0
  23. {stepup-4.0.1 → stepup-4.0.2}/snipwise.md +0 -0
  24. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/CLAUDE.md +0 -0
  25. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/__init__.py +0 -0
  26. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/__main__.py +0 -0
  27. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/api.py +0 -0
  28. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/asyncio.py +0 -0
  29. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/browse.py +0 -0
  30. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/builder.py +0 -0
  31. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/call.py +0 -0
  32. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/cattrs.py +0 -0
  33. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/cgroups.py +0 -0
  34. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/clean.py +0 -0
  35. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/config_loader.py +0 -0
  36. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/config_tool.py +0 -0
  37. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/constants.py +0 -0
  38. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/enums.py +0 -0
  39. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/exceptions.py +0 -0
  40. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/extapi.py +0 -0
  41. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/file.py +0 -0
  42. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/finalize.py +0 -0
  43. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/hash.py +0 -0
  44. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/hash_queue.py +0 -0
  45. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/interact.py +0 -0
  46. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/job.py +0 -0
  47. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/logo.svg +0 -0
  48. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/nglob.py +0 -0
  49. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/outcome.py +0 -0
  50. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/path.py +0 -0
  51. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/pending.py +0 -0
  52. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/pytest.py +0 -0
  53. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/render_jinja.py +0 -0
  54. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/rpc.py +0 -0
  55. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/run.py +0 -0
  56. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/scheduler.py +0 -0
  57. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/script.py +0 -0
  58. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/sqlite3.py +0 -0
  59. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/startup.py +0 -0
  60. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/static_tree.py +0 -0
  61. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/status.py +0 -0
  62. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/step.py +0 -0
  63. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/stepinfo.py +0 -0
  64. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tool.py +0 -0
  65. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tracebacks.py +0 -0
  66. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/trellis.py +0 -0
  67. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/tui.py +0 -0
  68. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/usage.py +0 -0
  69. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/utils.py +0 -0
  70. {stepup-4.0.1 → stepup-4.0.2}/stepup/core/workflow.py +0 -0
  71. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/SOURCES.txt +0 -0
  72. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/dependency_links.txt +0 -0
  73. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/entry_points.txt +0 -0
  74. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/scm_file_list.json +0 -0
  75. {stepup-4.0.1 → stepup-4.0.2}/stepup.egg-info/top_level.txt +0 -0
  76. {stepup-4.0.1 → stepup-4.0.2}/tools/.gitignore +0 -0
  77. {stepup-4.0.1 → stepup-4.0.2}/tools/analyze_perf.py +0 -0
  78. {stepup-4.0.1 → stepup-4.0.2}/tools/leaves.py +0 -0
  79. {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.1
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
- await watcher.busy_watching.wait()
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("DROPAMEND", run.description, pages)
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
- "DROPAMEND": "cyan",
44
+ "UNAMEND": "cyan",
45
45
  "NOSKIP": "cyan",
46
46
  "DEFERRED": "cyan",
47
47
  "REMOVE": "cyan",
48
48
  "SKIP": "cyan",
49
- "UNCHANGED": "cyan",
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("UNCHANGED", path)
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.1
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
- [tests]
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
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "4.0.2",
3
+ "distance": 0,
4
+ "node": "g1d6cf4159b77d58e5778392dea41636480c84451",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-09-18"
8
+ }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "4.0.1",
3
- "distance": 0,
4
- "node": "g6a42284bb4b55375a994cb0286af00d1c327dbab",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-09-02"
8
- }
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