diff options
| author | Moisés López <moylop260@vauxoo.com> | 2020-08-19 16:24:55 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2020-09-07 12:17:32 +0000 |
| commit | bb0b32bd1a3fc0c047d0787b10e8c1c8d696daa5 (patch) | |
| tree | 8a6b5139351d7f7d7f7200bf8161f52263cd1913 | |
| parent | 0a43d8040f0c5ec8e9728b2e9da8c7d46d7292bb (diff) | |
[REF] requirements.txt: Use gevent 1.5.0 version with fixes for >=py3.7.4
The following commit fixes >=py3.7.4 compatibility:
- https://github.com/gevent/gevent/commit/9d27d269ed01a7e752966caa7a6f85d773780a1a
It was released in stable version gevent==1.5.0 on April 10, 2020:
- https://pypi.org/project/gevent/1.5.0/
gevent==1.3.4 was released on June 20, 2018
- https://github.com/gevent/gevent/releases/tag/1.3.4
And python3.7.0 was released June 27, 2018
- https://www.python.org/downloads/release/python-370/
So, the current pinned version 1.3.4 is not optimized for py3.7
It could be a possible reason to reproduce the following error:
- https://github.com/odoo/odoo/pull/50861
This change upgrades the pinned version to gevent==1.5.0
in order to get an optimized version for py3.7
Bump version to greenlet==0.4.14 for py3.7 since that it is the
version defined in the sha of release of gevent==1.5.0
- https://github.com/gevent/gevent/commit/a1a72cb9
- https://github.com/gevent/gevent/blob/a1a72cb9/setup.py#L188
closes odoo/odoo#57179
X-original-commit: 42391761e326fa451b55018b6eb5750715c27bb1
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
| -rw-r--r-- | requirements.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt index 26fb9582b70..d740962f131 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,9 +5,8 @@ docutils==0.14 ebaysdk==2.1.5 feedparser==5.2.1 freezegun==0.3.11 -gevent==1.1.2 ; sys_platform != 'win32' and python_version < '3.7' -gevent==1.3.7 ; sys_platform != 'win32' and python_version >= '3.7' -gevent==1.4.0 ; sys_platform == 'win32' +gevent==1.3.7 ; python_version < '3.7' +gevent==1.5.0 ; python_version >= '3.7' greenlet==0.4.10 ; python_version < '3.7' greenlet==0.4.15 ; python_version >= '3.7' html2text==2018.1.9 |
