[arch-general] python mysql bindings.
Hi, i was building a python package that depends on an mysql binding for python, and i was looking about "mysql-python" [1], but when looking upstream [2] the page has a link to a new website [3]. At this new website, the author states that the package is a legacy version (the source used in the Arch[1]), and the new one was renamed to "moist" and has a new source [4]. So, i ask if this is a case of outdated package or it can be considered updated, although it's a legacy version? And i would like to know if some TU has interest to provide the new one, if not, i will gladly create an AUR package. Best regards, mawcomw
On Tuesday, November 04, 2014 10:27:16 Eduardo Machado wrote:
At this new website, the author states that the package is a legacy version (the source used in the Arch[1]), and the new one was renamed to "moist" and has a new source [4].
So, i ask if this is a case of outdated package or it can be considered updated, although it's a legacy version?
The MySQLdb1 tree is still maintained and needed by packages like mythtv and pyrss, etc. On the other hand, "moist" is designed to be a drop-in replacement of mysqldb but as its author states, "moist is not yet ready for prime-time, and there are likely to be some large structural changes in the near future", I don't think it a good idea to replace mysqldb with it at the moment.
And i would like to know if some TU has interest to provide the new one, if not, i will gladly create an AUR package.
Feel free to create a package for it, though I don't think it will be in [community] anytime soon, since its last commit was in 2012 (quite dead...), and popular packages should be in the AUR already :) Regards, Felix Yan
At Tuesday 04 November 2014 10:27:16 Eduardo Machado wrote:
i was building a python package that depends on an mysql binding for python, and i was looking about "mysql-python" [1], but when looking upstream [2] the page has a link to a new website [3]. At this new website, the author states that the package is a legacy version (the source used in the Arch[1]), and the new one was renamed to "moist" and has a new source [4].
If you are looking for mysql bindings you can use python-mysql-connector [1] for some cases which supports python2 and python3. 1. https://www.archlinux.org/packages/python-mysql-connector/ -- Sincerely yours, Evgeniy Alekseev email: darkarcanis@mail.ru ICQ: 407-398-235 Jabber: arcanis@jabber.ru
2014-11-05 1:15 GMT-02:00 Evgeniy Alekseev <darkarcanis@mail.ru>:
At Tuesday 04 November 2014 10:27:16 Eduardo Machado wrote:
i was building a python package that depends on an mysql binding for python, and i was looking about "mysql-python" [1], but when looking upstream [2] the page has a link to a new website [3]. At this new website, the author states that the package is a legacy version (the source used in the Arch[1]), and the new one was renamed to "moist" and has a new source [4].
If you are looking for mysql bindings you can use python-mysql-connector [1] for some cases which supports python2 and python3.
1. https://www.archlinux.org/packages/python-mysql-connector/
Thank you both for the clarification. I will try the python-mysql-connector to see if it is compatible.
participants (3)
-
Eduardo Machado
-
Evgeniy Alekseev
-
Felix Yan