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

Abandonned dependency cause eodag to not work correctly on python 3.13 #1036

Closed
mariusvn opened this issue Feb 28, 2024 · 2 comments · Fixed by #1085
Closed

Abandonned dependency cause eodag to not work correctly on python 3.13 #1036

mariusvn opened this issue Feb 28, 2024 · 2 comments · Fixed by #1085
Assignees
Labels
bug Something isn't working

Comments

@mariusvn
Copy link

Describe the bug
the dependency to request-ftp cause an import cgi which does not exists anymore on python 3.13

Code To Reproduce
Just execute any code inspector, at least in 3.11 with pytest I get a warning when i use eodag because it import the package cgi which is deprecated and removed in 3.13

Output

 C:\Users\...\venv\Lib\site-packages\requests_ftp\ftp.py:9: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi

Environment:

  • Python version: 3.11
  • EODAG version: 2.11.0
@mariusvn mariusvn added the bug Something isn't working label Feb 28, 2024
@mariusvn
Copy link
Author

its not really a bug but just an issue to make you know that changes may be needed in 3.13

@sbrunato
Copy link
Collaborator

Hello @mariusvn and thanks for the information. We should remove this "abandoned" dependency and use urllib instead, or find another alternative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants