Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set-up python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.11.9

- name: Create cache
id: cache
Expand All @@ -34,4 +34,4 @@ jobs:
- name: Make package
run: |
python setup.py sdist bdist_wheel
twine check dist/*
twine check dist/*
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apache-airflow==2.2.5
apache-airflow-providers-google==6.7.0
apache-airflow==2.10.5
apache-airflow-providers-google==15.1.0
# Testing
pytest==5.3.5
pytest==8.3.5
flake8==4.0.1
# Versioning and release
versioneer==0.18
twine==5.0.0
wheel==0.34.2
wheel==0.34.2
8 changes: 7 additions & 1 deletion unaflow/dags/trigger_dag/trigger_dag_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
from typing import Dict, Optional, Sequence, Union

from airflow.models.taskmixin import TaskMixin
from airflow.models.baseoperator import TaskStateChangeCallback

try:
from airflow.models.abstractoperator import TaskStateChangeCallback
except ImportError:
# For Airflow versions < 2.7.0
from airflow.models.baseoperator import TaskStateChangeCallback

from airflow.sensors.base import BaseSensorOperator
from airflow.utils import timezone

Expand Down