Skip to content

Commit 8656cc1

Browse files
committed
Fixes for packaging
1 parent b497c9f commit 8656cc1

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pyproject.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "temporalio"
3-
version = "0.1a1.dev3"
3+
version = "0.1a1.dev4"
44
description = "Temporal.io Python SDK"
55
license = "MIT"
66
authors = ["Temporal Technologies Inc <sdk@temporal.io>"]
@@ -68,11 +68,16 @@ test = "pytest"
6868
# Install local, run single pytest with env var, uninstall local
6969
[tool.poe.tasks.test-dist-single]
7070
ignore_fail = "return_non_zero"
71-
sequence = [
72-
{ cmd = "pip install --no-index --find-links=./dist temporalio" },
73-
{ cmd = "pytest -k test_activity_hello", env = { TEMPORAL_INTEGRATION_TEST = "1" } },
74-
{ cmd = "pip uninstall temporalio -y" },
75-
]
71+
# Has to be a child table due to the Python TOML decoder in many default pips
72+
# failing on inline table with "Invalid inline table value encountered" because
73+
# there's a comma (see https://github.com/uiri/toml/issues/348).
74+
[[tool.poe.tasks.test-dist-single.sequence]]
75+
cmd = "pip install --no-index --find-links=./dist temporalio"
76+
[[tool.poe.tasks.test-dist-single.sequence]]
77+
cmd = "pytest -k test_activity_hello"
78+
env = { TEMPORAL_INTEGRATION_TEST = "1" }
79+
[[tool.poe.tasks.test-dist-single.sequence]]
80+
cmd = "pip uninstall temporalio -y"
7681

7782
[tool.pytest.ini_options]
7883
asyncio_mode = "auto"

0 commit comments

Comments
 (0)