Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.10 #26

Closed
susodapop opened this issue Aug 1, 2022 · 4 comments · Fixed by #31
Closed

Add support for Python 3.10 #26

susodapop opened this issue Aug 1, 2022 · 4 comments · Fixed by #31

Comments

@susodapop
Copy link
Contributor

PySQL depends on Numpy which only added support for Python 3.10 on 22 June 22 in version 1.23.0. But we’re pinned to 1.21.1 . De facto, we don’t support Py3.10.

@apoclyps
Copy link

apoclyps commented Aug 1, 2022

If 3.10 won't be supported for a while can the requirements section be updated in the README to help others avoid #25?

https://github.com/databricks/databricks-sql-python#requirements

A development machine running Python >=3.7, <3.10.

susodapop pushed a commit that referenced this issue Aug 1, 2022
Advise developers to use Python 3.7, 3.8, or 3.9 until #26 is fixed.
@susodapop
Copy link
Contributor Author

Great idea. Done here. I'm testing Python 3.10 support this week so it shouldn't be long.

ext-gvillafane pushed a commit to AdelanteFinancialHoldings/dbt-databricks that referenced this issue Aug 12, 2022
### Description

The dependent library `databricks-sql-connector` doesn't support Python 3.10 yet (databricks/databricks-sql-python#26).
We should also avoid incompatible Python version.
@dbaxa
Copy link
Contributor

dbaxa commented Aug 15, 2022

PySQL depends on Numpy which only added support for Python 3.10 on 22 June 22 in version 1.23.0. But we’re pinned to 1.21.1 . De facto, we don’t support Py3.10.

afaik numpy added support for python 3.10 in version 1.21.3 back in April of this year -> https://numpy.org/devdocs/release/1.21.3-notes.html

The Python versions supported in this release are 3.7-3.10. If you want to compile your own version using gcc-11, you will need to use gcc-11.2+ to avoid problems.

It seems like they had to fix a number of issues as they came up for 1.21.x though with regards to python 3.10 support (1.21.4 fixed a wheel issue for mac amd64, & 1.21.6 provides a 32 bit wheel for windows 3.10).

@alexott
Copy link

alexott commented Aug 17, 2022

This issue is causing problems in Airflow: apache/airflow#25697 (comment)

dbaxa added a commit to dbaxa/databricks-sql-python that referenced this issue Aug 17, 2022
* Test with multiple python versions.
* Update pyarrow to version 9.0.0 to address issue in relation to python 3.10 & a specific version of numpy being pulled in by pyarrow.

Closes databricks#26 

Signed-off-by: David Black <dblack@atlassian.com>
ueshin added a commit to ueshin/dbt-databricks that referenced this issue Aug 19, 2022
### Description

Supports Python 3.10.

[`databricks-sql-connector 2.0.4`](https://pypi.org/project/databricks-sql-connector/2.0.4/) has been released with [Python 3.10 support](databricks/databricks-sql-python#26).
zhengruifeng pushed a commit to zhengruifeng/dbt-databricks that referenced this issue Aug 23, 2022
### Description

The dependent library `databricks-sql-connector` doesn't support Python 3.10 yet (databricks/databricks-sql-python#26).
We should also avoid incompatible Python version.
zhengruifeng pushed a commit to zhengruifeng/dbt-databricks that referenced this issue Aug 23, 2022
### Description

Supports Python 3.10.

[`databricks-sql-connector 2.0.4`](https://pypi.org/project/databricks-sql-connector/2.0.4/) has been released with [Python 3.10 support](databricks/databricks-sql-python#26).
moderakh pushed a commit to moderakh/databricks-sql-python that referenced this issue Aug 24, 2022
Advise developers to use Python 3.7, 3.8, or 3.9 until databricks#26 is fixed.

Signed-off-by: Moe Derakhshani <moe.derakhshani@databricks.com>
moderakh pushed a commit to moderakh/databricks-sql-python that referenced this issue Aug 24, 2022
* Test with multiple python versions.
* Update pyarrow to version 9.0.0 to address issue in relation to python 3.10 & a specific version of numpy being pulled in by pyarrow.

Closes databricks#26

Signed-off-by: David Black <dblack@atlassian.com>
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 a pull request may close this issue.

4 participants