-
Notifications
You must be signed in to change notification settings - Fork 152
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
SNOW-739749: snowflake-sqlalchemy 1.4.4 requires sqlalchemy<2.0.0,>=1.4.0, but you have sqlalchemy 2.0.1 which is incompatible. #380
Comments
hey @sfc-gh-jgriffith, we're aware of the V2 GA release of sqlalchemy. |
Do you have an estimated release timeframe for this? |
Seconded the request for a timeframe, especially given that a previous version explicitly said it added compatibility. |
We would like to use sqlalchemy 2.0 as well, but this is blocking - is there a release timeframe? |
Any idea when sqlalchemy 2.0 support might land? |
@sfc-gh-aling do you have any updates on this? |
Hi @sfc-gh-aling -- I see an update to snowflake-sqlalchemy just went out! Support for 2.0 yet!? As of this morning, it's still restricted to <2.0 upon installation. |
Would also quite like to know a release timeframe for 2.0 support :) |
I was curious how close snowflake-sqlalchemy is from supporting sqlalchemy 2.0, so I manually installed it:
It seems very close! After some monkey-patching, I was able to create an engine and connect to snowflake:
@sfc-gh-aling and snowflake team, for your 2.0 porting efforts, maybe 👆is helpful in assessing the gaps? |
@sfc-gh-aling Any updates? |
Would love to see support for sqlalchemy 2 in |
@sfc-gh-aling SQLAlchemy 2.0 support was supposedly added last August. Any reason why this still doesn't work 234 days later? @cladden Your fix has worked wonderfully, so I'm even more confused what's taking so long. |
@jamesroseman From our Snowflake rep: The August release note was a typo. It should have read,
|
Funny - at least I am not the only one who was sure that it implied that snowflake-sqlalchemy was ready for sqlalchemy>=2.0.0 Can you at least provide a timeframe for when you expect snowflake-sqlalchemy to be up-to-date with sqlalchemy? |
Is there a timeframe when sqlalchemy 2.0 will be supported? |
Any further news on this? We'd love to start using sqlalchemy 2.0 with Snowflake, too. |
I still haven't had any issues with this approach besides the warning about using old dbapi methods. Thanks |
Bump? |
Is there any update on supporting SQL-Alchemy >= 2.0? |
Any update on this timeline? |
It seems many of us are stuck with dependencies that don't let us downgrade to v1. This has been open for a year now with a pending PR and little to no feedback nor input from Snowflake. What's the hold up? What do we need to do to get it over the finish line? |
Bump. Can we get an update? This is becoming more and more of a problem. |
@sfc-gh-dszmolka, it's been about 3 weeks since your last message. I was wondering if you could give all us an update? |
hey folks according to the latest information I have from the product team, we intend to run the private preview (see above) for a while to get more feedback and hopefully iron out wrinkles. I don't have any timeline set in stone unfortunately but asked the team with the source of truth and will update if there's any news. Until the feature is available in public preview, you're more than welcome to participate in the private preview as mentioned above, if that's an option for you. Thank you all for the understanding here. edit 29 May 2024: I'm still trying to get definitive confirmation regarding the timelines from the authoritative sources in the Product team. Currently per the info I have (and already mentioned above) we intend to run the private preview phase for a while - and pending its results (and any unforeseen critical issues) we intend to release it to public preview by latest autumn 2024. To sum this up:
The very moment I have any information which says otherwise or can provide a more precise estimation, I will update this thread. |
Up! Any updates? Sqlalchemy has been released for over a year now... :/ |
@sfc-gh-dszmolka |
hi folks - regarding any more granular timelines above which have been already shared, i really have nothing to say at this point, I wish I had, but then you'd already know it from here. Regarding the above concern, thank you for sharing it. Should be a concern for Python 3.8 though; as numpy 2 now requires Python 3.9-3.12 and on Python 3.9 both libraries are in the required version (pandas 2.2.2, numpy 2.0.0) |
#469 is closed. Should we consider this issue resolved? |
Indeed! I'll close this issue once the version which is compatible with SQLAlchemy 2.0 is finally released. |
Should we expect that version latest by autumn 2024 as mentioned above? |
still don't have a definite and committed-to date from the Product team but I believe the plans to approach the release might have changed. |
Look forward to that version. Thanks! |
After such a long wait, release v1.6.0 is out ! This is the one bringing compatibility with SQLAlchemy 2.0 and can be right now downloaded directly from here. For some reason it's not available on edit: issue looks to be fixed, but due to the nature of the issue we'll need to release a new version (1.6.1) which will happen soon. will keep this thread updated as events evolve. Thank you everyone again for bearing with us for such a long time ! |
Hooray 🎉! Thanks to all the team for working on this. |
Excellent news, thanks to the team! Could you kindly comment here when 1.6.0 is available on PyPI and conda-forge? Our engineers might look at me funny if deployments involve downloading packages from some GitHub repository... (and I completely understand there is some kind of a delay, just trying to avoid having to poll both channels to see when we can update) |
The publishing workflow was broken and they seem to have fixed it in #520, so I think it's just a matter of them creating a 1.6.1 release now. |
It's out now 🙂 |
indeed ! aforementioned temporal issue with the release is now fixed, and v1.6.1 version of the library is now out. This marks a big milestone, and again i would like to thank you all for your patience here ! Marking this issue as closed :) |
Error when attempting to install snowflake-sqlalchemy with sqlalchemy 2.0. Error:
snowflake-sqlalchemy 1.4.4 requires sqlalchemy<2.0.0,>=1.4.0, but you have sqlalchemy 2.0.1 which is incompatible.
Version 1.4.1 release notes say snowflake-sqlalchemy is now SQLAlchemy 2.0 compatible.
snowflake-sqlalchemy/setup.cfg
Line 50 in 7c8effd
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
Python 3.8.16
What operating system and processor architecture are you using?
macOS-10.16-x86_64-i386-64bit
What are the component versions in the environment (
pip freeze
)?asn1crypto==1.5.1
certifi @ file:///private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_477u68wvzm/croot/certifi_1671487773341/work/certifi
cffi==1.15.1
charset-normalizer==2.1.1
cryptography==38.0.4
filelock==3.9.0
greenlet==2.0.2
idna==3.4
oscrypto==1.3.0
pycparser==2.21
pycryptodomex==3.17
PyJWT==2.6.0
pyOpenSSL==22.1.0
pytz==2022.7.1
requests==2.28.2
snowflake-connector-python==2.9.0
SQLAlchemy==2.0.1
typing_extensions==4.4.0
urllib3==1.26.14
What did you do?
pip install snowflake-sqlalchemy
What did you expect to see?
Successfully installed snowflake-sqlalchemy-1.4.4
Can you set logging to DEBUG and collect the logs?
The text was updated successfully, but these errors were encountered: