Closed danieldjewell closed 1 year ago
Hi @danieldjewell - thank you for bringing this to our attention. mssql-cli is on the path to deprecation, and it will be replaced by the new sqlcmd (https://learn.microsoft.com/en-us/sql/tools/sqlcmd/go-sqlcmd-utility?view=sql-server-ver16)) once it becomes generally available. We can push the latest release of mssql-cli to PyPI, but we recommend exploring the new sqlcmd as a replacement for mssql-cli. We are actively in development for the new sqlcmd, and would love to hear feedback (requests, issues): (https://github.com/microsoft/go-sqlcmd/issues).
@erinstellato-ms Is go-sqlcmd an open source project?
@azinsharaf Yes, go-sqlcmd is an open source project, as noted in the readme: https://github.com/microsoft/go-sqlcmd
@azinsharaf Yes, go-sqlcmd is an open source project, as noted in the readme: https://github.com/microsoft/go-sqlcmd
thanks, looking forward to using it.
Awesome! Thank you - I see that the deprecation notice was added the day after I opened this issue (3021193c65e942cf30e0b006cc3b88445e966373) - that helps clarify things!
Looking forward to trying out the new go-sqlcmd
The version of
mssql-cli
published on PyPI breaks several other packages (notablymercurial
/hg) by installing theenum34
package. At least on Python 3.10enum
is a core/built-in... so that dependency breaks core Python functionality.This appears to have been fixed in #509 (which was committed quite awhile ago....) ... specifically:
https://github.com/dbcli/mssql-cli/pull/509/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R42
https://github.com/dbcli/mssql-cli/blob/b874d0aa09fb1e379100c8ad1409d38c408fe341/setup.py#L42
However, these changes were never released to PyPI ...
@pensivebrian Are you still with Microsoft?
@alanrenmsft @Charles-Gagnon @kburtram @kisantia I recognize that this isn't your project, but since you seem to be pretty active in the SQL Server space, perhaps you might be able to escalate/refer/tell someone about this? I suspect there are quite a few people out there who have installed this only to find that it ends up breaking things.