Skip to content

Commit 7ddfbd3

Browse files
committed
[FIX] Bump pyopenssl version for odoo install
This is needed to make odoo 15 work on ubuntu:20.04
1 parent 446627e commit 7ddfbd3

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# Release Notes
22

3+
## Release 0.14.1 (2022-09-09)
4+
5+
### Fixes
6+
7+
- Require "pyopenssl>=21.0.0" during odoo install to make odoo 15 work on ubuntu:20.04
8+
9+
---
10+
311
## Release 0.14.0 (2022-08-16)
412

513
### Added
614

715
- Ability to automatically detect python for Odoo version via following options:
816
- `odoo-helper install reinstall-venv --build-python auto`
917
- `odoo-install --build-python auto`
10-
- Ability to automatically build python of odoo version only if system python do not satisfy odoo requirements.
18+
- Ability to automatically build python for odoo version only if system python do not satisfy odoo requirements.
1119
For this reasone new option was added to following commands:
1220
- `odoo-helper install reinstall-venv --build-python-if-needed`
1321
- `odoo-install --build-python-if-needed`

lib/install.bash

+4
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@ function install_odoo_py_requirements_for_version {
553553
# Recent versions of setup tools do not support `use_2to3` flag,so,
554554
# we have to use another fork of suds to avoid errors during install
555555
echo "suds-py3";
556+
elif [[ "$dependency_stripped" =~ pyopenssl* ]]; then
557+
# We have to use recent version of pyopenssl, because default version (19.0.0)
558+
# is not compatible with openssl in recent versions of ubuntu.
559+
echo "pyopenssl>=21.0.0";
556560
else
557561
# Echo dependency line unchanged to rmp file
558562
echo "$dependency";

lib/version.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# Odoo Helper Scripts: Version
1010

1111
# Define version number
12-
ODOO_HELPER_VERSION="0.14.0";
12+
ODOO_HELPER_VERSION="0.14.1";
1313
ODOO_HELPER_CONFIG_VERSION="1";

0 commit comments

Comments
 (0)