Skip to content

Commit 9110b93

Browse files
author
Natanel Rudyuklakir
committed
merged
2 parents 889db8c + 7c01e0b commit 9110b93

File tree

324 files changed

+17210
-13218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+17210
-13218
lines changed

.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ manifests export-ignore
1212
newsfragments export-ignore
1313
scripts export-ignore
1414

15-
Dockerfile.ci export-ignore
15+
.github export-ignore
16+
1617
CONTRIBUTING.rst export-ignore
1718
ISSUE_TRIAGE_PROCESS.rst export-ignore
18-
.github/PULL_REQUEST_TEMPLATE.md export-ignore
19+
20+
AGENTS.md export-ignore
21+
SKILLS.md export-ignore
22+
CLAUDE.md export-ignore
1923

2024
.asf.yaml export-ignore
2125
.bash_completion export-ignore

.github/ISSUE_TEMPLATE/4-airflow_helmchart_bug_report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ body:
3737
What Apache Airflow Helm Chart version are you using?
3838
multiple: false
3939
options:
40-
- "1.18.0 (latest released)"
40+
- "1.19.0 (latest released)"
41+
- "1.18.0"
4142
- "1.17.0"
4243
- "1.16.0"
4344
- "1.15.0"

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 -->
12
<!--
23
Thank you for contributing!
34

.github/SECURITY.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
1-
<!--
2-
Licensed to the Apache Software Foundation (ASF) under one
3-
or more contributor license agreements. See the NOTICE file
4-
distributed with this work for additional information
5-
regarding copyright ownership. The ASF licenses this file
6-
to you under the Apache License, Version 2.0 (the
7-
"License"); you may not use this file except in compliance
8-
with the License. You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing,
13-
software distributed under the License is distributed on an
14-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
KIND, either express or implied. See the License for the
16-
specific language governing permissions and limitations
17-
under the License.
18-
-->
1+
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 -->
192

203
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
214
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

.github/workflows/prod-image-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@ jobs:
138138
shell: bash
139139
run: rm -fv ./dist/* ./docker-context-files/*
140140
if: inputs.upload-package-artifact == 'true'
141+
- name: "Install prek"
142+
uses: ./.github/actions/install-prek
143+
id: prek
144+
with:
145+
python-version: ${{ matrix.python-version }}
146+
platform: ${{ inputs.platform }}
147+
save-cache: false
141148
- name: "Install Breeze"
142149
uses: ./.github/actions/breeze
143150
if: inputs.upload-package-artifact == 'true'

.github/workflows/publish-docs-to-s3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231
breeze ci-image build ||
232232
docker buildx build --load --builder default --progress=auto --pull
233233
--build-arg AIRFLOW_EXTRAS=devel-ci --build-arg AIRFLOW_PRE_CACHED_PIP_PACKAGES=false
234-
--build-arg AIRFLOW_USE_UV=true --build-arg UV_HTTP_TIMEOUT=300
234+
--build-arg AIRFLOW_USE_UV=true
235235
--build-arg BUILD_PROGRESS=auto --build-arg INSTALL_MYSQL_CLIENT_TYPE=mariadb
236236
--build-arg VERSION_SUFFIX_FOR_PYPI=dev0
237237
-t ghcr.io/apache/airflow/main/ci/python3.9:latest --target main .

.pre-commit-config.yaml

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ repos:
5454
^\.github/.*\.md$|
5555
^airflow-core/tests/system/README\.md$
5656
exclude:
57-
(?x)
58-
.github/PULL_REQUEST_TEMPLATE\.md$
57+
(?x)
58+
.github/PULL_REQUEST_TEMPLATE\.md$
5959
args:
6060
- "--maxlevel"
6161
- "2"
@@ -67,7 +67,8 @@ repos:
6767
files: \.sql$
6868
exclude: |
6969
(?x)
70-
^\.github/
70+
^\.github/|
71+
^scripts/ci/license-templates/
7172
args:
7273
- --comment-style
7374
- "/*||*/"
@@ -76,14 +77,18 @@ repos:
7677
- --fuzzy-match-generates-todo
7778
- id: insert-license
7879
name: Add license for all RST files
79-
exclude: ^\.github/.*$|newsfragments/.*\.rst$
8080
args:
8181
- --comment-style
8282
- "||"
8383
- --license-filepath
8484
- scripts/ci/license-templates/LICENSE.rst
8585
- --fuzzy-match-generates-todo
8686
files: \.rst$
87+
exclude:
88+
(?x)
89+
^\.github/.*$|
90+
newsfragments/.*\.rst$|
91+
^scripts/ci/license-templates/
8792
- id: insert-license
8893
name: Add license for CSS/JS/JSX/PUML/TS/TSX
8994
files: \.(css|jsx?|puml|tsx?)$
@@ -164,18 +169,51 @@ repos:
164169
- --fuzzy-match-generates-todo
165170
exclude:
166171
(?x)
167-
.github/PULL_REQUEST_TEMPLATE\.md$
172+
^\.github/.*\.md$|
173+
^\.claude/|
174+
AGENTS\.md$|
175+
CLAUDE\.md$|
176+
SKILLS\.md$|
177+
^scripts/ci/license-templates/
178+
- id: insert-license
179+
name: Add short license for agentic Markdown files
180+
args:
181+
- --comment-style
182+
- "||"
183+
- --license-filepath
184+
- scripts/ci/license-templates/SHORT_LICENSE.md
185+
- --fuzzy-match-generates-todo
186+
files:
187+
(?x)
188+
^\.github/.*\.md$|
189+
^\.claude/|
190+
AGENTS\.md$|
191+
CLAUDE\.md$|
192+
SKILLS\.md$
193+
exclude:
194+
^scripts/ci/license-templates/
168195
- id: insert-license
169196
name: Add license for all other files
170-
exclude: ^\.github/.*$
171197
args:
172198
- --comment-style
173199
- "|#|"
174200
- --license-filepath
175201
- scripts/ci/license-templates/LICENSE.txt
176202
- --fuzzy-match-generates-todo
177-
files: >
178-
\.cfg$|\.conf$|\.ini$|\.ldif$|\.properties$|\.service$|\.tf$|Dockerfile.*$
203+
files: |
204+
(?x)
205+
\.cfg$|
206+
\.conf$|
207+
\.ini$|
208+
\.ldif$|
209+
\.properties$|
210+
\.service$|
211+
\.tf$|
212+
Dockerfile.*$
213+
exclude:
214+
(?x)
215+
^\.github/.*$|
216+
^scripts/ci/license-templates/
179217
- repo: local
180218
hooks:
181219
- id: check-min-python-version
@@ -576,6 +614,8 @@ repos:
576614
^providers/\.pre-commit-config\.yaml$|
577615
^providers/amazon/src/airflow/providers/amazon/aws/hooks/emr\.py$|
578616
^providers/amazon/src/airflow/providers/amazon/aws/operators/emr\.py$|
617+
^providers/.*/get_provider_info\.py$|
618+
^providers/.*/provider\.yaml$|
579619
^providers/apache/cassandra/src/airflow/providers/apache/cassandra/hooks/cassandra\.py$|
580620
^providers/apache/hdfs/docs/connections\.rst$|
581621
^providers/apache/hive/src/airflow/providers/apache/hive/operators/hive_stats\.py$|

AGENTS.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
<!--
2-
Licensed to the Apache Software Foundation (ASF) under one
3-
or more contributor license agreements. See the NOTICE file
4-
distributed with this work for additional information
5-
regarding copyright ownership. The ASF licenses this file
6-
to you under the Apache License, Version 2.0 (the
7-
"License"); you may not use this file except in compliance
8-
with the License. You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing,
13-
software distributed under the License is distributed on an
14-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
KIND, either express or implied. See the License for the
16-
specific language governing permissions and limitations
17-
under the License.
18-
-->
19-
1+
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 -->
202
# AGENTS instructions
213

224
The main developer documentation lives in the `contributing-docs` directory. The following points summarise

Dockerfile

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# syntax=docker/dockerfile:1.4
2-
# Licensed to the Apache Software Foundation (ASF) under one or more
3-
# contributor license agreements. See the NOTICE file distributed with
4-
# this work for additional information regarding copyright ownership.
5-
# The ASF licenses this file to You under the Apache License, Version 2.0
6-
# (the "License"); you may not use this file except in compliance with
7-
# the License. You may obtain a copy of the License at
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
89
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10+
# http://www.apache.org/licenses/LICENSE-2.0
1011
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
1618
#
1719
# THIS DOCKERFILE IS INTENDED FOR PRODUCTION USE AND DEPLOYMENT.
1820
# NOTE! IT IS ALPHA-QUALITY FOR NOW - WE ARE IN A PROCESS OF TESTING IT
@@ -73,7 +75,6 @@ ARG AIRFLOW_PIP_VERSION=26.0.1
7375
# ARG AIRFLOW_PIP_VERSION="git+https://github.com/pypa/pip.git@main"
7476
ARG AIRFLOW_UV_VERSION=0.10.2
7577
ARG AIRFLOW_USE_UV="false"
76-
ARG UV_HTTP_TIMEOUT="300"
7778
ARG AIRFLOW_IMAGE_REPOSITORY="https://github.com/apache/airflow"
7879
ARG AIRFLOW_IMAGE_README_URL="https://raw.githubusercontent.com/apache/airflow/main/docs/docker-stack/README.md"
7980

@@ -1832,12 +1833,10 @@ ARG ADDITIONAL_PIP_INSTALL_FLAGS=""
18321833
ARG AIRFLOW_PIP_VERSION
18331834
ARG AIRFLOW_UV_VERSION
18341835
ARG AIRFLOW_USE_UV
1835-
ARG UV_HTTP_TIMEOUT
18361836
ARG INCLUDE_PRE_RELEASE="false"
18371837

18381838
ENV AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \
18391839
AIRFLOW_UV_VERSION=${AIRFLOW_UV_VERSION} \
1840-
UV_HTTP_TIMEOUT=${UV_HTTP_TIMEOUT} \
18411840
AIRFLOW_USE_UV=${AIRFLOW_USE_UV} \
18421841
AIRFLOW_VERSION=${AIRFLOW_VERSION} \
18431842
AIRFLOW_INSTALLATION_METHOD=${AIRFLOW_INSTALLATION_METHOD} \

Dockerfile.ci

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# syntax=docker/dockerfile:1.4
2-
# Licensed to the Apache Software Foundation (ASF) under one or more
3-
# contributor license agreements. See the NOTICE file distributed with
4-
# this work for additional information regarding copyright ownership.
5-
# The ASF licenses this file to You under the Apache License, Version 2.0
6-
# (the "License"); you may not use this file except in compliance with
7-
# the License. You may obtain a copy of the License at
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
89
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10+
# http://www.apache.org/licenses/LICENSE-2.0
1011
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
1618
#
1719
# WARNING: THIS DOCKERFILE IS NOT INTENDED FOR PRODUCTION USE OR DEPLOYMENT.
1820
#
@@ -1655,7 +1657,6 @@ ARG DEFAULT_CONSTRAINTS_BRANCH="constraints-main"
16551657
# It can also be overwritten manually by setting the AIRFLOW_CI_BUILD_EPOCH environment variable.
16561658
ARG AIRFLOW_CI_BUILD_EPOCH="10"
16571659
# Setup PIP
1658-
ARG UV_HTTP_TIMEOUT="300"
16591660
# By default PIP has progress bar but you can disable it.
16601661
ARG PIP_PROGRESS_BAR="on"
16611662
# Optimizing installation of Cassandra driver (in case there are no prebuilt wheels which is the
@@ -1686,7 +1687,6 @@ ENV AIRFLOW_REPO=${AIRFLOW_REPO}\
16861687
AIRFLOW_PIP_VERSION=${AIRFLOW_PIP_VERSION} \
16871688
AIRFLOW_UV_VERSION=${AIRFLOW_UV_VERSION} \
16881689
AIRFLOW_USE_UV=${AIRFLOW_USE_UV} \
1689-
UV_HTTP_TIMEOUT=${UV_HTTP_TIMEOUT} \
16901690
UV_SYSTEM_PYTHON="true" \
16911691
UV_PROJECT_ENVIRONMENT="/usr/local" \
16921692
INSTALL_MYSQL_CLIENT="true" \

0 commit comments

Comments
 (0)