Skip to content

Conversation

xrmx
Copy link
Member

@xrmx xrmx commented Jul 30, 2025

What does this pull request do?

After spending some fun time debugging a client test failure and wondering if we had any bug in our queue handling it looks like the cause was some silent mock failures where the expected method was not patched. Switching to unittest.mock seems to work fine.

While at it fix warnings about missing azure storage pytest marker.

Related issues

Closes #2364

@xrmx xrmx requested a review from a team as a code owner July 30, 2025 10:50
Copy link

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@xrmx xrmx force-pushed the fix-ci-mock-failures branch from 393d744 to 95ce61f Compare July 30, 2025 10:53
Use the standard library module instead of the backported package.
Should fix mocks failures with Python 3.13.
@xrmx xrmx force-pushed the fix-ci-mock-failures branch from 95ce61f to 01b3dfa Compare July 30, 2025 10:59
Copy link
Member Author

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

/test matrix

@xrmx xrmx enabled auto-merge (squash) July 30, 2025 13:07
@xrmx xrmx merged commit 7241b27 into elastic:main Jul 30, 2025
551 checks passed
xrmx added a commit to xrmx/apm-agent-python that referenced this pull request Aug 11, 2025
…ic#2370)"

This reverts commit 7241b27.

[xrmx: keep the azurestorage marker addition]
xrmx added a commit that referenced this pull request Aug 11, 2025
* Revert "Drop Python 3.7 support (#2340)"

This reverts commit 8ac1781.

* Revert "Drop support for Python 3.6 (#2338)"

This reverts commit 76cf5c8.

* Revert "Use unittest.mock instead of the mock backport package (#2370)"

This reverts commit 7241b27.

[xrmx: keep the azurestorage marker addition]
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.

Investigate client test failures in CI

2 participants