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
No related tags found
1 merge request!29Topic/default/pdbpp
......@@ -7,6 +7,8 @@
Clarify chown message.
Fix issue when trying to build an image using python 3.5 with development tools.
7.0.4
-----
......
......@@ -148,6 +148,13 @@
)
if odoo_type in ("odoo11", "odoo13"):
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++
......@@ -152,6 +159,6 @@
)
# Install pdb++
myfile.write("RUN pip3 install pdbpp\n")
myfile.write("RUN python3 -m pip install pdbpp\n")
elif odoo_type in ("odoo10",):
myfile.write("python-ipdb\n")
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