-
Notifications
You must be signed in to change notification settings - Fork 93
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
Make Kedro Compatible with Airflow 2.4.2 #73
Comments
@merelcht @deepyaman I've created a PR that seems to pass all required tests for Kedro Once Merged - It appears that together will address all Airflow / Kedro compatibility issues. |
I am curious if this happens for pip too? Does it stops you completely from installing the packages? I expect the older version of attrs will still work but it happens that kedro pinned a older version. |
@noklam It should give the same error with pip - Quick Test gives the following error
|
Description
Airflow is one of the primary deployment solutions for Kedro
Airflow 2.4.2 has a dependency of attrs>=22.1.0
Kedro requirements uses attrs~=21.3
https://github.com/kedro-org/kedro/blob/c40873a5d4adfbc7b5970cb8b0c1133d53463bbf/dependency/requirements.txt#L2
Context
Unable to install Kedro & Airflow using conda in the same environment
Steps to Reproduce
Encountered problems while solving:
Expected Result
With just the change of attrs - from attrs~=21.3 to "attrs >=22.1.0,<22.2"
Kedro, Airflow and MLFlow are compatible
mamba create -n kedro-airflow "python=3.7.12" "anyconfig >=0.10.0,<0.11.0" "attrs >=21.3,<22.2" "cachetools >=4.1,<5.0" "click <9.0" "cookiecutter >=2.1.1,<3.0" "dynaconf >=3.1.2, <4.0" "fsspec >=2021.4,<=2022.5.0" "gitpython >=3.0,<4.0" "importlib_metadata >=3.6" "importlib_resources >=1.3" "jmespath >=0.9.5,<1.0" "jupyter_client >=5.1,<7.0" "pip-tools >=6.5,<7.0" "pluggy >=1.0,<1.1" "python >=3.7,<3.11" "python-json-logger >=2.0.0,<3.0.0" "pyyaml >=4.2,<7.0" "rich >=12.0,<13.0" "rope >=0.21.0,<0.22.0" "setuptools >=38.0" "toml >=0.10,<0.11" "toposort >=1.5,<2.0" "airflow=2.4.2" "mlflow >=1.0.0,<2.0.0"
Actual Result
Draft Pull for conda-feedstock shows build is possible - Restoring compatibility with Airflow & MLFlow
conda-forge/kedro-feedstock#25
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
The text was updated successfully, but these errors were encountered: