Open dalz opened 3 months ago
Should we really install all optional dependencies by default? You can easily add them using overridePythonAttrs
.
It is easy only if you already know about it! Could there be an option, like programs.urlwatch.optionalDependencies
? Or at least tell the user (in the package description maybe) that optional dependencies have to be installed through overlays?
Describe the bug
urlwatch has the built-in filter
beautify
that requires beautifulsoup4, which is not included in the package dependencies. Trying to usebeautify
leads to an exception being raised (ImportError: Please install BeautifulSoup
).Steps To Reproduce
Steps to reproduce the behavior:
urls.yaml
like the following:Expected behavior
urlwatch finds the beautifulsoup library and doesn't throw any exception.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The following overlay fixes the issue:
Notify maintainers
@kmein @tv
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.