Commit Graph

188 Commits

Author SHA1 Message Date
Moisés López - https://www.vauxoo.com/
bf470af5eb 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
2023-04-11 11:15:03 +02:00
Sergio Teruel
c93cae8e30 [MIG] base_external_dbsource_mssql: Migration to v13.0
[UPD] Update base_external_dbsource_mssql.pot
2023-04-11 11:15:03 +02:00
Sergio Teruel
08dcfc3710 [MIG] base_external_dbsource_mssql: Migration to v12.0
[UPD] Update base_external_dbsource_mssql.pot
2023-04-11 11:15:03 +02:00
Sergio Teruel Albert
6b79b77216 [11.0][MIG] base_external_dbsource_mssql: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource_mssql.pot

[UPD] README.rst
2023-04-11 11:15:03 +02:00
Dave Lasley
442ef98af7 [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
2023-04-11 11:15:03 +02:00
mymage
e608b37700 Translated using Weblate (Italian)
Currently translated at 34.4% (10 of 29 strings)

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource/it/
2023-04-10 16:34:26 +00:00
Weblate
4fd5f4e3e2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource_sqlite
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource_sqlite/
2023-04-06 19:09:42 +00:00
OCA-git-bot
882dc04e88 [UPD] addons table in README.md 2023-04-06 12:12:23 +00:00
OCA-git-bot
97faee8bfb base_external_dbsource_sqlite 16.0.1.0.1 2023-04-06 12:12:18 +00:00
OCA-git-bot
9fd4cbb245 [ADD] setup.py 2023-04-06 12:12:18 +00:00
OCA-git-bot
bc1c2b6ec8 [UPD] README.rst 2023-04-06 12:12:17 +00:00
OCA-git-bot
7784a7338f [UPD] addons table in README.md 2023-04-06 12:12:16 +00:00
oca-ci
a47d0351a5 [UPD] Update base_external_dbsource_sqlite.pot 2023-04-06 12:10:04 +00:00
OCA-git-bot
c3fc390ebe Merge PR #209 into 16.0
Signed-off-by yajo
2023-04-06 12:08:08 +00:00
Jairo Llopis
d2a6f34ce7 [FIX] base_external_dbsource_sqlite: actually useful demo data
Previous demo data wasn't working nor showcasing a valid query string.
2023-04-06 12:07:23 +00:00
Andrea Cattalani
e11ea5bd91 [FIX] base_external_dbsource_sqlite: extend engine selector only after installation 2023-04-06 13:41:34 +02:00
Andrea Cattalani
cc92649921 [MIG] base_external_dbsource_sqlite: migration to 16.0 2023-04-06 13:37:42 +02:00
OCA-git-bot
8787c139a4 [UPD] README.rst 2023-04-06 12:34:12 +02:00
oca-ci
2a694f5b75 [UPD] Update base_external_dbsource_sqlite.pot 2023-04-06 12:34:12 +02:00
Víctor Martínez
5b2a7fb756 [MIG] base_external_dbsource_sqlite: Migration to 15.0
TT38359
2023-04-06 12:34:12 +02:00
Víctor Martínez
2dc342f95b [IMP] base_external_dbsource_sqlite: black, isort, prettier 2023-04-06 12:34:12 +02:00
Sergio Teruel
cb88683c9f [MIG] base_external_dbsource_sqlite: Migration to v13.0
[UPD] Update base_external_dbsource_sqlite.pot

[UPD] README.rst
2023-04-06 12:34:12 +02:00
Sergio Teruel
f7251ddd5d [MIG] base_external_dbsource_sqlite: Migration to v12.0
[UPD] Update base_external_dbsource_sqlite.pot
2023-04-06 12:34:12 +02:00
Adrià Gil Sorribes
f283386ee9 Extend test coverage
[ADD] icon.png

[UPD] README.rst
2023-04-06 12:34:12 +02:00
Adrià Gil Sorribes
726a4cacdf [FIX] base_external_dbsource_sqlite crashing when sqlparams equal None 2023-04-06 12:34:12 +02:00
Sergio Teruel Albert
0df90603ae [11.0][MIG] base_external_dbsource_sqlite: Migration to v11.0
[UPD] README.rst

[UPD] Update base_external_dbsource_sqlite.pot
2023-04-06 12:34:12 +02:00
Dave Lasley
41a2109f8e [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
2023-04-06 12:34:12 +02:00
Weblate
ff8d9444d2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-backend-16.0/server-backend-16.0-base_external_dbsource
Translate-URL: https://translation.odoo-community.org/projects/server-backend-16-0/server-backend-16-0-base_external_dbsource/
2023-03-31 19:12:38 +00:00
OCA-git-bot
02fa69995e [UPD] addons table in README.md 2023-03-31 12:26:46 +00:00
OCA-git-bot
f4e13e3532 base_external_dbsource 16.0.1.0.1 2023-03-31 12:26:39 +00:00
OCA-git-bot
239d9cd88b [ADD] setup.py 2023-03-31 12:26:39 +00:00
OCA-git-bot
e9d2c28466 [UPD] README.rst 2023-03-31 12:26:39 +00:00
OCA-git-bot
a011daa7dc [UPD] addons table in README.md 2023-03-31 12:26:38 +00:00
oca-ci
e9d6127ff2 [UPD] Update base_external_dbsource.pot 2023-03-31 12:24:24 +00:00
OCA-git-bot
88f627e8d8 Merge PR #208 into 16.0
Signed-off-by yajo
2023-03-31 12:22:37 +00:00
Andrea Cattalani
bc8f25bed2 [14.0][MIG]base_external_dbsource 2023-03-31 12:05:26 +02:00
mymage
bd9153feac Translated using Weblate (Italian)
Currently translated at 34.4% (10 of 29 strings)

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/it/
2023-03-30 12:05:18 +02:00
Weblate
e0a083fa01 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/
2023-03-30 12:05:18 +02:00
OCA-git-bot
0a455d0776 [UPD] README.rst 2023-03-30 12:05:18 +02:00
oca-ci
b501d27d81 [UPD] Update base_external_dbsource.pot 2023-03-30 12:05:18 +02:00
Carlos Dauden
1829a38b86 [MIG] base_external_dbsource: Migration to v15.0
TT37273
2023-03-30 12:05:18 +02:00
Víctor Martínez
afe106fcda [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
2023-03-30 12:05:18 +02:00
bilbonet
4fe79fce8d [FIX]
- problems with tests
 - pre-commit

[UPD] Update base_external_dbsource.pot

[UPD] README.rst
2023-03-30 12:05:18 +02:00
sergio.teruel
a65afb1b8e [IMP] base_external_dbsource: Add company field to backend
fw-port from b7f439e04a
2023-03-30 12:05:18 +02:00
bilbonet
f3856e5ca0 little change 2023-03-30 12:05:18 +02:00
bilbonet
810c8ac8eb [FIX] pre-commit 2023-03-30 12:05:18 +02:00
bilbonet
8b1098a201 [MIG] base_external_dbsource: Migration to 14.0 2023-03-30 12:05:18 +02:00
bilbonet
2fa46041de [IMP] base_external_dbsource: black, isort, prettier 2023-03-30 12:05:18 +02:00
Sergio Teruel
e0a6a4bfcc [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/
2023-03-30 12:05:18 +02:00
Jairo Llopis
ae58bb7f16 [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/
2023-03-30 12:05:18 +02:00