Pin to wrapt<2 until we can ensure full compatibility with the breaking changes.
CI Visibility: This fix resolves an issue where tests would be incorrectly detected as third-party code if a third-party package containing a folder with the same name as the tests folder was installed. For instance, the sumy package installs files under tests/* in site-packages, and this would cause any modules under tests.* to be considered third-party.
langchain: Resolves an issue where langchain patching would throw an ImportError for when using langchain_core>=0.3.76.
Fetched April 3, 2026