Commit Graph

311 Commits

Author SHA1 Message Date
Víctor Martínez
3743e2d8a6 [MIG] base_external_dbsource_mssql: Migration to 15.0
TT38357
2022-11-18 12:58:41 +01:00
Víctor Martínez
76b4d8d2c0 [IMP] base_external_dbsource_mssql: black, isort, prettier 2022-11-18 12:57:16 +01:00
Moisés López - https://www.vauxoo.com/
d854fd8b4d REF] requirements.txt: Use "pymssql<=2.2.5" to fix "Failed building wheel for pymssql" (#196)
The new `pymssql==2.2.6` version released this weekend
  - <img width="414" alt="Screenshot 2022-11-15 at 20 11 53" src="https://user-images.githubusercontent.com/6644187/202066666-a1551d22-d50a-4c14-ae0a-dd35dc147a40.png">

requires extra setup to be installed

So, it is raising new errors where it is not setup

You can reproduce it running the following command:

    docker run -it --rm  python:3.6 pip3 install -q pymssql==2.2.6

`ERROR: Could not build wheels for pymssql...`

  ERROR: Command errored out with exit status 1:
    command: /usr/local/bin/python /usr/local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpmp6b33ly
        cwd: /tmp/pip-install-p4ocn1ip/pymssql_01748f191a744758bda6f7d536f6ec35
    Complete output (25 lines):
    setup.py: platform.system() => Linux
    setup.py: platform.architecture() => ('64bit', 'ELF')
    setup.py: platform.libc_ver() => ('glibc', '2.2.5')
    setup.py: include_dirs => []
    setup.py: library_dirs => []
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    creating build/lib.linux-x86_64-3.6/pymssql
    copying src/pymssql/__init__.py -> build/lib.linux-x86_64-3.6/pymssql
    running build_ext
    cythoning src/pymssql/_mssql.pyx to src/pymssql/_mssql.c
    cythoning src/pymssql/_pymssql.pyx to src/pymssql/_pymssql.c
    building 'pymssql._mssql' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/src
    creating build/temp.linux-x86_64-3.6/src/pymssql
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.6m -c src/pymssql/_mssql.c -o build/temp.linux-x86_64-3.6/src/pymssql/_mssql.o -DMSDBLIB
    src/pymssql/_mssql.c:747:10: fatal error: sqlfront.h: No such file or directory
      747 | #include "sqlfront.h"
          |          ^~~~~~~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
    ERROR: Failed building wheel for pymssql
  ERROR: Could not build wheels for pymssql which use PEP 517 and cannot be installed directly
  WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
  You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
  FAIL

However, using

    docker run -it --rm  python:3.6 pip3 install -q pymssql==2.2.5

It is installing well!

So, I have created this PR in order to fix all the error in the CI using this project and installing this package
2022-11-18 12:57:00 +01:00
Sergio Teruel
a4439e3d63 [MIG] base_external_dbsource_mssql: Migration to v13.0
[UPD] Update base_external_dbsource_mssql.pot
2022-11-18 12:57:00 +01:00
Sergio Teruel
90b71def03 [MIG] base_external_dbsource_mssql: Migration to v12.0
[UPD] Update base_external_dbsource_mssql.pot
2022-11-18 12:57:00 +01:00
Sergio Teruel Albert
a0710a866a [11.0][MIG] base_external_dbsource_mssql: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource_mssql.pot

[UPD] README.rst
2022-11-18 12:57:00 +01:00
Dave Lasley
63283bd81d [IMP] base_external_dbsource: Refactor & Split by source
* Heavily refactor code for reusability
* Split all sources into independent modules
* Add more test coverage
* Add CRUD methods
* Add iterator execute return to roadmap

[UPD] Update base_external_dbsource_mssql.pot
2022-11-18 12:57:00 +01:00
OCA-git-bot
3c2a054d79 [ADD] setup.py 2022-11-18 11:09:05 +00:00
OCA-git-bot
fa8662aa9d [UPD] README.rst 2022-11-18 11:09:05 +00:00
OCA-git-bot
9fe66168b4 [UPD] addons table in README.md 2022-11-18 11:09:04 +00:00
oca-ci
d718aecfd1 [UPD] Update base_external_dbsource_sqlite.pot 2022-11-18 11:05:41 +00:00
OCA-git-bot
0a125187d6 Merge PR #199 into 15.0
Signed-off-by pedrobaeza
2022-11-18 11:03:52 +00:00
Víctor Martínez
d4b141ff1d [MIG] base_external_dbsource_sqlite: Migration to 15.0
TT38359
2022-11-18 08:30:44 +01:00
Víctor Martínez
f3bb7468e1 [IMP] base_external_dbsource_sqlite: black, isort, prettier 2022-11-18 08:18:14 +01:00
Sergio Teruel
cf927ca7c2 [MIG] base_external_dbsource_sqlite: Migration to v13.0
[UPD] Update base_external_dbsource_sqlite.pot

[UPD] README.rst
2022-11-18 08:18:13 +01:00
Sergio Teruel
0d8425f69a [MIG] base_external_dbsource_sqlite: Migration to v12.0
[UPD] Update base_external_dbsource_sqlite.pot
2022-11-18 08:18:11 +01:00
Adrià Gil Sorribes
fce4f47468 Extend test coverage
[ADD] icon.png

[UPD] README.rst
2022-11-18 08:18:10 +01:00
Adrià Gil Sorribes
503f3d94a7 [FIX] base_external_dbsource_sqlite crashing when sqlparams equal None 2022-11-18 08:18:10 +01:00
Sergio Teruel Albert
24f962dd36 [11.0][MIG] base_external_dbsource_sqlite: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource_sqlite.pot
2022-11-18 08:18:09 +01:00
Dave Lasley
a718447ee0 [IMP] base_external_dbsource: Refactor & Split by source
* Heavily refactor code for reusability
* Split all sources into independent modules
* Add more test coverage
* Add CRUD methods
* Add iterator execute return to roadmap

[UPD] Update base_external_dbsource_sqlite.pot
2022-11-18 08:18:07 +01:00
Weblate
6f7d257962 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-15.0/server-backend-15.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource/
2022-11-18 00:59:50 +00:00
OCA-git-bot
759f2d3146 [ADD] setup.py 2022-11-17 20:36:47 +00:00
OCA-git-bot
ac2c894ed2 [UPD] README.rst 2022-11-17 20:36:47 +00:00
OCA-git-bot
5c9c15cd72 [UPD] addons table in README.md 2022-11-17 20:36:46 +00:00
oca-ci
2102cb911a [UPD] Update base_external_dbsource.pot 2022-11-17 20:34:23 +00:00
OCA-git-bot
5e1832b7de Merge PR #180 into 15.0
Signed-off-by pedrobaeza
2022-11-17 20:32:38 +00:00
Carlos Dauden
1b59099929 [MIG] base_external_dbsource: Migration to v15.0
TT37273
2022-11-17 11:46:50 +01:00
Víctor Martínez
4e1051ac8e [IMP] base_external_dbsource: black, isort, prettier 2022-11-17 11:46:50 +01:00
Víctor Martínez
d47ca823bf [FIX] base_external_dbsource: Remove tests that do not work and cannot be tested (it is not possible to test the connection with odoo postgress).
base_external_dbsource 14.0.1.0.1
2022-11-17 11:46:50 +01:00
bilbonet
eb489432c3 [FIX]
- problems with tests
 - pre-commit

[UPD] Update base_external_dbsource.pot

[UPD] README.rst
2022-11-17 11:46:50 +01:00
sergio.teruel
019f694ff9 [IMP] base_external_dbsource: Add company field to backend
fw-port from b7f439e04a
2022-11-17 11:46:50 +01:00
bilbonet
de210a6f7d little change 2022-11-17 11:46:50 +01:00
bilbonet
27cf4034e6 [FIX] pre-commit 2022-11-17 11:46:50 +01:00
bilbonet
e489035275 [MIG] base_external_dbsource: Migration to 14.0 2022-11-17 11:46:50 +01:00
bilbonet
4f6d0671c6 [IMP] base_external_dbsource: black, isort, prettier 2022-11-17 11:46:50 +01:00
Sergio Teruel
7cd425241b [MIG] base_external_dbsource: Migration to v13.0
[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/

pre-commit update

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-13.0/server-backend-13.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_external_dbsource/
2022-11-17 11:46:50 +01:00
Jairo Llopis
08543e5602 [FIX] base_external_dbsource: Reuse Odoo DB settings for tests
Before, postgres configuration was hardcoded. This worked OK for OCA's CI infrastructure, but failed in any other out there that had different defaults.

There's no need to hardcode it; Odoo already must have Postgres connection settings, so let's use those instead. This will make tests testable across different CI infrastructures.

base_external_dbsource 12.0.1.0.1

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/
2022-11-17 11:46:50 +01:00
Rodrigo Macedo
8cc419c652 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (34 of 34 strings)

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/pt_BR/
2022-11-17 11:46:50 +01:00
Adrià Gil Sorribes
39575e62b5 [12.0][MIG] Migrate module base_external_dbsource
[UPD] README.rst

[UPD] Update base_external_dbsource.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-12.0/server-backend-12.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_external_dbsource/

[UPD] README.rst
2022-11-17 11:46:50 +01:00
Sergio Teruel Albert
a1e905e4c9 [11.0][MIG] base_external_dbsource: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource.pot
2022-11-17 11:46:50 +01:00
Dave Lasley
ceb82959f0 [FIX] base_external_dbsource: Fix PQ connection
* Use `conn_string_full` in pg connection to fix #888

[UPD] Update base_external_dbsource.pot
2022-11-17 11:46:50 +01:00
Dave Lasley
08c6b8ecc7 [IMP] base_external_dbsource: Refactor & Split by source
* Heavily refactor code for reusability
* Split all sources into independent modules
* Add more test coverage
* Add CRUD methods
* Add iterator execute return to roadmap

OCA Transbot updated translations from Transifex
2022-11-17 11:46:50 +01:00
Daniel Reis
a6096c4a12 Relicense to LGPL
With the agreement of authors and contributors.
Closes #635 (https://github.com/OCA/server-tools/issues/635)
2022-11-17 11:46:49 +01:00
Michell Stuttgart
e4821895f2 [10.0] Add Firebird database support to base_external_dbsource (#623) 2022-11-17 11:46:49 +01:00
Henry Zhou
50c3082d84 [MIG][10.0] base_external_dbsource (#578)
OCA Transbot updated translations from Transifex
2022-11-17 11:46:49 +01:00
Gervais Naoussi
48bc7dd0d8 [MIG] base external dbsource
* Migration of base_external_dbsource to odoo 9.0

* Fixing test error

* Moving test from yaml to python

* Fixing pylint error in test class

* Placeholder added to connection string text zone

* improving test coverage

OCA Transbot updated translations from Transifex
2022-11-17 11:46:49 +01:00
Sandy
44543751da Activate base_external_dbsource
OCA Transbot updated translations from Transifex
2022-11-17 11:46:49 +01:00
lauris
33d6c76a28 base_external_dbsource and import_odbc modules moved out of __unported__ and adopted for instalation on v8.0 : created new form views for both modules as old ones was for v6.1 2022-11-17 11:46:49 +01:00
Stéphane Bidoul
72134d9140 move all modules to __unported__ on master branch and set installable=False 2022-11-17 11:46:49 +01:00
Maxime Chambreuil
324a3945cc [IMP] Update to v7 menu structure and dos2unix conversion
(../ext rev 366)
2022-11-17 11:46:49 +01:00