Skip to content

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Nov 12, 2025

Description

Since we already require pytest>=6 (see tests/requirements.txt), the old compatibility function is obsolete and pytest.deprecated_call() can be used directly.

Extracted from PR #5879, to make that PR as lean and clean as possible.

Suggested changelog entry:

  • pytest.deprecated_call() is now called directly.

Since we already require pytest>=6 (see tests/requirements.txt), the
old compatibility function is obsolete and pytest.deprecated_call() can
be used directly.

Extracted from PR pybind#5879

Co-authored-by: Michael Carlstrom <rmc@carlstrom.com>
Co-authored-by: gentlegiantJGC <gentlegiantJGC@users.noreply.github.com>
Copy link
Contributor

@InvincibleRMC InvincibleRMC left a comment

Choose a reason for hiding this comment

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

lgtm!

@rwgk
Copy link
Collaborator Author

rwgk commented Nov 12, 2025

Thanks @InvincibleRMC!

I'll ignore the CIBW / iOS wheel macos-14 (pull_request) failure

@rwgk rwgk merged commit b30e72c into pybind:master Nov 12, 2025
84 of 85 checks passed
@rwgk rwgk deleted the pytest_deprecated_call_cleanup branch November 12, 2025 03:27
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs changelog Possibly needs a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants