mssing checkdepends 'python-platformdirs'
Task Info (Flyspray) | |
---|---|
Opened By | Xeonacid (Xeonacid) |
Task ID | 79988 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-10-17 14:23:39 UTC |
Status | Assigned |
Assignee | David Runge (dvzrv) |
Assignee | Morten Linderud (Foxboron) |
Details
Description:
=================================== FAILURES =================================== _________________________________ test_global __________________________________
cwd = PosixPath('/build/python-pytoolconfig/src/pytoolconfig-1.2.5/tests/configfiles')
def test_global(cwd):
if sys.platform != "linux":
pytest.skip()
os.environ["XDG_CONFIG_HOME"] = cwd.as_posix()
config = PyToolConfig("bogus", cwd, NestedModel, global_config=True)
tests/test_pytoolconfig.py:86:
pytoolconfig/pytoolconfig.py:63: in init self.sources.append(PyTool(tool))
self = <pytoolconfig.sources.pytool.PyTool object at 0x7fb4c26f7550> tool = 'bogus'
def __init__(self, tool: str):
"""Initialize the TOML configuration.
:param tool: name of your tool. Will read configuration from [tool.yourtool]
"""
import platformdirs
E ModuleNotFoundError: No module named 'platformdirs'
pytoolconfig/sources/pytool.py:25: ModuleNotFoundError =========================== short test summary info ============================ FAILED tests/test_pytoolconfig.py::test_global - ModuleNotFoundError: No modu... ========================= 1 failed, 14 passed in 0.16s ========================= ==> ERROR: A failure occurred in check().
A PKGBUILD patch is attached.