GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Unfreezing mock dependency

Open
#831 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

In setup.py, I see that `mock` was frozen for a specific reason:

```
# TODO: Sync submodule with tag referenced here once #339 is fixed in mock.
'mock==2.0.0',
```

However, I see that https://github.com/testing-cabal/mock/issues/339 was fixed a while ago, and the upstream project has made [6 new releases](https://pypi.org/project/mock/#history) in May.

Can the mock dependency be unfrozen to support newer mock versions?

Contributor guide

Open the contributing guide

Research direction

Start in setup.py at the pinned 'mock==2.0.0' dependency and review the linked upstream issue #339 and newer mock releases. Update the dependency constraint only if the upstream fix applies, then verify that the project still installs and its existing checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.