summaryrefslogtreecommitdiff
path: root/setup/package.dfdebian
AgeCommit message (Collapse)Author
2021-03-05[FIX] packaging: add python3-renderpm in debian packageChristophe Monniez
In Debian and Ubuntu distros, the python reportlab package provides multiple binary packages among which python3-reportlab [0] [1] and python3-renderpm [2] [3]. The latter is only recommended, but is mandatory for odoo because it's needed for rendering barcode with the `asString` method. [0] https://packages.debian.org/buster/python3-reportlab [1] https://packages.ubuntu.com/focal/python3-reportlab [2] https://packages.debian.org/buster/python3-renderpm [3] https://packages.ubuntu.com/focal/python3-renderpm closes odoo/odoo#67410 X-original-commit: 73e9926435f0b3c6eb4fe06457231aa60c8bb557 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-02-25[FIX] packaging: add zeep and ofxparse in deb and rpm packagingChristophe Monniez
Zeep replaced suds but Debian and Rpm packaging were not updated. Ofxparse is required but did not appear in Debian nor Rpm packaging. closes odoo/odoo#66784 X-original-commit: 39738f2b3c310bef25d483ced9bcf29f9894abbd Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2021-01-29[FIX] packaging: update rpm packaging for fedora 32Christophe Monniez
As Fedora 32 was the current release when Odoo 14.0 was released, this should be the supported version. Also, a few old libs were still in mentioned in the packaging files. They flew under the radar because they never broke the packaging. This is not the case anymore, those libs disappeared from the Fedora repos. It seems that pyparsing is not used anymore since 5a1c06a19 and thus can be safely removed from `requirements.txt` too. pychart is not used anymore since 3425752ea. While at it, remove mix of tabs and spaces in package.dffedora, also add missing packages to avoid installation at test time. Now that I started down the slippery slope, also removed some `-dev` packages in package.dfsrc as wheel's are available. Finally, the rpm install script now detects the python ABI version in order to avoid update this file at each ABI change in Fedora. Fixes #63719 closes odoo/odoo#65224 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-04-09[FIX] packaging: install python3-setuptools in dockerChristophe Monniez
Since 5952928b42, the python3-mock debian package is removed from the Dockerfile used to build the Debian package. This prevent the Odoo Debian package to be built. The python3-mock debian package has an inderect dependency on python3-setuptools which is necessary to build the package. With this commit, the dependency is explicitely set in the Dockerfile. closes odoo/odoo#49278 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-04-01[REM] *: remove various unused import shimsAdrian Torres
Before this commit, a lot of leftover import shims existed in the codebase for py2-py3 compatibility, these are no longer needed since Odoo 13.0+ doesn't support Python 2 anymore and is (finally) in EOL. With this commit, these shims are dropped, making the code cleaner, easier to read and with one less dependency. Queue -> queue -> py2-py3 compatibility xmlrpclib -> xmlrpc.client -> py2-py3 compatibility ConfigParser -> configparser -> py2-py3 compatibility itertools.izip_longest -> itertools.zip_longest -> py2-py3 compatibility urllib -> urllib.request -> py2-py3 compatibility __builtins__ -> builtins -> py2-py3 compatibility _winreg -> winreg -> py2-py3 compatibility mock -> unittest.mock -> merged into CPython The debian/fedora packages and requirements.txt have been updated accordingly closes odoo/odoo#44601 Related: odoo/enterprise#8141 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-02-05[IMP] base_vat: replace vatnumver by stdnum library.Hardik Prajapati
Python module vatnumber doesn't seem maintained anymore. Therefore, we should: - call directly stdnum (which is maintained and mostly used everywhere in vatnumber) Also improve stdnum import, vat fix method and vat expected formats task-1915371 closes odoo/odoo#36978 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-10-02[REF] packaging: use docker to build packagesChristophe Monniez
Actually, docker is used to test Linux packages once they are built. The packaging process is done on the host system where package.py is run. Consequences: * difficult to reproduce an exact same build on another host * changing a Debian/Ubuntu target version means some upgrade steps on the build host (mix that with the fact that the host also could build old Odoo versions) * Fedora rpm package is built on an Ubuntu system (which is not a real problem but it could be) With this commit, the package.py utility is refactored to use Docker containers to build the Gnu/Linux packages. Also, the Debian package is adapted for Debian Buster, the RPM package is built based on Fedora 30. Some minor changes are also made in the windows packaging system. closes odoo/odoo#37766 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2019-06-14[FIX] packaging: add missing polib packagesChristophe Monniez
The use of polib as introduced in commit 632fa04. The nightly packaging system uses Docker to test the packages and they need to be updated when a new library dependency is introduced. closes odoo/odoo#34117 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
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-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-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-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-03[IMP] setup: Update docker filesChristophe Monniez
2017-06-09[FIX] setup: install html2text dependencyChristophe Simonis
2017-05-26[FIX] packaging: update dependency for pyPdf2Olivier Dony
Complements 021de21e8cdcf35276c945d8070d04435fa1a19c and #16918
2016-10-27[MERGE] forward port branch 9.0 up to 25616b9Christophe Simonis
2016-10-27[MERGE] forward port branch saas-6 up to 3c3ce75Christophe Simonis
2016-10-27[MERGE] forward port branch 8.0 up to 5ee4344Christophe Simonis
2016-10-24[REF] packaging: debian: depend on python-babelSimon Lejeune
Before this patch, the debian package depends on `python-pybabel`. According to the documentation, this is a dummy package for transition from `python-pybabel` to `python-babel`[1]. This dummy package has thus been removed in debian stretch in favor of `python-babel`, and the odoo package is thus not installable in debian stretch. To fix this, we depend directly on `python-babel`, which is available in all debian releases[2]. Closes #13905 [1] https://packages.debian.org/jessie/python-pybabel [2] https://packages.debian.org/jessie/python-babel
2016-06-14[MERGE] forward port of branch 9.0 up to bfbe2d6Christophe Simonis
# Conflicts: # addons/marketing/i18n/es_PE.po # addons/marketing/i18n/hu.po
2016-06-10[REF] ir_qweb: less webasset: compress output instead of minifying itSimon Lejeune
* Remove dependency on less-plugin-clean-css which distribution packages are broken on debian stretch and derivated. * Updated documentation. * Lessc provides a `--compress` argument that could solve this issue. According to the documentation at http://lesscss.org/usage/: "[...] Compress using less built-in compression. This does an okay job but does not utilise all the tricks of dedicated css compression[...]" However, using this argument works on lessc 2.5.3 but not on 1.4.2 (`--compress` arg is present but seems to be break some rules i haven't been able to put my finger on). * Finally, use the minification of the StylesheetAsset that takes care of removing the spaces, the comments and the sourcemap with regexes. fixes issue #9113
2015-11-26[REF] packaging: depends on XlsxWriterSimon Lejeune
2015-11-10[REF] packaging: debian: don't require ofxparseSimon Lejeune
because it's available in debian stable but not in ubuntu 14.04 (lts)
2015-09-28[IMP] replace simplejson with stdlib jsonLeonardo Rochael Almeida
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
2015-09-28[IMP] unittest2 > unittestLeonardo Rochael Almeida
The `unittest2` package is simply a backport of `unittest` from the Standard Library of Python 2.7 to previous versions. There is no reason to use it any longer. Closes #6941
2015-09-11[FIX] packaging: adapt test environment to less dependencySimon Lejeune
2015-07-31[REF] packaging: ofxparse as "hard" dependencySimon Lejeune
2015-07-23[FIX] packaging: python-suds in debian's test environmentSimon Lejeune
2015-07-16[MERGE] forward port of branch 8.0 up to 9ac62d7Christophe Simonis
2015-07-14[FIX] packaging: remove policy-rc configurationSimon Lejeune
It was preventing postgresql to generate a working cluster.
2015-07-14[FIX] packaging: remove policy-rc configurationSimon Lejeune
It was preventing postgresql to generate a working cluster.
2015-02-23[IMP] Packaging: use docker image of debian jessie.Nicolas Martinelli
Update to pip v6 necessary to avoid import error of 'IncompleteRead' from requests.compat
2015-02-20[ADD] Packaging: nightly tests: src dockerfileNicolas Martinelli
Creation of a Dockerfile for the src package for nightly tests. Remove unnecessary libraries installation from the Debian Dockerfile.
2015-01-20[FIX] Packaging: RedHat: prompt overriden in dockerAaron Bohy
RPM packages did not pass the tests because the centos prompt changed and thus did not match the regexp anymore. We now explicitely specify the prompt in our Dockerfiles to prevent such issues.
2014-12-09[ADD] Packaging: Debian and CentOS Dockerfiles for nightly builds testsAaron Bohy
This way we'll be using docker cache to spare dependencies download time.