Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

Structlog released a new version: https://pypi.org/project/structlog/ (25.2.0) which now introduced a feature to have exc_notes to lookup notes attached to an exception: hynek/structlog#684

This causes failures in our CI, example: https://github.com/apache/airflow/actions/runs/13805673163/job/38616566095?pr=47656


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

@amoghrajesh amoghrajesh changed the title Adding 'exc_notes' to our task-sdk tests coming from structlog Including 'exc_notes' in our task-sdk tests coming from structlog Mar 12, 2025
Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

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

Should we also increase the min version?

@amoghrajesh
Copy link
Contributor Author

The compat failure seems unrelated to my change, merging it

@amoghrajesh amoghrajesh merged commit ff48721 into apache:main Mar 12, 2025
56 of 59 checks passed
@amoghrajesh amoghrajesh deleted the cisdk branch March 12, 2025 13:10
ashb added a commit that referenced this pull request Mar 12, 2025
In #47663 we added the `exc_note` field, but that only appears with the latest
structlog version.

This was causing it to fail on some PRs
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
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.

4 participants