Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove not needed anymore requests-ftp #1085

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions eodag/plugins/download/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

import geojson
import requests
import requests_ftp
from lxml import etree
from requests import RequestException
from requests.auth import AuthBase
Expand Down Expand Up @@ -768,8 +767,6 @@ def _stream_download(
req_url = url
req_kwargs = {}

# url where data is downloaded from can be ftp -> add ftp adapter
requests_ftp.monkeypatch_session()
s = requests.Session()
with s.request(
req_method,
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ module = [
"geojson",
"IPython.display",
"owslib.*",
"requests_ftp",
"shapefile",
"shapely",
"shapely.*",
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ install_requires =
ecmwf-api-client
cdsapi
stream-zip
requests-ftp
pydantic >= 2.1.0
pydantic_core
typing_extensions
Expand Down
Loading