Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

fix airflow instrall per: https://github.com/apache/airflow/issues/11965#issuecomment-719488558 #100

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

julienledem
Copy link
Member

@julienledem julienledem commented Oct 30, 2020

Ci fails at the moment
https://app.circleci.com/pipelines/github/MarquezProject/marquez-airflow/514/workflows/8800fdec-fe9b-4dd7-a152-e73497e5fea6/jobs/1176/parallel-runs/0/steps/0-103

#!/bin/bash -eo pipefail
airflow initdb
Traceback (most recent call last):
  File "/home/circleci/.local/bin/airflow", line 26, in <module>
    from airflow.bin.cli import CLIFactory
  File "/home/circleci/.local/lib/python3.6/site-packages/airflow/bin/cli.py", line 94, in <module>
    api_module = import_module(conf.get('cli', 'api_client'))  # type: Any
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/circleci/.local/lib/python3.6/site-packages/airflow/api/client/local_client.py", line 24, in <module>
    from airflow.api.common.experimental import delete_dag
  File "/home/circleci/.local/lib/python3.6/site-packages/airflow/api/common/experimental/delete_dag.py", line 26, in <module>
    from airflow.models.serialized_dag import SerializedDagModel
  File "/home/circleci/.local/lib/python3.6/site-packages/airflow/models/serialized_dag.py", line 35, in <module>
    from airflow.serialization.serialized_objects import SerializedDAG
  File "/home/circleci/.local/lib/python3.6/site-packages/airflow/serialization/serialized_objects.py", line 28, in <module>
    import cattr
  File "/home/circleci/.local/lib/python3.6/site-packages/cattr/__init__.py", line 1, in <module>
    from .converters import Converter, GenConverter, UnstructureStrategy
  File "/home/circleci/.local/lib/python3.6/site-packages/cattr/converters.py", line 16, in <module>
    from attr import fields, resolve_types
ImportError: cannot import name 'resolve_types'


Exited with code exit status 1

Signed-off-by: Julien Le Dem [email protected]

@codecov
Copy link

codecov bot commented Oct 30, 2020

Codecov Report

Merging #100 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   78.68%   78.68%           
=======================================
  Files          11       11           
  Lines         610      610           
=======================================
  Hits          480      480           
  Misses        130      130           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 404635f...674cdd3. Read the comment docs.

Copy link
Member

@wslulciuc wslulciuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@julienledem julienledem merged commit 3b9dfa1 into main Oct 30, 2020
@julienledem julienledem deleted the fix_airflow branch October 30, 2020 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants