Skip to content

Commit

Permalink
[FIX] packaging: add openpyxl dependency
Browse files Browse the repository at this point in the history
As xlrd 2.0 removed support for xlsx and since odoo#169482 the openpyxl lib
is needed on Noble installations to import xlsx files.

closes odoo#176657

X-original-commit: 4840a47
Signed-off-by: Christophe Monniez (moc) <[email protected]>
  • Loading branch information
d-fence committed Aug 16, 2024
1 parent eb7e151 commit e3584c6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Depends:
python3-lxml-html-clean | python3-lxml,
python3-num2words,
python3-ofxparse,
python3-openpyxl,
python3-passlib,
python3-polib,
python3-psutil,
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ MarkupSafe==2.1.5 ; python_version >= '3.12' # (Noble) Mostly to have a wheel p
num2words==0.5.10 ; python_version < '3.12' # (Jammy / Bookworm)
num2words==0.5.13 ; python_version >= '3.12'
ofxparse==0.21
openpyxl==3.0.9 ; python_version < '3.12'
openpyxl==3.1.2 ; python_version >= '3.12'
passlib==1.7.4 # min version = 1.7.2 (Focal with security backports)
Pillow==9.0.1 ; python_version <= '3.10'
Pillow==9.4.0 ; python_version > '3.10' and python_version < '3.12'
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'MarkupSafe',
'num2words',
'ofxparse',
'openpyxl',
'passlib',
'pillow', # windows binary http://www.lfd.uci.edu/~gohlke/pythonlibs/
'polib',
Expand Down
1 change: 1 addition & 0 deletions setup/package.dfdebian
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RUN apt-get update -qq && \
python3-libsass \
python3-lxml \
python3-ofxparse \
python3-openpyxl \
python3-passlib \
python3-polib \
python3-psutil \
Expand Down
1 change: 1 addition & 0 deletions setup/package.dffedora
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ RUN dnf update -d 0 -e 0 -y && \
python3-mock \
python3-num2words \
python3-ofxparse.noarch \
python3-openpyxl \
python3-passlib \
python3-pillow \
python3-polib \
Expand Down

0 comments on commit e3584c6

Please sign in to comment.