Skip to content

Commit

Permalink
Set backend verbosity=1 in fetch_via_vcs
Browse files Browse the repository at this point in the history
Starting with pip 24.2, `VersionControl.obtain` requires verbosity

Signed-off-by: Keshav Priyadarshi <[email protected]>
  • Loading branch information
keshav-space committed Sep 25, 2024
1 parent 0f5c3b2 commit 3a8a3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fetchcode/vcs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ def fetch_via_vcs(url):
vcs_type = vcs_name

backend = vcs.get_backend_for_scheme(scheme)
backend.obtain(dest=dest_dir, url=misc.hide_url(url))
backend.obtain(dest=dest_dir, url=misc.hide_url(url), verbosity=1)

return VCSResponse(dest_dir=dest_dir, vcs_type=vcs_type, domain=domain)

0 comments on commit 3a8a3bf

Please sign in to comment.