azure-sdk-for-python
azure-sdk-for-python copied to clipboard
[Pipelines] Windows test runs "ValueError: underlying buffer has been detached"
(as @kristapratico pointed out) On Windows, for python tests pipelines, when installing dependencies at the start of "Run Tests" you get a logging statement with the error "ValueError: underlying buffer has been detached"
Examples:
@l0lawrence So this does work if you pin on 3.7.9 (pipeline) but not for 3.9 (pipeline). I think the issue we may be seeing here was with vulnerabilities and the patch versions need to be pinned or set to >= for tests.
FYI @scbedd
@scbedd opened an issue on pypa/build and the maintainers think this is coming from setuptools: https://github.com/pypa/build/issues/540
We haven't seen this issue recently.
BuildLogLine
| where Timestamp > ago(60d)
| where Message has "ValueError: underlying buffer has been detached"
| count
-> 0