-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When uploading the project to a remote git repository, the job fails because of an AttributeError related to the Repo class from dulwich package. Specifically, its latest version moves the stage attribute from the Repo class to the WorkTree class. A possible solution would be to replace line 96 in hooks/fs/git.py with
try:
repo.stage(str(f.relative_to(source)))
except AttributeError:
repo.get_worktree().stage(str(f.relative_to(source)))Airflow
- Version: 3.1.7
- Provider: AWS, GitHub
Dbt
- Version: 1.11.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working