Skip to content

Update changelog to indicate that 2.9.1 and 2.9.2 have been yanked. #222

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 1 commit into from
Sep 13, 2023

Conversation

susodapop
Copy link
Contributor

@susodapop susodapop commented Sep 13, 2023

We've chosen to yank these installations because they were immediately nonfunctional for any installation where urllib3<=2.0.0 was already installed. The releases work as expected installed in a dedicated virtualenv, however, since by default urllib3 version 2 will be installed if you pip install databricks-sql-connector==2.9.1 or 2.9.2.

If you are running version 2.9.1 or 2.9.2 you can safely upgrade to 2.9.3 which incorporates the same changes intended for these yanked versions, but have been fully tested to be compatible with both urllib3 1.x and 2.x

We'll also need to:

  • Update releases page for 2.9.1 and 2.9.2 to indicate they've been yanked

What pip users will see

Running pip install databricks-sql-connector==2.9.1 or pip install databricks-sql-connector==2.9.2 will show this warning:

WARNING: The candidate selected for download or install is a yanked version: 'databricks-sql-connector' candidate (version 2.9.1 at https://files.pythonhosted.org/packages/86/6e/b976f37f24a0e1c5986861200ab5aa417c749b63655912956263ddf1bbd0/databricks_sql_connector-2.9.1-py3-none-any.whl (from https://pypi.org/simple/databricks-sql-connector/) (requires-python:>=3.7.1,<4.0.0))
Reason for being yanked: Incompatible with urllib3<=2.0.0

Pypi releases screen before yank

CleanShot 2023-09-13 at 12 36 43@2x

Pypi releases screen after yank

CleanShot 2023-09-13 at 12 38 03@2x

@susodapop susodapop merged commit e748ae8 into main Sep 13, 2023
@susodapop susodapop deleted the yank-versions branch September 13, 2023 16:43
susodapop pushed a commit to unj1m/databricks-sql-python that referenced this pull request Sep 19, 2023
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