Bug 1852520 - Please drop python-reportlab dependencies on bitstream-vera-sans-fonts as it already depends on dejavu-sans-fonts
Summary: Please drop python-reportlab dependencies on bitstream-vera-sans-fonts as it ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-reportlab
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-30 15:32 UTC by Luigi Toscano
Modified: 2021-11-19 02:00 UTC (History)
6 users (show)

Fixed In Version: python-reportlab-3.6.2-2.fc35 python-reportlab-3.6.2-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-19 01:14:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Luigi Toscano 2020-06-30 15:32:28 UTC
Description of problem:

The Dejavu fonts are a fork of the Bitstream Vera fonts. The latter haven't seen any change in a long time and the Dejavu ones are in fact their newer releases.

There is really no need to depend on bitstream-vera-sans-fonts when dejavu-sans-fonts is listed. 

Only a handful of F32 packages depend on bistream-vera-sans-fonts and this is probably the most active ones. I'd rather not to have to install it just to be able to use python3-reportlab, which in fact used to depend only dejavu-sans-fonts until the packaging of 3.5.23.

Please remove the additional dependency.

Version-Release number of selected component (if applicable):
python3-reportlab-3.5.34-3.fc32.x86_64
(but this applies to the rawhide version as well.)

Comment 1 Fedora Update System 2020-06-30 18:11:30 UTC
FEDORA-2020-33943e3786 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-33943e3786

Comment 2 Fedora Update System 2020-07-01 02:19:28 UTC
FEDORA-2020-33943e3786 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-33943e3786`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-33943e3786

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-07-09 01:05:35 UTC
FEDORA-2020-33943e3786 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Luigi Toscano 2020-07-09 10:22:23 UTC
Thanks for working on this - does the change depend on some other change in the dejavu packages? Right now I still see the dependency:

$ rpm -q python3-reportlab
python3-reportlab-3.5.44-2.fc32.x86_64
$ rpm -qR python3-reportlab
/usr/bin/python3
font(bitstreamverasans)
libart_lgpl_2.so.2()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libfreetype.so.6()(64bit)
libpthread.so.0()(64bit)
python(abi) = 3.8
python3-pillow
python3.8dist(pillow) >= 4
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rtld(GNU_HASH)


Should dejavu-sans be changed to provide fonts(bitstreamverasans)? Otherwise this bug is not yet fixes.

Comment 5 Antonio T. sagitter 2020-07-09 14:06:35 UTC
`dejavu-sans-fonts` is not required; `fonts(bitstreamverasans)` is a dependency:

$ ll /usr/lib64/python3.8/site-packages/reportlab/fonts | grep ttf
lrwxrwxrwx. 1 root root     53 30 giu 19.29 VeraBd.ttf -> /usr/share/fonts/bitstream-vera-sans-fonts/VeraBd.ttf
lrwxrwxrwx. 1 root root     53 30 giu 19.29 VeraBI.ttf -> /usr/share/fonts/bitstream-vera-sans-fonts/VeraBI.ttf
lrwxrwxrwx. 1 root root     53 30 giu 19.29 VeraIt.ttf -> /usr/share/fonts/bitstream-vera-sans-fonts/VeraIt.ttf
lrwxrwxrwx. 1 root root     51 30 giu 19.29 Vera.ttf -> /usr/share/fonts/bitstream-vera-sans-fonts/Vera.ttf

Comment 6 Luigi Toscano 2020-07-09 14:24:35 UTC
The point is that dejavu-sans-fonts *should* be required instead of bistream-vera-sans-fonts, because the former replaces the latter, and that was the reason for this bug.

Comment 7 Luigi Toscano 2021-03-19 22:40:45 UTC
Still relevant in Fedora 33:


# rpm -q python3-reportlab
python3-reportlab-3.5.57-1.fc33.x86_64
# rpm -qR python3-reportlab | grep font
font(bitstreamverasans)

Comment 8 Ben Cotton 2021-11-04 14:53:34 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2021-11-04 15:52:09 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Luigi Toscano 2021-11-10 10:02:06 UTC
Bug still found on Fedora 34 (and most likely 35 too), bumping the version.

Comment 11 Fedora Update System 2021-11-10 20:44:53 UTC
FEDORA-2021-80bb23a9eb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-80bb23a9eb

Comment 12 Fedora Update System 2021-11-10 20:44:53 UTC
FEDORA-2021-69e4d805d2 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-69e4d805d2

Comment 13 Fedora Update System 2021-11-11 02:13:15 UTC
FEDORA-2021-80bb23a9eb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-80bb23a9eb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-80bb23a9eb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2021-11-11 04:37:38 UTC
FEDORA-2021-69e4d805d2 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-69e4d805d2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-69e4d805d2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-11-19 01:14:35 UTC
FEDORA-2021-69e4d805d2 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2021-11-19 02:00:40 UTC
FEDORA-2021-80bb23a9eb has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.