After install python packages 'Brotli' and 'zopfli' are not in 'Requires' list of 'weasyprint' package #1568
Closed
Description
opened on Feb 11, 2022
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
or pipdeptree
(that command needs previous install of the same name python package).
Here is example of running pipdeptree
in my environment:
(vEnvDjango32) c:\pyth\virtEnvs>pipdeptree
Brotli==1.0.9
cx-Oracle==8.3.0
Django==3.2
- asgiref [required: >=3.3.2,<4, installed: 3.5.0]
- typing-extensions [required: Any, installed: 4.0.1]
- pytz [required: Any, installed: 2021.3]
- sqlparse [required: >=0.2.2, installed: 0.4.2]
openpyxl==3.0.9
- et-xmlfile [required: Any, installed: 1.1.0]
pendulum==2.1.2
- python-dateutil [required: >=2.6,<3.0, installed: 2.8.2]
- six [required: >=1.5, installed: 1.16.0]
- pytzdata [required: >=2020.1, installed: 2020.1]
pipdeptree==2.2.1
- pip [required: >=6.0.0, installed: 20.1.1]
psycopg2-binary==2.9.3
schedule==1.1.0
setuptools==47.1.0
weasyprint==54.1
- cffi [required: >=0.6, installed: 1.15.0]
- pycparser [required: Any, installed: 2.21]
- cssselect2 [required: >=0.1, installed: 0.4.1]
- tinycss2 [required: Any, installed: 1.1.1]
- webencodings [required: >=0.4, installed: 0.5.1]
- webencodings [required: Any, installed: 0.5.1]
- fonttools [required: >=4.0.0, installed: 4.29.1]
- html5lib [required: >=1.1, installed: 1.1]
- six [required: >=1.9, installed: 1.16.0]
- webencodings [required: Any, installed: 0.5.1]
- Pillow [required: >=4.0.0, installed: 9.0.1]
- pydyf [required: >=0.0.3, installed: 0.1.2]
- Pyphen [required: >=0.9.1, installed: 0.12.0]
- tinycss2 [required: >=1.0.0, installed: 1.1.1]
- webencodings [required: >=0.4, installed: 0.5.1]
zopfli==0.1.9
After install of weasyprint
two packages (Brotli
and zopfli
) are shown in 'root' layer of installed packages which is not expected (they should be indented inside weasyprint
section). All other packages from this example have correct dependencies.
Command pip show weasyprint
confirms this - in line Requires
there is no those two packages.
Metadata
Assignees
Labels
No labels
Activity