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
{{ message }}
Repository navigation
Commit cc4519f
Browse filesBrowse the repository at this point in the historyBrowse files
httpx has stalled: fixes that landed in httpx2 (a fork of httpx 0.28.1)
have not shipped upstream, and starlette has already migrated, so FastAPI
following is a matter of time. Moving the Execution API client now keeps
the SDK on a maintained HTTP stack.
Objects do not cross the httpx/httpx2 boundary, so the in-process
Execution API transports move with the client that consumes them; the
rest of airflow-core stays on httpx and migrates separately.
related: apache#70522
Copy file name to clipboardExpand all lines: airflow-core/pyproject.toml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,9 @@ dependencies = [
103
103
# parsed with no field-count or field-size bound at all.
104
104
"starlette>=1.3.1",
105
105
"httpx>=0.25.0",
106
+
# Only for InProcessExecutionAPI's transports, which feed httpx2-based Task SDK clients.
107
+
# The rest of airflow-core is still on httpx; tracked at https://github.com/apache/airflow/issues/70522
# Unless required by applicable law or agreed to in writing,
12
+
# software distributed under the License is distributed on an
13
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+
# KIND, either express or implied. See the License for the
15
+
# specific language governing permissions and limitations
16
+
# under the License.
17
+
---
18
+
id: no-httpx-import
19
+
language: python
20
+
severity: error
21
+
message: Import 'httpx2' instead of 'httpx' -- see https://github.com/apache/airflow/issues/70522
22
+
note: >-
23
+
The Task SDK's Execution API client is an 'httpx2.Client'. Requests, responses,
24
+
transports and exceptions do not cross the 'httpx'/'httpx2' boundary, so a stray
25
+
'httpx' import here silently breaks mocking, retries and error handling.
0 commit comments