Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump min version of amazon-provider related dependencies #36660

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 8, 2024

This is a regular bump of Amazon-provider related dependencies. The way how botocore releases are done, they are putting a lot of strain on pip to resolve the right set of dependencies, including long backtracking, when there are too man versions available.

Therefore, from time to time, we are bumping minimum version of Amazon-related dependencies to limit the impact frequent releases of boto and botocore has. Also it is generally fine to update min version of dependencies for providers because at the very least users can still use previously released providers in case they have problem with those dependencies, also many of the updated dependencies contain fixes and feature we implicitly depend on and bumping them regulary is a good way to make sure all the functionalities of the Amazon provider are working as expected.

Another reason for the bump is that as of 1.33 version botocore and boto version stopped being shifted by 3 (previously boto3 1.28 was the version corresponding to botocore 1.31). As of version 1.33 this problem has been solved. See boto/boto3#2702

Watchtower min version is bumped to version 3 (which is 12 months old even if before we opted for much older (more than 2 years old) and again if users want to use older version of watchtower, they can opt for previous provider version.

This change saves 5-6 minutes of backtracking when pip try to find the right version of dependencies when upgrading to newer version.

Extracted from #36537


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk force-pushed the update-amazon-provider-dependencies branch from 7a4b779 to de452ae Compare January 8, 2024 18:00
This is a regular bump of Amazon-provider related dependencies.
The way how botocore releases are done, they are putting a lot of
strain on `pip` to resolve the right set of dependencies, including
long backtracking, when there are too man versions available.

Therefore, from time to time, we are bumping minimum version of
Amazon-related dependencies to limit the impact frequent releases
of boto and botocore has. Also it is generally fine to update min
version of dependencies for providers because at the very least
users can still use previously released providers in case they
have problem with those dependencies, also many of the updated
dependencies contain fixes and feature we implicitly depend on and
bumping them regulary is a good way to make sure all the functionalities
of the Amazon provider are working as expected.

Another reason for the bump is that as of 1.33 version botocore and
boto version stopped being shifted by 3 (previously boto3 1.28 was
the version corresponding to botocore 1.31). As of version 1.33 this
problem has been solved. See boto/boto3#2702

Watchtower min version is bumped to version 3 (which is 12 months old
even if before we opted for much older (more than 2 years old) and again
if users want to use older version of watchtower, they can opt for
previous provider version.

This change saves 5-6 minutes of backtracking when `pip` try to
find the right version of dependencies when upgrading to newer version.

Extracted from apache#36537
@potiuk potiuk force-pushed the update-amazon-provider-dependencies branch from de452ae to f7a7b43 Compare January 8, 2024 18:01
@ferruzzi
Copy link
Contributor

ferruzzi commented Jan 8, 2024

Looks like CI failures, but feel free to merge after those are sorted

@potiuk potiuk merged commit 298c37d into apache:main Jan 8, 2024
78 checks passed
@potiuk potiuk deleted the update-amazon-provider-dependencies branch January 8, 2024 19:49
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jan 10, 2024
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.1 milestone Jan 10, 2024
ephraimbuddy pushed a commit that referenced this pull request Jan 11, 2024
This is a regular bump of Amazon-provider related dependencies.
The way how botocore releases are done, they are putting a lot of
strain on `pip` to resolve the right set of dependencies, including
long backtracking, when there are too man versions available.

Therefore, from time to time, we are bumping minimum version of
Amazon-related dependencies to limit the impact frequent releases
of boto and botocore has. Also it is generally fine to update min
version of dependencies for providers because at the very least
users can still use previously released providers in case they
have problem with those dependencies, also many of the updated
dependencies contain fixes and feature we implicitly depend on and
bumping them regulary is a good way to make sure all the functionalities
of the Amazon provider are working as expected.

Another reason for the bump is that as of 1.33 version botocore and
boto version stopped being shifted by 3 (previously boto3 1.28 was
the version corresponding to botocore 1.31). As of version 1.33 this
problem has been solved. See boto/boto3#2702

Watchtower min version is bumped to version 3 (which is 12 months old
even if before we opted for much older (more than 2 years old) and again
if users want to use older version of watchtower, they can opt for
previous provider version.

This change saves 5-6 minutes of backtracking when `pip` try to
find the right version of dependencies when upgrading to newer version.

Extracted from #36537

(cherry picked from commit 298c37d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants