-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'pkg_resources' #4756
Comments
we're tracking work on this in #4751. we found the problem another way and noticed it seems to be specific to ArmArch Linux Docker containers just yesterday. hoping to move away from the deprecated and, now, apparently sometimes unavailable package in time to include the fix in our next rollout am I correct the containers failing in your build are quite infrequently used❓ |
This is failing on many PRs in dotnet/runtime. The affected containers are used by default dotnet/runtime CI configuration. |
You can see it in the stats in the top post. |
This affects number of Linux and macOS variants. For example, here is a log from macOS x64: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-111218-merge-42cc8e62a78b4da997/Microsoft.Extensions.Configuration.Tests/1/console.47b8555d.log?helixlogtype=result |
I think the common factor is having Python 3.12, e.g. if you look at https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-111218-merge-42cc8e62a78b4da997/ComInterfaceGenerator.Tests/1/console.aa96da09.log?helixlogtype=result from the same job as Jan posted above it worked, because the dci-mac-build-133 macOS machine is not using Python 3.12 (I guess because it wasn't updated yet) |
I agree. it also seems like the problem is only partially under our direct control. we use unless we missed some older builds that failed, problems started just after our rollout began updating queues yesterday. the earliest error I saw had timestamp |
Python 3.12.8 released on 2024-12-03. it contains a bunch of fixes and dependency updates though nothing obviously linked to I checked the |
we're reverting yesterday's rollout due to the problems discussed in this issue. queues are getting updated as I type this note |
revert is now complete but I don't see a clear signal that this particular problem has been resolved. please let us know |
Seems to be working again. Though I noticed that e.g. a build on dci-mac-build-108 which failed before is still printing |
Build
https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=910866
Build leg reported
ComInterfaceGenerator.Tests.WorkItemExecution
Pull Request
dotnet/runtime#110558
Known issue core information
Fill out the known issue JSON section by following the step by step documentation on how to create a known issue
@dotnet/dnceng
Release Note Category
Release Note Description
Additional information about the issue reported
No response
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=910866
Error message validated:
[ModuleNotFoundError: No module named 'pkg_resources'
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/8/2025 10:20:43 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: