diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 846872bff..278265715 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,7 +93,7 @@ jobs: hatch run tests.py${{ matrix.python-version }}-${{ matrix.airflow-version }}:test-cov - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-unit-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -177,7 +177,7 @@ jobs: POSTGRES_PORT: 5432 - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-integration-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -248,7 +248,7 @@ jobs: POSTGRES_PORT: 5432 - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-integration-expensive-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -315,7 +315,7 @@ jobs: POSTGRES_PORT: 5432 - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-integration-sqlite-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -391,7 +391,7 @@ jobs: POSTGRES_PORT: 5432 - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-integration-dbt-1-5-4-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -534,7 +534,7 @@ jobs: POSTGRES_PORT: 5432 - name: Upload coverage to Github - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: coverage-integration-kubernetes-test-${{ matrix.python-version }}-${{ matrix.airflow-version }} path: .coverage @@ -559,7 +559,7 @@ jobs: run: | pip3 install coverage - name: Download all coverage artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: path: ./coverage - name: Combine coverage diff --git a/pyproject.toml b/pyproject.toml index 2087b3f32..bb9642b04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ "importlib-metadata; python_version < '3.8'", "Jinja2>=3.0.0", "msgpack", - "packaging", + "packaging>=22.0", "pydantic>=1.10.0", "typing-extensions; python_version < '3.8'", "virtualenv", @@ -86,7 +86,7 @@ docs = [ "apache-airflow-providers-cncf-kubernetes>=5.1.1", ] tests = [ - "packaging", + "packaging>=22.0", "pytest>=6.0", "pytest-split", "pytest-dotenv",