Skip to content

Comments

Make it more obvious how to reproduce mypy failing when upgrading deps#31563

Merged
eladkal merged 1 commit intoapache:mainfrom
potiuk:better-message-when-failing-with-upgraded-deps
May 26, 2023
Merged

Make it more obvious how to reproduce mypy failing when upgrading deps#31563
eladkal merged 1 commit intoapache:mainfrom
potiuk:better-message-when-failing-with-upgraded-deps

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 26, 2023

Upgrading to newer dependencies in CI might trigger strange mypy errors. This PR adds better error description in such case, making it easier to reproduce by those who look at the error output.


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

Upgrading to newer dependencies in CI might trigger strange mypy
errors. This PR adds better error description in such case, making
it easier to reproduce by those who look at the error output.
@potiuk
Copy link
Member Author

potiuk commented May 26, 2023

This will be printed in CI now if it happens again on main or PR where dependencies get upgraded:

Screenshot 2023-05-26 at 04 53 31

Copy link
Contributor

@utkarsharma2 utkarsharma2 left a comment

Choose a reason for hiding this comment

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

LGTM :)

@eladkal eladkal merged commit 778c3f6 into apache:main May 26, 2023
@potiuk potiuk deleted the better-message-when-failing-with-upgraded-deps branch June 4, 2023 00:58
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