Skip to content

Commit f7b2639

Browse files
committed
ngclient: Add note about RequestsFetcher being deprecated
Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 8e95ef7 commit f7b2639

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tuf/ngclient/requests_fetcher.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
"""Provides an implementation of ``FetcherInterface`` using the Requests HTTP
55
library.
6+
7+
Note that this module is deprecated, and the default fetcher is
8+
Urllib3Fetcher:
9+
* RequestsFetcher is still available to make it easy to fall back to
10+
previous implementation if issues are found with the Urllib3Fetcher
11+
* If RequestsFetcher is used, note that `requests` must be explicitly
12+
dependended on: python-tuf does not do that.
613
"""
714

815
from __future__ import annotations

0 commit comments

Comments
 (0)