summaryrefslogtreecommitdiff
path: root/setup
AgeCommit message (Collapse)Author
2019-05-02[MERGE] forward port branch saas-12.1 up to b11930047f6Denis Ledoux
2019-04-17[MERGE] forward port branch 12.0 up to 2830b93a3a7Christophe Simonis
2019-04-15[MERGE] forward port branch saas-11.3 up to 44aedc9b134Christophe Simonis
2019-04-10[FIX] requirements: bump up jinja2 reqsOlivier Dony
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 d2605bccdba1838db5700a6ae0dd12ca9f9b20c7. closes odoo/odoo#32601 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-01-31[MERGE] forward port branch 12.0 up to cb8fefa8999Christophe Simonis
2019-01-31[MERGE] forward port branch saas-11.3 up to aeed32d4ffdChristophe Simonis
2019-02-05[IMP] generic: replace suds with zeep.Siddarth Gajjar
- Added new library zeep for soap request. - Remove old suds library. Task ID: 41696 Closes #26934
2019-01-29[FIX] packaging: allow install on fedora29Christophe Monniez
Fedora 29 switched to python 3.7. It seems that there is no official way to build a RPM package that could works with 3.6 and 3.7. Building two different packages for each version could open the pandora box of packaging. With this commit an ugly hack is used: if python3.7 is found, the odoo directory is symlinked into its site-packages dir. fixes #30579 closes odoo/odoo#30618
2018-11-19[FIX] packaging: add qrcode package to docker fileChristophe Monniez
After the Odoo package is built, the package.py script uses a Docker image to test the package. After that python3-qrcode was added as a dependency for the package in 2ff49c5f , it revealed some issues. A missing cli parameter and a forgotten '&&' in the Dockerfile prevented the installation of the depending packages. Also, the script shebang was wrong by launching python2. Finally, the fact that python3-xlwt is missing in Debian stretch was highlighted. With this commit, the python3-xlwt is explicitly removed from the dependencies and the documentation is updated accordingly. closes odoo/odoo#28807
2018-11-08[REM] packaging: remove useless codeChristophe Monniez
PKG-INFO is generated during the setup phase and is not needed anymore. Also this file contains outdated informations. py2exe is not used anymore to build the windows installer. closes odoo/odoo#28494
2018-11-02[MERGE] forward port branch saas-11.4 up to f6ca72b3ce9Christophe Simonis
2018-10-31[MERGE] forward port branch saas-11.3 up to 21eb31d8047Christophe Simonis
2018-10-31[MERGE] forward port branch saas-15 up to 00829a0beb2Christophe Simonis
2018-10-09[FIX] packaging: bump Odoo version to 12 in MS Windows installerChristophe Monniez
Fixes #27420 closes odoo/odoo#27590
2018-10-09[REM] packaging: drop PyYAML dependencyAdrian Torres
Commit cf853a785ba4b533ddb2e8a717c9ffa6429e7b81 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
2018-08-27[FIX] packaging: find admin uid when testing packagesChristophe Monniez
Since 2f7c03d the admin user could have any uid and the uid 1 is reserved for the system user. As the uid was hardcoded as 1 when testing packages, the tests were failing. With this commit, the uid of the admin user is searched before testing the packages. Closes #26603
2018-07-27[FIX] packaging: fix docker file for src testsChristophe Monniez
Since bf3193a libsass is needed but is named libsass0 in Debian. With this commit, the docker source image used for tests will build again.
2018-06-08[REM] packaging: add sassc to the rpm packageChristophe Monniez
Since 565277acbb3995a304f8ea2a9aed98c3518420a3 sassc is used as a fallback when the python libsass is not available. With this commit, the saasc package dependency is added to the rpm to avoid installing libsass with pip.
2018-06-05[FIX] core: always load `base` and `web` as server wide modulesChristophe Simonis
Since 285ead28e31ca54e9629d5153d0d03d7b4951535, `base` should be loaded as a server wide module to enable rpc routes.
2018-05-29[MERGE] forward port branch saas-11.3 up to 37eed7c509fChristophe Simonis
2018-05-04[FIX] packaging: avoid traceback on virtual machine timeoutChristophe Monniez
When the virtual machine used to build MS Win package takes too much time (to build or to test the build), a warning is logged and the VM is killed. Before this commit, the PID of the process was passed as an argument to the warning method, causing a traceback.
2018-04-26[IMP] packaging: automate package update in Windows buildChristophe Monniez
When building the Windows installer, a virtual machine is used with prepackaged python modules. With this commit, the packaging script will try to install on the virtual machine the python packages specified in requirements.txt. Each package is installed individually, that way, if an install fails, the install of the other packages continues. At the end of the process, successfully packages are listed so that they will appear in the build log files. Also, the Makefile was cleaned in this commit (removal of py2exe stuffs).
2018-04-24[FIX] packaging: remove libsass dependency in debian packageChristophe Monniez
A dependency to libsass was added in debian package and in the docker file. The Odoo nightly builds of the deb package was failing because this lib is named libsass0 in Debian. Finally, this dependency is not required because python3-libsass already depends on libsass0.
2018-04-18[REF] setup: review dependenciesqsm-odoo
Include libsass instead of node-less Thank you to @d-fence for testing this.
2017-11-03[FIX] package: fix the windows build testChristophe Monniez
As the windows package provides odoo from sources alongs with python 3, the test of the build was failing. The odoo-bin.exe was not found because py2exe is not used anymore. Windows firewall is now disabled from package.py to prevent it from blocking local xmlrpc calls. Also, the docker containers were removed when package tests were finished, even when no docker was involved in the process (e.g. only a windows build). This commit fixes the test part of the windows build process.
2017-10-23[FIX] setup: typo in command lineAndrew Latham
Sign CLA Closes #20321
2017-10-18[FIX] packages: install vc_redist files properlyChristophe Monniez
Nsis installer was installing the wrong MS Visual C++ redistributable file. Python 3.6 needs MS Visual C++ 2015 redistruibutable files. Also, Nsis now differentiate Windows architecture for the nssm service and the MS C++ redist.
2017-10-12[FIX] packages: fix docker images builds testsChristophe Monniez
The automated tests of rpm,deb and src packages are using docker images and containers. Those tests were not working as expected due to various small glitches: * some debian python- packages were missing in the Debian image * pip was called instead of pip3 for the src test * a wrong addons path was given for the tests * the containers id's were wrong due to a bytes implicitly converted to str
2017-10-12[REM] remove any openid referenceChristophe Monniez
Purpose: openid is not used anymore in Odoo, therefore it can be safely removed.
2017-10-11[FIX] doc: update to version 11Martin Trigaux
Use python 3.5 Refer to correct page of the doc Remove old bazar to git (was intended for the 8.0) Remove outdated setup_dev script: it was intended for odoo developers but if you are not able to make a git clone, you are going to have a bad time later.
2017-10-10[FIX] doc: warning & P3 compatibilityXavier Morel
2017-10-10[FIX] P3 syntax errors preventing compileallJairo Llopis
Not that we really care about compileall, but some people apparently do. Fixes #19871 Closes #19849
2017-10-09[REF] core: Remove psycogreen dependencyChristophe Monniez
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/
2017-10-09[FIX] setup win32: remove python and nssm on uninstallChristophe Monniez
Purpose: When uninstalling using the windows uninstaller, python and nssm were left beyond. This fix removes the python and nssm dirs also.
2017-10-09[FIX] package: remove unwanted char from install pathChristophe Monniez
Purpose: When installing postgresql under windows, the '+' character is unallowed. This was creating a bug when using the windows installer the enterprise version which derivate the install path from the version number.
2017-10-03[FIX] setup: bump up kvm startup delayOlivier Dony
Windows can be slower to start than that, sometimes.
2017-10-03[REF] win32: move to WinPython...Christophe Monniez
Purpose: for multiple reasons (bytecode change in python 3.6, missing files for some packages, py2exe is unmaintained ...) the py2exe solution cannot be used anymore. Odoo for windows will now use a portable Python that will be shipped with the Windows installer. For that purpose, a Winpython 3.6.2 is used. In order to build the Windows installer, a Winpython dir with all the Odoo requirements fullfilled, must exists on the build system (qemu-kvm VM). * nsis installer: - Only the python dir is used to avoid packaging too much stuffs - better compression level - starts the Odoo service using nssm - bump to V11 * change the default win10 build vm path * print a warning when uncomplete addon move * try to force remove of addon path: when the addons are moved to Odoo/addons, it happens that the destination already exists. In that case, the source addon was not deleted, resulting in a uneeded file duplication. * fix version string to avoid invalid chars in windows service * Add requirements adpated for WinPython * package.py now shows the traceback when a build fails * verify that a file exists before publishing * debuild now creates an .xz file instead of .gz * package: use logging module * kvm CPU that works with older versions. * fix a pexpect encoding bug * fix the version to remove special chars '~' which is not appreciated by windows services [REM] win32setup: Remove win32 python service Purpose: Before this commit, the win32 service was managed by an executable builded from those two files with the help of py2xe. The win32 service is now managed by nssm which starts Odoo and therefore, those files are not needed anymore.
2017-10-03[FIX] setup: fix the python regex to prepare dev environementChristophe Monniez
2017-10-03[IMP] debian,rpm: improve kill in service unit (thanks sbidoul)Christophe Monniez
2017-10-03[IMP] setup: Update docker filesChristophe Monniez
2017-10-03[IMP] package: build source tarball using python3Christophe Monniez
2017-10-03[IMP] Support for building Fedora26 rpmChristophe Monniez
2017-10-03[IMP] package: various improvementsChristophe Monniez
* Add an option to avoid signing deb package * update windows vm name * add memory to kvm as win10 needs 1G * increase win VM timeout because win10 seems slower to start * add an option to keep build dir for debugging purpose
2017-09-18[FIX] namespace packages: move from pkg_resources-style to pkg_utilStéphane Bidoul (ACSONE)
Deprecates the previous pkg_resources-style packages. Our use was not entirely spec compliant, and it broke with setuptools 31. More information in https://github.com/odoo/odoo/pull/15718 Instead, use the pkgutil-style namespace packages. This is spec compliant as long as all other distributions providing odoo.addons use PEP 420 namespace packages (i.e. no __init__.py). So this mechanism fully works on Python 3 only, but does not break anything on Python 2. See also: https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages Closes #19517 Fixes #15718
2017-09-12[🐍3] 🎉Christophe Simonis
2017-09-07[FIX] core: dropped paren in P3-related changesxmo-odoo
Fixes #19315
2017-08-20[FIX] P3: convert exception handlers to except..asOlivier Dony
Those are possibly posterior or leftovers from 3979f6802eeea275f949d28ddf4c18f84fc0f5aa
2017-06-26[FIX] P3: xmlrpclib -> xmlrpc.clientXavier Morel
2017-06-09[FIX] setup: install html2text dependencyChristophe Simonis
2017-05-26[FIX] packaging: update dependency for pyPdf2Olivier Dony
Complements 021de21e8cdcf35276c945d8070d04435fa1a19c and #16918