Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 02539d60fd |
+1
-1
@@ -21,7 +21,7 @@ license = { text = "MIT" }
|
|||||||
name = "pyflowx"
|
name = "pyflowx"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
autofmt = "pyflowx.cli.autofmt:main"
|
autofmt = "pyflowx.cli.autofmt:main"
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ from .task import (
|
|||||||
task_template,
|
task_template,
|
||||||
)
|
)
|
||||||
|
|
||||||
__version__ = "0.4.1"
|
__version__ = "0.4.2"
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"IS_LINUX",
|
"IS_LINUX",
|
||||||
|
|||||||
@@ -561,7 +561,12 @@ class TestCliRunnerIntegration:
|
|||||||
runner = px.CliRunner(aliases={"diamond": graph})
|
runner = px.CliRunner(aliases={"diamond": graph})
|
||||||
exit_code = runner.run(["diamond"])
|
exit_code = runner.run(["diamond"])
|
||||||
assert exit_code == CliExitCode.SUCCESS.value
|
assert exit_code == CliExitCode.SUCCESS.value
|
||||||
assert order == ["a", "b", "c", "d"]
|
# dependency 策略并发调度独立任务,b 与 c 的相对顺序非确定;
|
||||||
|
# 仅校验拓扑约束:a 最先、d 最后、b/c 介于其间。
|
||||||
|
assert set(order) == {"a", "b", "c", "d"}
|
||||||
|
assert order[0] == "a"
|
||||||
|
assert order[-1] == "d"
|
||||||
|
assert set(order[1:3]) == {"b", "c"}
|
||||||
|
|
||||||
def test_mixed_fn_and_cmd_commands(self) -> None:
|
def test_mixed_fn_and_cmd_commands(self) -> None:
|
||||||
"""混合 fn 和 cmd 的命令应都能执行."""
|
"""混合 fn 和 cmd 的命令应都能执行."""
|
||||||
|
|||||||
@@ -2736,7 +2736,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pyflowx"
|
name = "pyflowx"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "graphlib-backport", marker = "python_full_version < '3.9'" },
|
{ name = "graphlib-backport", marker = "python_full_version < '3.9'" },
|
||||||
|
|||||||
Reference in New Issue
Block a user