Skip to content

Commit

Permalink
ngclient: Add note about RequestsFetcher being deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
jku committed Feb 15, 2025
1 parent 6ddc083 commit 5acd3f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tuf/ngclient/requests_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

"""Provides an implementation of ``FetcherInterface`` using the Requests HTTP
library.
Note that this module is deprecated, and the default fetcher is
Urllib3Fetcher:
* RequestsFetcher is still available to make it easy to fall back to
previous implementation if issues are found with the Urllib3Fetcher
* If RequestsFetcher is used, note that `requests` must be explicitly
depended on: python-tuf does not do that.
"""

from __future__ import annotations
Expand Down

0 comments on commit 5acd3f7

Please sign in to comment.