microsoft / sql-server-language-extensions

language-extensions-sqlserver
Other
106 stars 43 forks source link

Sql Server 2022, python 3.11 #37

Closed techvslife closed 1 year ago

techvslife commented 1 year ago

I followed the instructions to build a python 3.11 extensibility dll for SQL Server 2022. But I received a series of warnings on the last step of the build (see attached file with list), so I thought it might not be wise to rely on that dll.

I also noticed that the last date on these project files is over a year ago--perhaps this is not meant to be used with SQL Server 2022? or used to build a python 3.11 (or later) dll? (Sql Server 2022 has instructions for installing with python 3.10 only, so perhaps that is the last version you advise.)

Thank you. _CompileWarningsAfterBuild.txt

Aniruddh25 commented 1 year ago

Hi @techvslife,

You can definitely use it with SQL Server 2022. I looked at the warnings you saw from your build using python 3.11. They are benign, so you should be able to use python 3.11 if your scenario commands it. That said, yes, it is python 3.10 that we tested our python extensions for SQL 22.

Thanks, Aniruddh

techvslife commented 1 year ago

Thank you! I also changed "std::experimental::filesystem" to "std::filesystem" everywhere in your code, as "experimental::" is no longer needed for ::filesystem in more recent c++.

Aniruddh25 commented 1 year ago

Yes, thats true, we will release an updated version of the code soon, that will take care of removing experimental.

Skyfly2021 commented 4 months ago

Yes, thats true, we will release an updated version of the code soon, that will take care of removing experimental.

hi ,Approximate time when a new version will be released with support for python 3.11