Skip to content

Fix invalid type: ignore that causes mypy to ignore the whole file #4618

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

aabmass
Copy link
Member

@aabmass aabmass commented Jun 5, 2025

Description

Fixes #4615

Explanation in #4615 (comment). Let's backport this into the patch release we're planning for next week.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I tested against the repro in #4615 with mypy.

Success: no issues found in 1 source file

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated

@aabmass aabmass force-pushed the pyright-deprecated-fix branch from ba6673d to c317fd5 Compare June 5, 2025 20:56
@aabmass aabmass marked this pull request as ready for review June 5, 2025 20:57
@aabmass aabmass requested a review from a team as a code owner June 5, 2025 20:57
@xrmx xrmx merged commit 5765aa3 into open-telemetry:main Jun 6, 2025
353 checks passed
@aabmass aabmass deleted the pyright-deprecated-fix branch June 6, 2025 14:45
xrmx pushed a commit to xrmx/opentelemetry-python that referenced this pull request Jun 10, 2025
unflxw added a commit to appsignal/appsignal-python that referenced this pull request Jun 10, 2025
This commit reverts 3cfb695 -- the
underlying cause was [a bug in the previous OpenTelemetry release][bug]
that has been [fixed in the latest release][fix]

[bug]: open-telemetry/opentelemetry-python#4615 (comment)
[fix]: open-telemetry/opentelemetry-python#4618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typing errors after upgrading to 1.34
2 participants