Skip to content

Set upper bound for databricks-sql-connector instead of Python #154

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

Merged
merged 2 commits into from
Aug 15, 2022

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Aug 12, 2022

Description

Set upper bound for databricks-sql-connector when Python 3.10 instead of Python.

Note that databricks-sql-connector doesn't support Python 3.10 yet, so dbt-databricks doesn't either.

@ueshin ueshin requested a review from allisonwang-db August 12, 2022 23:44
@@ -1,2 +1,3 @@
databricks-sql-connector>=2.0.2
databricks-sql-connector>=2.0.2; python_version<'3.10'
databricks-sql-connector>=2.0.2,<2.0.3; python_version=='3.10'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need this line?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It applies the upper bound only when Python 3.10.

@ueshin
Copy link
Collaborator Author

ueshin commented Aug 15, 2022

Thanks! merging.

@ueshin ueshin merged commit a63b4b0 into databricks:main Aug 15, 2022
@ueshin ueshin deleted the upper_bound branch August 15, 2022 23:30
@ueshin ueshin mentioned this pull request Aug 17, 2022
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.

2 participants