Tryton - Issues

 

Issue7017

Title MySQL-python does not support python3
Priority bug Status resolved
Superseder Nosy List ced, nicoe, pokoli, reviewbot, roundup-bot
Type behavior Components trytond
Assigned To ced Keywords MySQL, Python3, review
Reviews 41771002, 35841002
View: 41771002, 35841002

Created on 2017-12-18.12:01:08 by nicoe, last changed by roundup-bot.

Messages
New changeset 0d76482e63cf by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/web_user/rev/0d76482e63cf
New changeset e15c0fcc1be5 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/timesheet_cost/rev/e15c0fcc1be5
New changeset 054b0fc2c2d7 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/timesheet/rev/054b0fc2c2d7
New changeset fe4db8486e6a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_supply_production/rev/fe4db8486e6a
New changeset 35a4b14064f7 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_supply_forecast/rev/35a4b14064f7
New changeset de8670f0ba8f by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_supply_day/rev/de8670f0ba8f
New changeset c2b359d44a96 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_supply/rev/c2b359d44a96
New changeset e5fefbb790e6 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_split/rev/e5fefbb790e6
New changeset feaa37c4bafc by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_shipment_measurements/rev/feaa37c4bafc
New changeset 3f4b638bfd53 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_product_location/rev/3f4b638bfd53
New changeset cdeb02d8a9b6 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_package_shipping_ups/rev/cdeb02d8a9b6
New changeset 8ead0b18fb41 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_package_shipping_dpd/rev/8ead0b18fb41
New changeset c2f011feeb97 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_package_shipping/rev/c2f011feeb97
New changeset de76744f6295 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_package/rev/de76744f6295
New changeset f39cb87fa213 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_lot_sled/rev/f39cb87fa213
New changeset dfc5f0610bc8 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_lot/rev/dfc5f0610bc8
New changeset 2bb8b9d28f0f by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_location_sequence/rev/2bb8b9d28f0f
New changeset db45aa4568d0 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_location_move/rev/db45aa4568d0
New changeset efbb5d99249c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_inventory_location/rev/efbb5d99249c
New changeset 8a18e15e46a0 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_forecast/rev/8a18e15e46a0
New changeset 306636f915fb by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock_consignment/rev/306636f915fb
New changeset 2ff6f2a775e3 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/stock/rev/2ff6f2a775e3
New changeset f22c78528260 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_supply_drop_shipment/rev/f22c78528260
New changeset eb077ef6dc56 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_supply/rev/eb077ef6dc56
New changeset e453b6af7e10 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_subscription/rev/e453b6af7e10
New changeset d693ed0d1afc by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_stock_quantity/rev/d693ed0d1afc
New changeset 850707639f90 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_shipment_tolerance/rev/850707639f90
New changeset 4a532155c87d by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_shipment_grouping/rev/4a532155c87d
New changeset c92b2f9840ea by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_shipment_cost/rev/c92b2f9840ea
New changeset b6c1a4337c2c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_promotion_coupon/rev/b6c1a4337c2c
New changeset b4fd573cb346 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_promotion/rev/b4fd573cb346
New changeset 794cc80eac8b by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_price_list/rev/794cc80eac8b
New changeset 1fb5aaf79fb2 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_payment/rev/1fb5aaf79fb2
New changeset e65684f7ecbd by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_opportunity/rev/e65684f7ecbd
New changeset e4482e35a310 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_invoice_grouping/rev/e4482e35a310
New changeset 2f05cae84fad by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_extra/rev/2f05cae84fad
New changeset 67df271fd3e8 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_credit_limit/rev/67df271fd3e8
New changeset 10ae758cc20d by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_complaint/rev/10ae758cc20d
New changeset 61d6b217cc8c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale_advance_payment/rev/61d6b217cc8c
New changeset 7a92a196dab9 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/sale/rev/7a92a196dab9
New changeset d6ea54b82c44 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/purchase_shipment_cost/rev/d6ea54b82c44
New changeset c28b2cd7f05d by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/purchase_requisition/rev/c28b2cd7f05d
New changeset f7fb0115650a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/purchase_request/rev/f7fb0115650a
New changeset a977fa90f82a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/purchase_invoice_line_standalone/rev/a977fa90f82a
New changeset 45caae282ef3 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/purchase/rev/45caae282ef3
New changeset 5853f810971d by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/project_revenue/rev/5853f810971d
New changeset f9e107ac81fd by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/project_plan/rev/f9e107ac81fd
New changeset 5930acb6d020 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/project_invoice/rev/5930acb6d020
New changeset 244183a7aa3c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/project/rev/244183a7aa3c
New changeset 58c44dc118aa by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/production_work_timesheet/rev/58c44dc118aa
New changeset 648296febff8 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/production_work/rev/648296febff8
New changeset 8ee16620b35e by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/production_split/rev/8ee16620b35e
New changeset 8fa377d3bc1c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/production_routing/rev/8fa377d3bc1c
New changeset 186943c26c75 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/production/rev/186943c26c75
New changeset f7cf53f29a62 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_price_list_dates/rev/f7cf53f29a62
New changeset 74a04d33fa04 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_price_list/rev/74a04d33fa04
New changeset 80e5e141207c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_measurements/rev/80e5e141207c
New changeset ef5b3e50bea5 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_cost_history/rev/ef5b3e50bea5
New changeset cfa078013c69 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_cost_fifo/rev/cfa078013c69
New changeset d3500efd5944 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_classification_taxonomic/rev/d3500efd5944
New changeset 40bf65f5b7ff by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_classification/rev/40bf65f5b7ff
New changeset af40869f58b8 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product_attribute/rev/af40869f58b8
New changeset 5acdbeb25f1f by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/product/rev/5acdbeb25f1f
New changeset 0681e6807308 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/party_siret/rev/0681e6807308
New changeset 87c9d335e2c3 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/party_relationship/rev/87c9d335e2c3
New changeset 7f54e6742e17 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/party/rev/7f54e6742e17
New changeset e7da728b82a1 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/notification_email/rev/e7da728b82a1
New changeset 1abcdba3f17a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/ldap_authentication/rev/1abcdba3f17a
New changeset 103da0dec9cf by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/google_maps/rev/103da0dec9cf
New changeset d493c8245b09 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/dashboard/rev/d493c8245b09
New changeset 2e5e3b378f94 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/customs/rev/2e5e3b378f94
New changeset b03dc7f17565 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/currency/rev/b03dc7f17565
New changeset 437e4674ca4a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/country/rev/437e4674ca4a
New changeset fc959cd6fa11 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/company_work_time/rev/fc959cd6fa11
New changeset 176c66808ebd by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/company/rev/176c66808ebd
New changeset be09cb3d1647 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/commission_waiting/rev/be09cb3d1647
New changeset 9e1ce7753921 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/commission/rev/9e1ce7753921
New changeset b8475be974ac by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/carrier_weight/rev/b8475be974ac
New changeset 233c8c6a3791 by Cédric Krier in branch 'default':
Initial commit
http://hg.tryton.org/sandbox/trytond-mysql/rev/233c8c6a3791
New changeset fe413fa64cfe by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/carrier_percentage/rev/fe413fa64cfe
New changeset 3b1f7452cc8a by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/carrier/rev/3b1f7452cc8a
New changeset 71a557b837cf by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/bank/rev/71a557b837cf
New changeset d623837d6587 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/authentication_sms/rev/d623837d6587
New changeset c053c0f68fe5 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/analytic_sale/rev/c053c0f68fe5
New changeset c87f0966ae94 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/analytic_purchase/rev/c87f0966ae94
New changeset 55b675d129e1 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/analytic_invoice/rev/55b675d129e1
New changeset 4c9bd691e904 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/analytic_account/rev/4c9bd691e904
New changeset 512cc27010fd by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_tax_rule_country/rev/512cc27010fd
New changeset a4d5a109c88f by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_stock_landed_cost_weight/rev/a4d5a109c88f
New changeset 073f5e7e9942 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_stock_landed_cost/rev/073f5e7e9942
New changeset deb61bb3fc3b by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_stock_continental/rev/deb61bb3fc3b
New changeset c9297227c7c9 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_stock_anglo_saxon/rev/c9297227c7c9
New changeset 4069ad22473e by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_statement_coda/rev/4069ad22473e
New changeset fcf0493b301f by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_statement/rev/fcf0493b301f
New changeset 3e63a2e495f5 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_product/rev/3e63a2e495f5
New changeset eaf2bdd437c2 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_payment_stripe/rev/eaf2bdd437c2
New changeset 851032840e59 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_payment_sepa_cfonb/rev/851032840e59
New changeset a452afc9aa64 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_payment_sepa/rev/a452afc9aa64
New changeset dd8999d68a63 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_payment_clearing/rev/dd8999d68a63
New changeset 2ecc7a2d6e45 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_payment/rev/2ecc7a2d6e45
New changeset ca42887cb5f1 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_invoice_stock/rev/ca42887cb5f1
New changeset e59966c4a91c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_invoice_line_standalone/rev/e59966c4a91c
New changeset b6bf5594a4a2 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_invoice_history/rev/b6bf5594a4a2
New changeset 1881e574036c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_invoice_correction/rev/1881e574036c
New changeset 6c85f394741c by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_invoice/rev/6c85f394741c
New changeset cf3a88930215 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_fr/rev/cf3a88930215
New changeset aba126dfbe62 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_eu/rev/aba126dfbe62
New changeset 11024612ccf3 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_es/rev/11024612ccf3
New changeset a6eb74152638 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_dunning_letter/rev/a6eb74152638
New changeset 81103cb152aa by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_dunning_fee/rev/81103cb152aa
New changeset 9d1490031b8b by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_dunning_email/rev/9d1490031b8b
New changeset c351f81e29b2 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_dunning/rev/c351f81e29b2
New changeset 11e8fdac3d6b by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_deposit/rev/11e8fdac3d6b
New changeset 593f03632f9e by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_de_skr03/rev/593f03632f9e
New changeset 42437ff73728 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_credit_limit/rev/42437ff73728
New changeset 89af250dcfa8 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_be/rev/89af250dcfa8
New changeset 78a0c0608228 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account_asset/rev/78a0c0608228
New changeset 6cf1d34490c0 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/modules/account/rev/6cf1d34490c0
New changeset b2729144b556 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/trytond/rev/b2729144b556
New changeset a440606c42e9 by Cédric Krier in branch 'default':
Remove MySQL backend
http://hg.tryton.org/cookiecutter/rev/a440606c42e9
msg37834 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-01-22.09:50:38
I agree that we should not spend a lot of time on this, so let's move it to the sandbox and see if there is some interest from anybody.
review41771002 updated at https://codereview.tryton.org/41771002/#ps20001
review35841002 updated at https://codereview.tryton.org/35841002/#ps60001
msg37708 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-01-21.19:19:54
I have updated locally as it is simple I did not uploaded a review but I will commit it.

Now back to trytond-mysql, I try to make the test running but indeed the mysql support is in terrible state and I do not want to spend more of my time to it (as I really do not care of this database like almost everybody).
So I propose to push the current state of the backend module in http://hg.tryton.org/sandbox and wait for contribution to make it working correctly to promote it as an official package.
msg37674 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2018-01-18.09:56:38
I think we should update also tox.ini from all modules and from cookiecutter to remove the mysql definitions.
review35841002 updated at https://codereview.tryton.org/35841002/#ps20001
New review35841002 at https://codereview.tryton.org/35841002/#ps1
New review41771002 at https://codereview.tryton.org/41771002/#ps1
msg37335 (view) Author: [hidden] (nicoe) (Tryton committer) (Tryton translator) Date: 2017-12-18.12:58:17
* Cédric Krier  [2017-12-18 12:03 +0100]: 
>
>Cédric Krier <cedric.krier@b2ck.com> added the comment:
>
>Nobody cares about MySQL, let's remove from core as external backend
>(like postgis)

That's what I meant by demote: make it an external backend and fix it
there afterwards.
msg37334 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-12-18.12:03:49
Nobody cares about MySQL, let's remove from core as external backend (like postgis)
msg37333 (view) Author: [hidden] (nicoe) (Tryton committer) (Tryton translator) Date: 2017-12-18.12:01:08
While trying to install mysql bindings for an unrelated projet I noticed that the binding we use currently for mysql do not support python3.

We can either switch to another binding (https://stackoverflow.com/questions/4960048/python-3-and-mysql#25724855) or demote the mysql backend and switch to something afterwards.
History
Date User Action Args
2018-01-24 20:25:17roundup-botsetmessages: + msg38053
2018-01-24 20:25:12roundup-botsetmessages: + msg38052
2018-01-24 20:25:09roundup-botsetmessages: + msg38051
2018-01-24 20:25:04roundup-botsetmessages: + msg38050
2018-01-24 20:25:00roundup-botsetmessages: + msg38049
2018-01-24 20:24:55roundup-botsetmessages: + msg38048
2018-01-24 20:24:51roundup-botsetmessages: + msg38047
2018-01-24 20:24:46roundup-botsetmessages: + msg38046
2018-01-24 20:24:42roundup-botsetmessages: + msg38045
2018-01-24 20:24:35roundup-botsetmessages: + msg38044

Showing 10 items. Show all history (warning: this could be VERY long)