You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Since 2066f1f the git binary is missing from the datahub-ingestion-base images, making ingestions that import the gitpython module fail.
In 2066f1f the base image changed from python:3.10 to ubuntu:22.04. The Python image includes git, but the Ubuntu doesn't, so after upgrading to the latest 0.14 Datahub version ingestions started to fail.
datahub-actions image in versions 0.1.0 and 0.1.1 doesn't have git
base image: acryldata/datahub-ingestion-base:2066f1f
datahub-actions image in version <=0.0.18 does have git
base image: acryldata/datahub-ingestion-base:3903b17
Error message:
<class 'ImportError'>: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh(<full-path-to-git-executable>) All git commands will error until this is rectified. This initial message can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|silent|none|n|0: for no message or exception - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default) - error|e|exception|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet
To Reproduce
Steps to reproduce the behavior:
Get a Datahub deployment that uses a datahub-actions image with version >= 0.1.0
create an ingest job that imports the gitpython module
Run the job
Expected behavior gitis available on the path
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
Since 2066f1f the
git
binary is missing from thedatahub-ingestion-base
images, making ingestions that import thegitpython
module fail.In 2066f1f the base image changed from
python:3.10
toubuntu:22.04
. The Python image includesgit
, but the Ubuntu doesn't, so after upgrading to the latest 0.14 Datahub version ingestions started to fail.datahub-actions
image in versions 0.1.0 and 0.1.1 doesn't havegit
base image:
acryldata/datahub-ingestion-base:2066f1f
datahub-actions
image in version <=0.0.18 does have gitbase image:
acryldata/datahub-ingestion-base:3903b17
Error message:
To Reproduce
Steps to reproduce the behavior:
datahub-actions
image with version >= 0.1.0gitpython
moduleExpected behavior
git
is available on the pathScreenshots
The text was updated successfully, but these errors were encountered: