testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

Installation with poetry and mssqlserver extra broken

Open tharwan opened this issue 3 years ago • 2 comments

Hi,

when installing with the mssqlserver extra poetry attempts to install pymssql 3.0.3 which complains:

DeprecationWarning: The pymssql project has been discontinued. To install the last working released version, use a version specifier like "pymssql<3.0". For details and alternatives see: https://github.com/pymssql/pymssql/issues/668 [end of output]

a workaround is to do as it says. But maybe the pymssql dependency should be removed in favour of pyodbc.

tharwan avatar May 11 '22 14:05 tharwan

pymssql is still fully supported and maintained, read the whole chain. Compared to similar official Microsoft SQL Github repositories, in my opinion, the support/maintenance of pymssql would appear to be better than that of Microsoft's.

Warfront1 avatar Aug 03 '22 06:08 Warfront1

Well it is nice to know but not obvious at all given the error message and the linked ticket 😅

tharwan avatar Aug 03 '22 06:08 tharwan