GoogleCloudPlatform / GoogleCloudPlatform/gsutil
gsutils compiled crcmod not detected when using Conda on Mac
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
When I use gsutils outside of conda (including when I use it with a virtual environment through venv), gsutils correctly detects the compiled crcmod (gsutil version -l shows compiled crcmod: True). However, when I am using conda, even though it has google-cloud-sdk==339.0 declared as a dependency), gsutils is not using compiled crcmod (gsutil version -l shows compiled crcmod: True).
I discovered this when investigating timeout issues in calls to gsutil. I can try fixing the conda environment manually, but I didn't have to manually add a dependency on google crc for venv, and it would be better if this were automatically handled in conda.
Contributor guide
Research direction
Reproduce the behavior on Mac with Conda and with venv, using `gsutil version -l` to compare compiled crcmod detection. Check how the declared `google-cloud-sdk==339.0` dependency is installed in the Conda environment. Done means the Conda installation detects and uses compiled crcmod without manual dependency changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100