Skip to content

async: update minimum python version and add httpx#259

Merged
susodapop merged 5 commits intoasyncfrom
async-one
Oct 25, 2023
Merged

async: update minimum python version and add httpx#259
susodapop merged 5 commits intoasyncfrom
async-one

Conversation

@susodapop
Copy link
Copy Markdown
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 <jesse.whitehouse@databricks.com>
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 <jesse.whitehouse@databricks.com>
…#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 <jesse.whitehouse@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
@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