Skip to content

Conversation

@jackwotherspoon
Copy link
Collaborator

Add that Python Connector officially supports Python 3.12

Closes #900

@jackwotherspoon jackwotherspoon self-assigned this Nov 16, 2023
@jackwotherspoon
Copy link
Collaborator Author

Python 3.12 no longer comes with setuptools (i.e pkg_resources) as mentioned in https://docs.python.org/3/whatsnew/3.12.html

This causes issues with pytds driver that imports pkg_resources in its __init__.py

.nox\system-3-12\Lib\site-packages\pytds\__init__.py:69: in <module>
    import pkg_resources  # type: ignore # fix later
E   ModuleNotFoundError: No module named 'pkg_resources'

Opened denisenkom/pytds#157 PR as a potential fix.

@jackwotherspoon jackwotherspoon marked this pull request as ready for review December 18, 2023 16:06
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner December 18, 2023 16:06
@jackwotherspoon
Copy link
Collaborator Author

python-tds PR has been merged, should wait till release of 1.15.0 next month prior to merging this PR

Copy link
Member

@enocom enocom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add a note about pytds? Probably not?

@jackwotherspoon
Copy link
Collaborator Author

Do we need to add a note about pytds? Probably not?

@enocom No we will just wait till the new release of pytds driver and the version bump in this repo should then make these builds green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Python 3.12

2 participants