Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit tenacity due to mypy problems #29411

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Feb 7, 2023

The 8.2.0 version of tenacity, implemented a change that breaks mypy checks for clients using @retry decorated functions.

The issue is tracked in jd/tenacity#389


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

The 8.2.0 version of tenacity, implemented a change that breaks
mypy checks for clients using `@retry` decorated functions.

The issue is tracked in jd/tenacity#389
@potiuk potiuk merged commit ca7d7e2 into apache:main Feb 7, 2023
@potiuk potiuk deleted the limit-tenacity branch February 7, 2023 22:44
@potiuk potiuk added this to the Airflow 2.5.2 milestone Feb 8, 2023
potiuk added a commit to potiuk/airflow that referenced this pull request Feb 11, 2023
Tenacity MyPy integration has been broken in 8.2.0, but 8.2.1
seems to fix it.

Test fix provided in jd/tenacity#390

Related: apache#29411
potiuk added a commit that referenced this pull request Feb 12, 2023
* Bring back fixed tenacity.

Tenacity MyPy integration has been broken in 8.2.0, but 8.2.1
seems to fix it.

Test fix provided in jd/tenacity#390

Related: #29411

Co-authored-by: Tzu-ping Chung <[email protected]>
@pierrejeambrun pierrejeambrun added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Feb 27, 2023
@pierrejeambrun
Copy link
Member

changelog:skip as #29440 is also coming in 2.5.2

pierrejeambrun pushed a commit that referenced this pull request Mar 7, 2023
* Bring back fixed tenacity.

Tenacity MyPy integration has been broken in 8.2.0, but 8.2.1
seems to fix it.

Test fix provided in jd/tenacity#390

Related: #29411

Co-authored-by: Tzu-ping Chung <[email protected]>
(cherry picked from commit 28806a3)
pierrejeambrun pushed a commit that referenced this pull request Mar 8, 2023
* Bring back fixed tenacity.

Tenacity MyPy integration has been broken in 8.2.0, but 8.2.1
seems to fix it.

Test fix provided in jd/tenacity#390

Related: #29411

Co-authored-by: Tzu-ping Chung <[email protected]>
(cherry picked from commit 28806a3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants