Build error for package pymssql

Hi team,

We get build error while building pymssql, as its removed from python 3.8.

/usr/lib/python3.8/site-packages/setuptools/ DistDeprecationWarning: Do not call this functi
warnings.warn(“Do not call this function”, DistDeprecationWarning)
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-84u0a9ka/pymssql/”, line 160, in
print(“ platform.linux_distribution() => %r” % (platform.linux_distribution(),))
AttributeError: module ‘platform’ has no attribute ‘linux_distribution’ platform.system() => ‘Linux’ platform.architecture() => (‘64bit’, ‘’)
ERROR: Command errored out with exit status 1: python egg_info Check the logs for full command output

Due to this redash data sources which uses ms sql server has been removed.

Please find the issue details

platform.linux_distribution is removed in Python 3.8 #586

Kindly suggest.


Looks like you’re using the alpha version of V9. If you need a stable release you should stick with V8. In V9 we are introducing an ODBC connector for MSSQL and the the pymssql version will be removed in a subsequent release.


When will be V9 released.