Fix upload failure due to missing 'six' module dependency #5017
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Result uploading was failing in the Helix CI environment with the following error:
Root Cause
The
azure.storage.blobpackage (version 12.13.0) has an internal dependency on thesixmodule (a Python 2 and 3 compatibility library). Whilesixis imported throughout the azure.storage.blob codebase (_blob_client.py,_container_client.py,_upload_helpers.py, etc.), it was not explicitly listed in our project dependencies.Solution
Added
six==1.17.0to the project dependencies in two locations:requirements.txt- For documentation and local developmentscripts/run_performance_job.py- Added to the pip install commands that execute in the Helix CI environment (where the actual failure was occurring)This ensures the
sixmodule is available whenazure.storage.blobattempts to import it during result uploading.Testing
Verified that the
sixmodule can be imported successfully, resolving the import chain:benchmarks_ci.py→upload.py→azure.storage.blob→sixFixes the issue reported where uploads were failing due to the missing module.
Original prompt
Fixes #5016
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.