Skip to content

Conversation

@Taragolis
Copy link
Contributor

@Taragolis Taragolis commented Jun 8, 2024

Follow up: #40134, we don't need to fallback to the importlib_metadata in case if we only need to grab a version of distribution package.


^ 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.

@Taragolis Taragolis added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Jun 8, 2024
@Taragolis Taragolis requested review from hussein-awala and potiuk June 8, 2024 11:25
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Jun 8, 2024
Copy link
Contributor

@eladkal eladkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better!

@potiuk
Copy link
Member

potiuk commented Jun 8, 2024

Follow up: #40134, we don't need to fallback to the importlib_metadata in case if we only need to grab a version of distribution package.

True

@potiuk potiuk force-pushed the aws-provider-avoid-fallback-importlib-metadata branch from 6ddcfce to 470380c Compare June 8, 2024 12:28
@eladkal eladkal merged commit 15178b6 into apache:main Jun 8, 2024
@ferruzzi
Copy link
Contributor

@eladkal @Taragolis Sorry I didn't chime in, I've been away on a road trip. Just wanted to say thanks for fixing my goof on that. This is indeed a nicer solution. Thanks.

romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
…on (apache#40137)

* Use stdlib `importlib.metadata` for retrieve `botocore` package version

* Fixup typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants