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

Add setuptools/distutils to requirements #30

Open
randomir opened this issue Nov 29, 2024 · 0 comments
Open

Add setuptools/distutils to requirements #30

randomir opened this issue Nov 29, 2024 · 0 comments

Comments

@randomir
Copy link
Contributor

Since distutils and setuptools have been removed in python 3.12, and pandas_datareader (a requirement for this example) hasn't been updated in a while, so it still relies on distutils

...
  File "[..]/portfolio-optimization/env312/lib/python3.12/site-packages/pandas_datareader/compat/__init__.py", line 1, in <module>
    from distutils.version import LooseVersion

we should add setuptools (which still includes distutils) to requirements.txt.

We pre-install setuptools in orb-examples when running example tests, but outside of our CI, the requirements are not complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant