Repository navigation
Bugfix/fix latest pypi version check - #51039
Merged
jscheffl merged 2 commits intoMay 25, 2025
Merged
Conversation
jscheffl
requested review from
amoghrajesh,
jason810496 and
jedcunningham
as code owners
May 25, 2025 08:35
eladkal
approved these changes
May 25, 2025
Merged
Contributor
Backport failed to create: v3-0-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker eb7c346 v3-0-testThis should apply the commit to the v3-0-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
Contributor
Backport failed to create: v2-11-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker eb7c346 v2-11-testThis should apply the commit to the v2-11-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
jscheffl
added a commit
to jscheffl/airflow
that referenced
this pull request
May 25, 2025
* Fix version check from Pypi, requires user agent else raises HTTP 406 * Fix version check from Pypi, requires user agent else raises HTTP 406, also other cases in codebase (cherry picked from commit eb7c346) Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
jscheffl
added a commit
to jscheffl/airflow
that referenced
this pull request
May 25, 2025
… Fix version check from Pypi, requires user agent else raises HTTP 406\n\n* Fix version check from Pypi, requires user agent else raises HTTP 406, also other cases in codebase\n(cherry picked from commit eb7c346)\n\nCo-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
jscheffl
added a commit
that referenced
this pull request
May 25, 2025
dadonnelly316
pushed a commit
to dadonnelly316/airflow
that referenced
this pull request
May 26, 2025
* Fix version check from Pypi, requires user agent else raises HTTP 406 * Fix version check from Pypi, requires user agent else raises HTTP 406, also other cases in codebase
kaxil
pushed a commit
that referenced
this pull request
Jun 3, 2025
sanederchik
pushed a commit
to sanederchik/airflow
that referenced
this pull request
Jun 7, 2025
* Fix version check from Pypi, requires user agent else raises HTTP 406 * Fix version check from Pypi, requires user agent else raises HTTP 406, also other cases in codebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As of failed canary in https://github.com/apache/airflow/actions/runs/15233855670 and https://github.com/apache/airflow/actions/runs/15235553931 it seems Pypi.org is blocking requests w/o proper user agent.
This PR adds a user agent to all Python script calls. With this you get HTTP 200, else if this is missing HTTP 406.