Skip to content

async: update minimum python version and add httpx #259

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 5 commits into from
Oct 25, 2023
Merged

Conversation

susodapop
Copy link
Contributor

@susodapop susodapop commented Oct 25, 2023

Description

On the path to implementing async/await we need to install httpx as an extra dependency. The minimum Python version for httpx is Python 3.8 so I bumped that as well, which was already planned in #207. To that end, this PR also reverts #208 which was a temporary fix until we dropped Python 3.7 support.

We'll use the async staging branch for the PR's implementing this feature so as to keep main clean.

Usage

For development:

poetry install --extras "async"

Once this is deployed to Pypi:

pip install databricks-sql-connector[async]

Related Tickets and Documents

#176
PECO-1143

Jesse Whitehouse added 4 commits October 25, 2023 11:41
Closes #207

Signed-off-by: Jesse Whitehouse <[email protected]>
dev install with `poetry install --extras "async"`

when deployed to pip this will be installable with

`pip install databricks-sql-connector[async]`

Signed-off-by: Jesse Whitehouse <[email protected]>
…#208)"

This reverts commit a072574.

Now that we've dropped 3.7 support, we don't need this conditional anymore

Signed-off-by: Jesse Whitehouse <[email protected]>
Signed-off-by: Jesse Whitehouse <[email protected]>
@susodapop susodapop merged commit 8d85fa8 into async Oct 25, 2023
@susodapop susodapop deleted the async-one branch October 25, 2023 16:47
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