Skip to content

Commit b91c4bd

Browse files
heindsighttony
authored andcommitted
Promote PyYaml to a direct dependency
After installing in a fresh Python virtual environment, `tmuxp` fails with `ModuleNotFoundError: No module named 'yaml'`. This happens because since switching from `kaptan` to `ConfigReader`, `PyYaml` is no longer pulled in as a transitive dependency. Adding `PyYaml` as a direct "main" dependency should fix this.
1 parent 21b1ef0 commit b91c4bd

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

poetry.lock

+9-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ python = "^3.7"
4949
click = "~8"
5050
libtmux = "~0.15.8"
5151
colorama = ">=0.3.9"
52+
PyYAML = "^6.0"
5253

5354
[tool.poetry.dev-dependencies]
5455
### Docs ###

0 commit comments

Comments
 (0)