potiuk commented on a change in pull request #21825: URL: https://github.com/apache/airflow/pull/21825#discussion_r815318631
########## File path: dev/TRACKING_BACKTRACKING_ISSUES.md ########## @@ -0,0 +1,216 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<!-- START doctoc generated TOC please keep comment here to allow auto update --> +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* + +- [Backtracking issues context](#backtracking-issues-context) +- [What can we do about it?](#what-can-we-do-about-it) +- [How to detect it](#how-to-detect-it) +- [How to track the root cause](#how-to-track-the-root-cause) +- [Finding candidates manually](#finding-candidates-manually) + +# Backtracking issues context + +The `pip` tool we are using in Airflow has a long standing problem with backtracking kicking in sometimes +randomly. This is something we have very little control over, because the moment when backtracking kicks in +depends on how many versions of conflicting packages are released in `PyPI` and can change completely without +any change to Airflow. We have `constraint` mechanism to protect our users installing Released versions +and developers making "regular" PRs, however in `main` builds and in PRs that change setup.py, this +backtracking might lead to extremely long (many hours image builds and eventually cancelling the +image build jobs in CI. + +An example of such issue is described here: https://github.com/pypa/pip/issues/10924. Review comment: ```suggestion An example of such issue is described [here](https://github.com/pypa/pip/issues/10924). ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
