Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Apr 16, 2023

Pytest collection has been extracted recently to a separate job and SUSPENDED_PROVIDERS_FOLDERS variable was not set in the new job - which causes suspended provider tests being attempted by pytest collection, leading to import errors when suspended providers have some dependencies removed from our image.


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

Pytest collection has been extracted recently to a separate job
and SUSPENDED_PROVIDERS_FOLDERS variable was not set in the new
job - which causes suspended provider tests being attempted by
pytest collection, leading to import errors when suspended providers
have some dependencies removed from our image.
@potiuk
Copy link
Member Author

potiuk commented Apr 16, 2023

I found that the variable was missing in the collection job in #30667

@potiuk potiuk merged commit 3af8c60 into apache:main Apr 16, 2023
@potiuk potiuk deleted the add-suspended-providers-to-pytest-collection-job branch April 16, 2023 16:13
wookiist pushed a commit to wookiist/airflow that referenced this pull request Apr 19, 2023
Pytest collection has been extracted recently to a separate job
and SUSPENDED_PROVIDERS_FOLDERS variable was not set in the new
job - which causes suspended provider tests being attempted by
pytest collection, leading to import errors when suspended providers
have some dependencies removed from our image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants