-
Notifications
You must be signed in to change notification settings - Fork 165
Description
Acknowledgement
First of all, I would like to thank the team for the excellent work on ArcticDB. It is a fantastic tool and I appreciate the effort put into maintaining it.
Description
I am writing to report an issue regarding dependency management when using newer versions of pandas. I encountered a ModuleNotFoundError: No module named 'pytz' when setting up ArcticDB in an environment with pandas 3.0.0+.
Root Cause
Pandas has recently changed pytz from a required dependency to an optional dependency in version 3.0.0.
Previously, ArcticDB likely relied on pandas to transitively install pytz. With this change, if a user installs a fresh environment with pandas >= 3.0.0 (and does not explicitly install pytz), ArcticDB fails to import.
Reference:
[Pandas 3.0.0 Whatsnew - pytz now an optional dependency](https://github.com/pandas-dev/pandas/blob/1797ba54796ec1dc726cb6dd5039c238caec30a2/doc/source/whatsnew/v3.0.0.rst#pytz-now-an-optional-dependency)
Steps to Reproduce
- Create a clean Python environment.
- Install
pandas>=3.0.0(ensurepytzis not manually installed). - Install
arcticdb. - Attempt to import or use
arcticdb.
Observed Error
ModuleNotFoundError: No module named 'pytz'
Suggested Fix
Since ArcticDB appears to rely on pytz directly, it should be added explicitly to the install_requires list (or pyproject.toml) in ArcticDB's configuration. This will ensure it is always installed regardless of the pandas version used.