[tool.poetry]
# ...
packages = [
{ include = "my_package" },
{ include = "extra_package/**/*.py" },
]
The error is as follows:
d[k] = process(v)
File "...py3.10/lib/python3.10/site-packages/toml_union/toml_union.py", line 224, in process
assert all('name' in item for item in v), v
AssertionError: [{'include': 'my_package'}]
Unfortunately I won't be able to debug any further as I decided for another approach for my project.
The union fails if a
pyproject.toml
containstool.poetry.packages
as described in https://python-poetry.org/docs/pyproject/:The error is as follows:
Unfortunately I won't be able to debug any further as I decided for another approach for my project.