Bug #49835
Tests: xlrd.biffh.XLRDError: Excel xlsx file; not supported
Début:
04 janvier 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Fichiers
Révisions associées
Historique
Mis à jour par Emmanuel Cazenave il y a environ 3 ans
De Lauréline :
j'ai fouillé un peu hier, apparemment il faut soit downgrader xlrd, mais alors on a un soucis avec des getchildren
soit ajouter openpyxl
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Assigné à
Emmanuel Cazenavesupprimé
plus précisément, avec xlrd==1.2.0:
FAILED tests/test_csv_datasource.py::test_default_column_keynames[data.xlsx] - AttributeError: 'ElementTree' object has no attribute 'getiterator'
Mis à jour par Emmanuel Cazenave il y a environ 3 ans
- Fichier 0001-setup-relax-pyexcel-contraints-drop-python-3.5-compa.patch 0001-setup-relax-pyexcel-contraints-drop-python-3.5-compa.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
xlrd 2.0 abandonne xlsx.
La dernière version de pyexcel-xls (0.6.2) pose une contrainte xlrd<2.0 pour contourner. Mais le build ne tourne pas avec cette version parce que https://git.entrouvert.org/passerelle.git/commit/?id=27eeb947a679b555e11c42db407496fb5fde8801 , plus nécessaire maintenant que buster/python 3.7 .
Coté paquets debian, rien à faire selon moi, sur la prod :
python3-xlrd: Installé : 1.1.0-1 python3-pyexcel-xls: Installé : 0.5.8-1
Mis à jour par Thomas Noël il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Emmanuel Cazenave il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit e3ecc9ff9de0c8a5cebea77b631cde436bed263e Author: Emmanuel Cazenave <ecazenave@entrouvert.com> Date: Tue Jan 5 14:15:39 2021 +0100 setup: relax pyexcel* contraints (drop python 3.5 compatibility) (#49835)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
setup: relax pyexcel* contraints (drop python 3.5 compatibility) (#49835)