- Jan 06, 2022
-
-
Thibault Delavallée authored
We have our own html2plaintext, already used in lot of use cases instead of just a few for the html2txt library. Notably for emails: most emails going through Odoo stack use our simple html2plaintext to format the body alternative. When no body alternative is given to ``build_email`` an alternative is built using the library to remove. Using our own parser allows to have the same results compared to using ``MailMail.send()``. Difference lies in spaces and new lines as well as markdown. Our html2plaintext is a bit simple and does not try to generate Markdown but generates a simple plaintext version. This also helps solving some issues with depending on that library. Task-2702034 closes odoo/odoo#80576 Related: odoo/enterprise#22603 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Sep 10, 2021
-
-
Nils Hamerlinck authored
- Up to odoo 10.0, feedparser dependency was optionally used in the cli of vendored html2text.py (see https://github.com/odoo/odoo/blob/10.0/addons/mail/models/html2text.py#L437) - Since 11.0 (67c17cb3), vendored html2text.py has been removed in favor of maintained package - Turns out the feedparser part in html2text was dead code for a long time anyway (see https://github.com/Alir3z4/html2text/issues/220 ) - So we can safely drop this dependency closes odoo/odoo#76259 X-original-commit: 271b9468 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Nov 26, 2020
-
-
Christophe Monniez authored
Fixes #62214 closes odoo/odoo#62451 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Sep 08, 2020
-
-
Christophe Monniez authored
Since the usage of gevent 1.3.7 with python 3.6 the CPU usage exploded on runbot running builds. Before a better solution is found, I revert to 1.1.2 as before. closes odoo/odoo#57275 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
- Sep 07, 2020
-
-
Moises Lopez authored
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#56877 X-original-commit: c4f7499f Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Jun 23, 2020
-
-
Olivier Dony authored
Werkzeug 0.16.0 is the version we're packaging for all Windows builds, for 11.0 and later. closes odoo/odoo#53473 X-original-commit: f4ad0d4f Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Mar 13, 2020
-
-
Olivier Dony authored
Bumps [psutil](https://github.com/giampaolo/psutil) from 5.5.1 to 5.6.6. - [Release notes](https://github.com/giampaolo/psutil/releases) - [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) - [Commits](https://github.com/giampaolo/psutil/compare/release-5.5.1...release-5.6.6) The only API-incompatible change in 5.6 is the removal of memory_maps() on OSX, which we aren't relying on at this point: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#560 closes odoo/odoo#47566 Signed-off-by:
dependabot[bot] <support@github.com> Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Jan 28, 2020
-
-
Martin Trigaux authored
psycopg2 2.7 not be installed on python 3.8, needs at least psycopg2 2.8 use the same version as windows to avoid complicated rules if windows AND python 3.8 Note that psycopg2 3.8.4 is currently the only one released after the release of python 3.8 but reported compatibilty issued seems to be fixed since 3.8 at psycopg/psycopg2#854 Fixes odoo/odoo#42660 closes odoo/odoo#42705 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jan 22, 2020
-
-
Martin Trigaux authored
At 795c7b0a the external dependencies was changed from trying to import 'ldap' to checking than 'pyldap' package was installed. The problem is that pyldap is a unmaintained library that should no longer be used, as explained on the package page: https://pypi.org/project/pyldap/ "The pyldap fork was merged back into python-ldap, and released as python-ldap 3.0.0." Having pyldap version >= 3.0 installs python-ldap automatically and will not cause any issue. The Debian control file package name is adapted to use the latest. The "ldap" externalm dependency defined in __manifest__.py will cause pkg_resources.get_distribution() to fail in both case ("python-lap" or "pyldap"), but the "import" fallback will succeed. For that reason, the log warning is turned into a log info. closes odoo/odoo#40249 Note: This library should be replaced by the pure python "ldap3" library. Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Nov 29, 2019
-
-
Christophe Monniez authored
Some library versions are outdated since the release of Debian Buster. With this commit the required libraries versions will match as close as possible the versions available in the current Debian stable release (Buster). Also, the requirements were tested against a Windows Python 3.7 to ensure that a "pip install -r" can be used without the need of a CPP compiler. As Babel format_time now returns 'HNE' (Heure Normale de l'EST) for Fr locale instead of the zone offset, the test is adapted. Finally the babel.dates is explicitely imported, otherwise the proper import of this submodule is relying on a side effect. closes odoo/odoo#40361 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Nov 14, 2019
-
-
Christophe Monniez authored
When installing requirements on MS Windows platform with Python 3.8, the Pillow requirement is defined two times. This leads to a pip crash. With this commit, the Pillow requirement is only defined once. Fixes #40080 closes odoo/odoo#40239 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 11, 2019
-
-
Denny Biasiolli authored
- adding gevent for win32 and python >= 3.7 - improving Pillow selection in different python versions - adding psutil installation for win32 - adding psycopg2 installation for win32 closes odoo/odoo#38428 X-original-commit: 1c399220 Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
-
- Oct 08, 2019
-
-
Martin Trigaux authored
https://packages.debian.org/buster/python-pil As of today, python-pillow is at 5.4 in the latest debian release This allows to deprecate the older versions progessively Newer versions have new features like the exif_transpose method in 6.0 as discussed at #37448 closes odoo/odoo#38189 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 09, 2019
-
-
Jairo Llopis authored
Repeat #22988 before v13 is released. Until #35085 is fixed and we can use 0.15.x, at least with this patch people installing Odoo v13 with these requirements will no longer hit #18052. closes odoo/odoo#36553 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Jun 05, 2019
-
-
Martin Trigaux authored
Use polib library that handles this correctly The complexity of the parser is moved to the library
-
- Apr 10, 2019
-
-
Olivier Dony authored
Recommended by GitHub's repository alerts. We normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 10.0 that would be Debian 8 (jessie) and thus Jinja 2.7.3 (albeit with security backports). However Jinja2 before 2.10.1 suffers from a few issues that could lead to crashes of Odoo processes. It seems it's worth an exception to our rule for pip users, similarly to previous bump up at d2605bcc. closes odoo/odoo#32602 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Olivier Dony authored
Recommended by GitHub's repository alerts. We normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 11.0 that would be Debian 9 (stretch) and thus Jinja 2.8 (with security backports). However Jinja2 before 2.10.1 suffers from a few issues that could lead to crashes of Odoo processes. It seems it's worth an exception to our rule for pip users, similarly to previous bump up at d2605bcc. closes odoo/odoo#32601 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
- May 13, 2019
-
-
Thibault Delavallée authored
Oversight of e554ce34 closes odoo/odoo#33322 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- May 07, 2019
-
-
Olivier Dony authored
Recommended by GitHub's repository alerts. We normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 11.0 that would be Debian 9 (stretch) and thus Jinja 2.8 (with security backports). However Jinja2 before 2.10.1 suffers from a few issues that could lead to crashes of Odoo processes. It seems it's worth an exception to our rule for pip users, similarly to previous bump up at d2605bcc. closes odoo/odoo#32601 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
- Feb 05, 2019
-
-
Siddarth Gajjar authored
- Added new library zeep for soap request. - Remove old suds library. Task ID: 41696 Closes #26934
-
- Nov 13, 2018
-
-
Duc Dao authored
closes odoo/odoo#25982
-
- Oct 30, 2018
-
-
Olivier Dony authored
In light of CVE-2018-18074, using python-requests 2.20.0 is recommended, or any distribution-specific version that was patched. See also https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18074
-
- Oct 09, 2018
-
-
Adrian Torres authored
Commit cf853a78 removed all yml tests and the yml import engine from Odoo forever, however PyYAML remains a dependency even though it's not used anymore. This commit removes any reference to this lib that could be found. closes odoo/odoo#27563
-
- Aug 27, 2018
-
-
Moises Lopez authored
Continuation from https://github.com/odoo/odoo/commit/27c017ad98b4c9ac5fdcd28c9fd84d3690993118 PyYAML was missed in the list Closes #26587
-
- Aug 14, 2018
-
-
Olivier Dony authored
Recommended by GitHub's repository alerts. We normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 9.0 that would be Debian 8 (jessie) and thus Pillow 2.6.1. However Pillow versions before 3.3.2 and Jinja2 before 2.8.1 suffer from a few issues that could lead to crashes of Odoo workers. The bugfixes have been backported in the DEB packages for Pillow, so users of Debian/Ubuntu LTS versions won't be affected if they are keeping their systems updated. However it's worth an exception to our rule for pip users.
-
- Jul 18, 2018
-
-
Moises Lopez authored
Since af9d6b86 and 5a57c29f , python3.7 can be used to run Odoo. This commit ensures that python3.7 compatibles versions of gevent, greenlet and lxml will be installed without breaking compatibility with Debian Stretch packages versions when using the Debian packaged Python. Closes #25841
-
- Jul 17, 2018
-
-
Jigar Patel authored
Task 40692 Various changes to import/export (mainly) UIs: * default to excel & "full" (non-import-compatible) export * auto-detect encoding of CSV using chardet * remember column -> field mapping after having imported a file (useful for repeated imports where auto-matching failed) * better handle localised booleans & column names * automatically select source list view's fields when exporting * better integrate import templates feature and add a number of templates
-
- Apr 18, 2018
-
-
qsm-odoo authored
Include libsass instead of node-less Thank you to @d-fence for testing this.
-
- Feb 14, 2018
-
-
Olivier Dony authored
We should normally stick as close as possible to the version we depend on in the official DEB packages. This in turn depends on the version of Debian stable at the time of release - for 9.0 that would be Debian 8 (jessie) and thus Pillow 2.6.1. However Pillow versions before 3.1.1 suffer from a few issues that could lead to crashes of Odoo workers. The bugfixes have been backported in the DEB packages for Pillow, so users of Debian/Ubuntu LTS versions won't be affected if they are keeing their systems updated. However it's worth an exception to our rule for pip users. FWD-PORTS: skip
-
- Jan 16, 2018
-
-
Vincent Schippefilt authored
problem: installing from the source on windows includes manual modification of the requiremnets, as well as not supported package versions solution: - increased the version of lxml, werkzeug and pillow to the latest supported version in debian, it will fix already a number of issues on windows - automatically include or exclude dependencies from requirement.txt using requirement specifiers Note that for lxml on windows, we will always install the latest version because the version 3.7.1 does not exist on windows in WHL.
-
- Nov 17, 2017
-
-
Martin Trigaux authored
Follow up of e419f395 pyscopg 2.7.3 does not work with glibc 2.66 2.7.3.1 is the minimum one Courtesy of Laurent Mignon, Acsone, #19512
-
- Nov 13, 2017
-
-
Grzegorz Krukar authored
2.7.1 is broken with glibc 2.66 upgrading to latest working version: 2.7.3 cf psycopg/psycopg2-wheels#2 Add CLA Fixes #19511 Closes #19512
-
- Oct 16, 2017
-
-
Yenthe V.G authored
Upgrade the dependency for ebaysdk from 2.1.4 to 2.1.5. There was a bug in in 2.1.4 that prevented installing (see https://github.com/timotheus/ebaysdk-python/issues/223). Closes #20148
-
- Oct 12, 2017
-
-
Christophe Monniez authored
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
-
- Oct 09, 2017
-
-
Christophe Monniez authored
Purpose: The psycogreen module is unmaintained. Last source update was in 2015 and last pypi package was in 2012. Odoo only use a small part of the psycogreen module that could be written directly in the odoo code. This commit reproduce the small function from psycogreen used in ODoo and remove all depencies from it. Also the copyright and license are honored and the documentation is updated accordingly. pypi pckage: https://pypi.python.org/pypi/psycogreen bitbucket repos: https://bitbucket.org/dvarrazzo/psycogreen/
-
- Sep 14, 2017
-
-
Xavier Morel authored
* gitignore pycache folders (apparently appear for some) * update xlwt requirement: 1.1.2 does not work with Python 3.6, 1.2 should work, 1.3 officially supports it
-
- Aug 20, 2017
-
-
Olivier Dony authored
- jcconv is not P3-ready and is only optional, for use on the POSBox firmware for Japanese charset support in some receipt printers (The POSBox firmware is still based on Odoo 8 + PY2 at this time) - wsgiref is built-in since Python 2.5, and the one on pypi does not work on Python 3.2+
-
- Jun 16, 2017
-
-
Olivier Dony authored
Version 2.7.1 is not yet available in most distributions, but is now considered the recommended version. Odoo will work just fine with any psycopg2 version >= 2.2, though.
-
- May 30, 2017
-
-
Juan Pablo Arias authored
update ofxparse to 0.16: fix language issues closes #15713
-
- May 15, 2017
-
-
Xavier Morel authored
The vendored html2text is *really* old and absolutely not P3-compatible. There is a maintained version on Pypy which is, so use that and stop vendoring html2text.
-