Skip to content

Properly classify google_vendor package to google provider#30659

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:remove-warnings-from-classifying-google-vendor
Apr 15, 2023
Merged

Properly classify google_vendor package to google provider#30659
potiuk merged 1 commit into
apache:mainfrom
potiuk:remove-warnings-from-classifying-google-vendor

Conversation

@potiuk

@potiuk potiuk commented Apr 15, 2023

Copy link
Copy Markdown
Member

We've recently added google_venor package to vendor-in ads library, and we had to do it outside of regular google provider package, because internally the library assumed our google package is top level package when discovering the right relative imports (#30544).

This confused the pre-commit that updates provider depedencies to not recognise the package and print warnings about bad classification.

Special case handling will classify it to google provider.


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

We've recently added google_venor package to vendor-in ads library,
and we had to do it outside of regular google provider package,
because internally the library assumed our google package is top
level package when discovering the right relative imports (apache#30544).

This confused the pre-commit that updates provider depedencies to
not recognise the package and print warnings about bad classification.

Special case handling will classify it to google provider.
@potiuk potiuk added this to the Airflow 2.6.0 milestone Apr 15, 2023
@potiuk potiuk merged commit d87eefc into apache:main Apr 15, 2023
@potiuk potiuk deleted the remove-warnings-from-classifying-google-vendor branch April 15, 2023 12:45
wookiist pushed a commit to wookiist/airflow that referenced this pull request Apr 19, 2023
)

We've recently added google_venor package to vendor-in ads library,
and we had to do it outside of regular google provider package,
because internally the library assumed our google package is top
level package when discovering the right relative imports (apache#30544).

This confused the pre-commit that updates provider depedencies to
not recognise the package and print warnings about bad classification.

Special case handling will classify it to google provider.
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 21, 2023
ephraimbuddy pushed a commit that referenced this pull request Apr 21, 2023
We've recently added google_venor package to vendor-in ads library,
and we had to do it outside of regular google provider package,
because internally the library assumed our google package is top
level package when discovering the right relative imports (#30544).

This confused the pre-commit that updates provider depedencies to
not recognise the package and print warnings about bad classification.

Special case handling will classify it to google provider.

(cherry picked from commit d87eefc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools 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.

4 participants