Skip to content

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

Merged
ueshin merged 2 commits into
databricks:mainfrom
ueshin:upper_bound
Aug 15, 2022
Merged

Set upper bound for databricks-sql-connector instead of Python#154
ueshin merged 2 commits into
databricks:mainfrom
ueshin:upper_bound

Conversation

@ueshin
Copy link
Copy Markdown
Contributor

@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
Comment thread requirements.txt
@@ -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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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