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

1.9.0 is no longer on pypi #216

Closed
erikselin opened this issue Oct 10, 2019 · 7 comments
Closed

1.9.0 is no longer on pypi #216

erikselin opened this issue Oct 10, 2019 · 7 comments
Labels

Comments

@erikselin
Copy link

erikselin commented Oct 10, 2019

It seems 1.9.0 has been pulled from pypi. This will break any pipeline and build processes that is version locked to 1.9.0 (with an asn1crypto lock to make it work). Please don't pull things from pypi, especially not versions that have been released for a considerable amount of time.

@smomen
Copy link

smomen commented Oct 10, 2019

same experience here this morning, multiple project builds broke with this removal. we are pulling back to 1.8.7 and hopefully it works, as we're not sure whether 1.9.1 might also disappear.

@dave-om1
Copy link

notice that the release notes for 1.9.1 and 2.0.1 are both this:
Add asn1crypto requirement to mitigate incompatibility change.
maybe a mistake?
however you slice it, no bueno

@megfordpix
Copy link

This is also breaking our build. Can someone tell us why this happened and what the recommended replacement version is so we can fix our build?

@ankit-bhatnagar167
Copy link
Contributor

ankit-bhatnagar167 commented Oct 10, 2019

Background:
Python Connector v1.9.0 was removed because it did not pin the asn1crypto version resulting in several customers breaking when they upgraded the asn1crypto library to version 1.0.0. asn1crypto removed an API that is currently used by the Snowflake Python Connector

Impact:
Customers who have pinned a dependency on this package will receive a build error similar to:
Snowflake Python connector version 1.9.0 not found

Solution:
Customers should use 1.9.1 which properly pins the supported asn1crypto versions.

pip install -U snowflake-connector-python==1.9.1

Additional Notes:

  • Python Connector v2.0.0 is impacted by the same issue as 1.9.0 and should be avoided
  • Python Connector v2.0.1 can be used but may break lamda deployments since the package size is over 200MB. The large size is due to inclusion of some optional libraries that are in Private Preview and not needed for normal operation.
  • Python Connector v2.0.2 will be released shortly with a much smaller package size.
  • Snowflake will not remove python versions in the future without proper notification to our customers.

@erikselin
Copy link
Author

erikselin commented Oct 10, 2019

@ankit-bhatnagar167 thanks for the feedback.

Sorry to be frank here, but this is not a good way to release a patched version. What Snowflake has done here is break every production pipeline or build process that had the snowflake connector and asn1crypto pinned to 1.9.0 and 0.24.0. Many Snowflake customers using a proper pip freeze or equivalent dependency management could fall into this group. A lot of perfectly fine, working code likely got broken because Snowflake removed this from PyPI.

A much better solution would have been to release 1.9.1 and 2.0.1 with the fixes and leave 1.9.0 and 2.0.0, as is, in PyPI. That would ensure nothing that is currently working breaks, and for anyone with broken stuff, there would be an update to fix their issue.

Generally, it is asking for trouble to remove packages once they have been released.

@ankit-bhatnagar167
Copy link
Contributor

Noted @erikselin .
I am keeping this issue open for a couple of days so anyone facing this issue can refer to it and get the details.

@sfc-gh-hkapre
Copy link

@erikselin Your point is well taken. We will not be removing versions in the future.

awm33 added a commit to datamill-co/target-snowflake that referenced this issue Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants