Bug #76117
connecteur pdf, (build?) cassé par nouvelle version de Pillow
Début:
02 avril 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://jenkins.entrouvert.org/job/passerelle/3526/ passe de Pillow 9.5.0 à Pillow 9.6.0, et test_pdf.test_fill_form_ok se met à échouer :
passerelle/apps/pdf/views.py:90: in get thumbnail_content = self.make_thumbnail(page) passerelle/apps/pdf/views.py:63: in make_thumbnail draw.rectangle(area_rect, fill=(255, 0, 0, 50)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <PIL.ImageDraw.ImageDraw object at 0x7fea7dd59cd0> xy = Rect(x1=739, y1=202, x2=750, y2=191), fill = 838861055, outline = None width = 1 def rectangle(self, xy, fill=None, outline=None, width=1): """Draw a rectangle.""" ink, fill = self._getink(outline, fill) if fill is not None: > self.draw.draw_rectangle(xy, fill, 1) E ValueError: y1 must be greater than or equal to y0
Révisions associées
tox: limit Pillow version to avoid failure in test_fill_form_ok (#76117)
Historique
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/passerelle/pulls/170
- Titre : limiter la version de Pillow
- Modifications : https://git.entrouvert.org/entrouvert/passerelle/pulls/170/files
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Frédéric Péters il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
tox: limit Pillow version to avoid failure in test_fill_form_ok (#76117)