Skip to content

Commit

Permalink
pyproject.toml: add missing dependencies (archlinux#2257)
Browse files Browse the repository at this point in the history
we were missing 2 dependencies, pyparted and systemd-python(optional), that would lead pip installations to fail sometimes. 

I added them and attributed systemd_python to a new optional dependency group called log since it only seems to be used for system logging:

https://github.com/archlinux/archinstall/blob/64c91cdbcba4b1dc5270c4cf4314943e5b151641/archinstall/lib/output.py#L133
  • Loading branch information
alan-barzilay authored Nov 23, 2023
1 parent 64c91cd commit f644632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
]
dependencies = [
"simple-term-menu==1.6.3",
"pyparted==3.13.0",
]

[project.urls]
Expand All @@ -27,6 +28,7 @@ Documentation = "https://archinstall.readthedocs.io/"
Source = "https://github.com/archlinux/archinstall"

[project.optional-dependencies]
log = ["systemd_python==235"]
dev = [
"mypy==1.7.0",
"pre-commit==3.5.0",
Expand Down

0 comments on commit f644632

Please sign in to comment.