pyodbc: Fix segmentation fault
authorJeffery To <jeffery.to@gmail.com>
Mon, 30 Oct 2023 11:32:26 +0000 (19:32 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 2 Nov 2023 10:23:38 +0000 (11:23 +0100)
commit66774c3b3080a0df5551ea8a9da557be5b62a007
treeb718a15520f4f7f9bc981add0574b5d23fcc4ecb
parent9068bc76cf63cbcc23dfa32d17636338d7c28552
pyodbc: Fix segmentation fault

4.0.36 included a change to decimal parsing[1] that requires the decimal
module. Trying to load the pyodbc module without python3-decimal
installed would lead to a segmentation fault.

This adds python3-decimal as a dependency.

This also adds python3-uuid as a dependency as the module can accept and
return uuid objects[2].

[1]: https://github.com/mkleehammer/pyodbc/commit/6b107a2bcaf7379e5ba182007b6ecae1bc2fc931
[2]: https://github.com/mkleehammer/pyodbc/commit/2ad7a9ced7c9c33232c173668c0830a484cc92f3

Fixes: f02f3ee8c768 ("pyodbc: Update to 4.0.39")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 668a0f9dd8baa2fb6275ff0e022b6f1bf390b7c2)
lang/python/pyodbc/Makefile