Skip to content
Snippets Groups Projects
Commit cfe8d31c authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: fix building some images due to incompatibility with python version

parent eea9f9dd
No related branches found
Tags 16.5.0
1 merge request!29Topic/default/pdbpp
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
Clarify chown message. Clarify chown message.
Fix issue when trying to build an image using python 3.5 with development tools.
7.0.4 7.0.4
----- -----
......
...@@ -148,6 +148,13 @@ ...@@ -148,6 +148,13 @@
) )
if odoo_type in ("odoo11", "odoo13"): if odoo_type in ("odoo11", "odoo13"):
myfile.write( myfile.write(
"python3-watchdog python3-ipdb python3-pyinotify\n" "python3-watchdog python3-ipdb python3-pyinotify "
"python3-wheel\n"
)
# newer setuptools_scm>6 is not compatible with python 3.5 due
# to the use of f-strings
myfile.write(
"RUN python3 -m pip install "
"\"setuptools_scm<6;python_version<='3.5'\"\n"
) )
# Install pdb++ # Install pdb++
...@@ -152,6 +159,6 @@ ...@@ -152,6 +159,6 @@
) )
# Install pdb++ # Install pdb++
myfile.write("RUN pip3 install pdbpp\n") myfile.write("RUN python3 -m pip install pdbpp\n")
elif odoo_type in ("odoo10",): elif odoo_type in ("odoo10",):
myfile.write("python-ipdb\n") myfile.write("python-ipdb\n")
myfile.write( myfile.write(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment