datahub icon indicating copy to clipboard operation
datahub copied to clipboard

Python package is incompatibility with Airflow 2.3.0

Open Tonkonozhenko opened this issue 2 years ago • 8 comments

Describe the bug sqlalchemy==1.3.24 is incompatible with Airflow 2.3.0 (1), (2)

Tonkonozhenko avatar May 03 '22 18:05 Tonkonozhenko

Facing the same on an attempt to install acryl-datahub[athena] and acryl-datahub[vertica] >=0.8.36 together with apache-airflow 2.3.*. Please bump SQLAlchemy to 1.4.*

pipenv.patched.notpip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('sqlalchemy<1.4.10,>=1.4'), parent=LinkCandidate('https://files.pythonhosted.org/packages/9f/77/f4670a54833734f57959e38f6331a28e9cf676762d357163dfa7fd5aa8b6/apache_airflow-2.3.1-py3-none-any.whl#sha256=75e309cb88e941012888dd09909c4285a314e5fa14d16b70e432d240b5883f0c (from https://pypi.org/simple/apache-airflow/) (requires-python:~=3.7)')), RequirementInformation(requirement=SpecifierRequirement('SQLAlchemy<1.5'), parent=LinkCandidate('https://files.pythonhosted.org/packages/55/a2/7a068ebd489912602c64238e21a787760fec402cf748cd877d4e532da9d1/Flask_AppBuilder-3.4.5-py3-none-any.whl#sha256=7a4c9981bc030f29e4071edd173e9fe8cfcdbe7febefe141160b6783a0cc871a (from https://pypi.org/simple/flask-appbuilder/) (requires-python:~=3.6)')), RequirementInformation(requirement=SpecifierRequirement('sqlalchemy==1.3.24; extra == "athena"'), parent=ExtrasCandidate(base=LinkCandidate('https://files.pythonhosted.org/packages/bf/f5/5c4a3677905c01d4c920e1aabd5ceb5b97a87c927f379670bbcc160289e9/acryl_datahub-0.8.36-py3-none-any.whl#sha256=9a42d40cfc1cfd46db98964ef1c4e21ba78ef8ba51f1b92908fcede7cd9a95c5 (from https://pypi.org/simple/acryl-datahub/) (requires-python:>=3.6)'), extras=frozenset({'athena', 'datahub-rest', 's3', 'glue'})))]
pipenv.patched.notpip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('sqlalchemy<1.4.10,>=1.4'), parent=LinkCandidate('https://files.pythonhosted.org/packages/9f/77/f4670a54833734f57959e38f6331a28e9cf676762d357163dfa7fd5aa8b6/apache_airflow-2.3.1-py3-none-any.whl#sha256=75e309cb88e941012888dd09909c4285a314e5fa14d16b70e432d240b5883f0c (from https://pypi.org/simple/apache-airflow/) (requires-python:~=3.7)')), RequirementInformation(requirement=SpecifierRequirement('SQLAlchemy<1.5'), parent=LinkCandidate('https://files.pythonhosted.org/packages/55/a2/7a068ebd489912602c64238e21a787760fec402cf748cd877d4e532da9d1/Flask_AppBuilder-3.4.5-py3-none-any.whl#sha256=7a4c9981bc030f29e4071edd173e9fe8cfcdbe7febefe141160b6783a0cc871a (from https://pypi.org/simple/flask-appbuilder/) (requires-python:~=3.6)')), RequirementInformation(requirement=SpecifierRequirement('sqlalchemy==1.3.24; extra == "vertica"'), parent=ExtrasCandidate(base=LinkCandidate('https://files.pythonhosted.org/packages/bf/f5/5c4a3677905c01d4c920e1aabd5ceb5b97a87c927f379670bbcc160289e9/acryl_datahub-0.8.36-py3-none-any.whl#sha256=9a42d40cfc1cfd46db98964ef1c4e21ba78ef8ba51f1b92908fcede7cd9a95c5 (from https://pypi.org/simple/acryl-datahub/) (requires-python:>=3.6)'), extras=frozenset({'s3', 'glue', 'datahub-rest', 'vertica'})))]

Ladjack7 avatar Jun 06 '22 16:06 Ladjack7

is it possible to up version pin ? this one is stopping us to move forward with airflow (tend to stick on airflow:2.2.5)

KulykDmytro avatar Jun 13 '22 23:06 KulykDmytro

Due to rollback via #5289 @treff7es please reopen this one

KulykDmytro avatar Jul 03 '22 15:07 KulykDmytro

This is screwing up my current Airflow installs, need to resolve the rollback

vincentkoc avatar Jul 27 '22 13:07 vincentkoc

This is screwing up my current Airflow installs, need to resolve the rollback

the only way is to use apache-airflow:2.2.5 or try to loose airflow-to-sqlalchemy dependency

KulykDmytro avatar Aug 01 '22 19:08 KulykDmytro

Hi, we are using Airflow 2.3 and we are unable to install the Python package acryl-datahub[bigquery]. Any plan to upgrade the dependency sqlalchemy? Thanks!

mirobertod avatar Aug 19 '22 13:08 mirobertod

Hello,

Airflow rolls back to older version when we install datahub bigquery plugin. if anyone has a workaround to enable bigquery and not downgrade airflow. Please let me know.

colinfernandes87 avatar Aug 19 '22 14:08 colinfernandes87

This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io

github-actions[bot] avatar Sep 19 '22 02:09 github-actions[bot]

please do not close, this is still an issue.

shicholas avatar Sep 25 '22 14:09 shicholas

Hey with latest datahub release i.e. 0.8.45 still we are getting same incompatibility issue with sqlalchemy

Vimpy avatar Sep 28 '22 09:09 Vimpy

Airflow 2.4.1 has been released - same stuff

KulykDmytro avatar Oct 12 '22 15:10 KulykDmytro

I'm facing the same error. I cannot use the plugin on our Airflow 2.3 because of this. Could you provide some ETA for this?

pedro-iatzky avatar Oct 13 '22 13:10 pedro-iatzky

Update here: I'm working on loosening our SQLAlchemy dependency in https://github.com/datahub-project/datahub/pull/6204.

hsheth2 avatar Oct 14 '22 07:10 hsheth2

Hi, Do we have an ETA for this fix?

tommy-watts-depop avatar Oct 27 '22 08:10 tommy-watts-depop