`FYI`: Airflow Lineage Bundle Fails with version v...
# troubleshoot
n
`FYI`: Airflow Lineage Bundle Fails with version v0.8.32.6 on Acryldata/datahub...More details in ๐Ÿงต It works in
v0.8.32.5
so its not blocking...
Copy code
==================================== ERRORS ====================================
________________ ERROR collecting dags/dev/test_lineage_new.py _________________
ImportError while importing test module '<redacted>'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
dags/dev/test_lineage_new.py:19: in <module>
    from datahub_provider._lineage_core import (
/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/datahub_provider/_lineage_core.py:8: in <module>
    from datahub_provider.client.airflow_generator import AirflowGenerator
/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/datahub_provider/client/airflow_generator.py:10: in <module>
    from datahub.emitter.kafka_emitter import DatahubKafkaEmitter
/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/datahub/emitter/kafka_emitter.py:4: in <module>
    from confluent_kafka import SerializingProducer
E   ModuleNotFoundError: No module named 'confluent_kafka'
=============================== warnings summary ===============================
../../../../opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:148: 25 warnings
  /opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:148: PytestDeprecationWarning: <class 'pytest_black.BlackItem'> is not using a cooperative constructor and only takes {'parent', 'fspath'}.
  See <https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs> for more details.
    f"{self} is not using a cooperative constructor and only takes {set(known_kw)}.\n"

../../../../opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:678: 25 warnings
  /opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:678: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to BlackItem is deprecated. Please use the (path: pathlib.Path) argument instead.
  See <https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path>
    **kw,

../../../../opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:714
  /opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/_pytest/nodes.py:714: PytestWarning: BlackItem is an Item subclass and should not be a collector, however its bases File are collectors.
  Please split the Collectors and the Item into separate node types.
  Pytest Doc example: <https://docs.pytest.org/en/latest/example/nonpython.html>
  example pull request on a plugin: <https://github.com/asmeurer/pytest-flakes/pull/40/>
    PytestWarning,
d
Ahh, i think I know what is the problem. I will provide a fix soon.
๐Ÿ‘ 1
l
Hi @nutritious-bird-77396! The fix has been merged & will be included in the next release ๐Ÿ™‚ (cc: @early-lamp-41924)
thankyou 1
e
Hey Arun. Could you try with the latest 0.8.32.7 version?