-
-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After install python packages 'Brotli' and 'zopfli' are not in 'Requires' list of 'weasyprint' package #1568
Comments
Hello! Brotli and Zopfli are optional dependencies of Fonttools. I don’t know why pipdeptree is not able to detect this, but I suppose that it’s not able to detect optional dependencies. |
I've also thought that |
WeasyPrint depends on |
Something is definitely not OK. It is possible to make simple experiment on freshly new virtual environment - by installing latest version of Command
Observe: Requires does not show Command
Observe: Required-by contains Command
Observe: Requires is empty, and it should probably contain Command
Observe: Required-by is empty which means that libs The same command could be called for |
|
Uuuh, I didn't expect that, they make possible to have optional (extra) dependencies but not possible to see them after install ! |
pipdeptree has a related ticket. tox-dev/pipdeptree#107 |
Problem is observed in two distinct virtual environments (one based on python 3.7 and another one on python 3.10), with older and the newest pip (v22.0.3), with the newest version of
weasyprint
(v54.1).It is simple to reproduce by using command
pip show weasyprint
orpipdeptree
(that command needs previous install of the same name python package).Here is example of running
pipdeptree
in my environment:After install of
weasyprint
two packages (Brotli
andzopfli
) are shown in 'root' layer of installed packages which is not expected (they should be indented insideweasyprint
section). All other packages from this example have correct dependencies.Command
pip show weasyprint
confirms this - in lineRequires
there is no those two packages.The text was updated successfully, but these errors were encountered: