#2 lower pillow requirement as F35 only provides pillow 8.3 (#2097817)
Merged 2 years ago by sagitter. Opened 2 years ago by fschwarz.
Unknown source f35  into  f35

@@ -0,0 +1,13 @@

+ diff --git a/setup.py b/setup.py

+ index 7625074..b96f171 100644

+ --- a/setup.py

+ +++ b/setup.py

+ @@ -838,7 +838,7 @@ def main():

+                  ],

+              

+              #this probably only works for setuptools, but distutils seems to ignore it

+ -            install_requires=['pillow>=9.0.0'],

+ +            install_requires=['pillow>=8.0.0'],

+              python_requires='>=3.7, <4',

+              extras_require={

+                  'RLPYCAIRO': ['rlPyCairo>=0.0.5'],

file modified
+9 -1
@@ -5,11 +5,16 @@

  

  Name:           python-%{pypi_name}

  Version:        3.6.10

- Release:        1%{?dist}

+ Release:        2%{?dist}

Minot nitpick: If this is built in all Fedroas, despite only being needed in F35, then everything is OK. But if this lands in Fedora 35 only, please follow https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_you_need_to_change_an_old_branch_without_rebuilding_the_others

  Summary:        Library for generating PDFs and graphics

  License:        BSD and GPLv2+

  URL:            https://www.reportlab.com/opensource/

  Source0:        %pypi_source

+ # upstream requires pillow >= 9.0 but F35 only provides pillow 8.3

+ # However upstream does not really depend on pillow 9. Bumping was done mostly

+ # "because older [pillow] versions are affected by several security issues."

+ # https://bugzilla.redhat.com/show_bug.cgi?id=2097817

+ Patch0:         %{name}-lower-pillow-requirement.patch

  

  BuildRequires:  gcc

  BuildRequires:  freetype-devel
@@ -104,6 +109,9 @@

  %{python3_sitearch}/reportlab-%{version}-py%{python3_version}.egg-info

  

  %changelog

+ * Sat Jun 18 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 3.6.10-2

+ - lower pillow requirement as F35 only provides pillow 8.3

+ 

  * Tue Jun 07 2022 Antonio Trande <sagitter@fedoraproject.org> - 3.6.10-1

  - Release 3.6.10

  

no initial comment

Minot nitpick: If this is built in all Fedroas, despite only being needed in F35, then everything is OK. But if this lands in Fedora 35 only, please follow https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_you_need_to_change_an_old_branch_without_rebuilding_the_others

Pull-Request has been merged by sagitter

2 years ago