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

Set upper bound for Python #152

Merged
merged 2 commits into from
Aug 11, 2022
Merged

Set upper bound for Python #152

merged 2 commits into from
Aug 11, 2022

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Aug 11, 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.

@ueshin ueshin changed the title Test. Set upper bound for Python Aug 11, 2022
@ueshin ueshin requested a review from allisonwang-db August 11, 2022 21:57
],
python_requires=">=3.7",
python_requires=">=3.7,<3.10",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This might be good enough without explicitly setting the upper bound. We could just say dbt-databricks does not officially support Python 3.10 yet.
@allisonwang-db WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yea this should be fine.

Copy link
Collaborator

@allisonwang-db allisonwang-db left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks for the fix.

],
python_requires=">=3.7",
python_requires=">=3.7,<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.

Yea this should be fine.

@ueshin
Copy link
Collaborator Author

ueshin commented Aug 11, 2022

Thanks! merging.

@ueshin ueshin merged commit 0e0727b into databricks:main Aug 11, 2022
ext-gvillafane pushed a commit to AdelanteFinancialHoldings/dbt-databricks that referenced this pull request 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.
@ueshin ueshin deleted the upperbound_py3.9 branch August 12, 2022 20:03
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