azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Pipelines] Windows test runs "ValueError: underlying buffer has been detached"

Open l0lawrence opened this issue 3 years ago • 1 comments

(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:

ServiceBus TextAnalytics

l0lawrence avatar Nov 09 '22 19:11 l0lawrence

@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

benbp avatar Nov 09 '22 20:11 benbp

@scbedd opened an issue on pypa/build and the maintainers think this is coming from setuptools: https://github.com/pypa/build/issues/540

kristapratico avatar Dec 01 '22 17:12 kristapratico

We haven't seen this issue recently.

DataSource

BuildLogLine
| where Timestamp > ago(60d)
| where Message has "ValueError: underlying buffer has been detached"
| count 

-> 0

scbedd avatar Mar 15 '23 20:03 scbedd