-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
accepting pull requestContribute by raising a pull request to resolve this issue!Contribute by raising a pull request to resolve this issue!dependencies
Description
Is your feature request related to a problem? Please describe.
The pandas-datareader package has not been updated since 2021-07-13 and is now breaking with Python 3.12 and newer versions due to the removal of distutils. This package is currently used in util.finance.py for downloading World Bank data and in related tests.
Describe the solution you'd like
Identify and migrate to an alternative for downloading World Bank data. The steps could include:
- Researching viable replacements for
pandas-datareader, such aswbdata(see here) or direct API usage via libraries likerequestsorpandas. - Refactoring
util.finance.pyto use the new solution. - Updating related tests to ensure compatibility with the new implementation.
Describe alternatives you've considered
- Continuing to use
pandas-datareaderby forking and maintaining a private version. However, this would increase the maintenance burden on the project. - Temporarily patching the current implementation to support Python 3.12 and beyond, though this is not a sustainable long-term solution.
For reference, a related issue in pandas-datareader highlights these problems: pydata/pandas-datareader#977
emanuel-schmidemanuel-schmid
Metadata
Metadata
Assignees
Labels
accepting pull requestContribute by raising a pull request to resolve this issue!Contribute by raising a pull request to resolve this issue!dependencies