-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Feature/improve docs #4260
Feature/improve docs #4260
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency tree has been changed. Please update requirements.txt and requirements-full.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency tree has been changed. Please update requirements.txt and requirements-full.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency tree has been changed. Please update requirements.txt and requirements-full.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency tree has been changed. Please update requirements.txt and requirements-full.txt
@jmaslek is there anything else you want me to add here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency tree has been changed. Please update requirements.txt and requirements-full.txt
I just want to say again that the installation instructions could result in issue as they are put there. We ask people to create an environment in here (https://docs.openbb.co/sdk/quickstart/installation) for a reason. If I'd think "this is just another package" and I do |
Is this still required even with portfolio optimization and forecasting out of scope? |
You are still blasting the environment with https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/requirements.txt with specific Pandas, NumPy etc. For some packages we stay on older version on purpose. If |
Let's outline what should we improve in the docs |
So to me this is a problem if you would install the package within an environment that is already filled with different packages. Is it not? Otherwise, why do we mention in the Docs to create an environment? |
Making a reproducible environment with a dependency tree that works nicely is a problem for everyone, not just you. This problem triggered an inception of a universe of tools. Examples of such tools include general purpose containerization tools like docker and podman and tools from the python ecosystem like conda, pyenv and poetry My experience for creating a vanilla pip environment is to have openbb as the primary dependency and only installing on top whatever is not available in openbb. I haven't yet encountered a situation when I would specifically need a different version of some package than the one defined by openbb |
Alright, thank you for the explanation. My question then is to you and @DidierRLopes: Does it make sense that on the PyPi page we say just do And in that case, it needs to be part of the release schedule to update this doc as well when we do make changes. |
Tecnically pypi is a place to host a python package. The python package is installed with a pip command. So technically what is written here makes and it's out of scope of package installation to advice a specific system setup. I would point people to the docs from the pypi page. Disregarding very minor style/lingo errors our docs are pretty explicit/transparent about why people should use virtual environments and a recommended way to set one up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-read pypi.md
I think this is just fine @JerBouma
Ok all good then :) |
Changes to pyproject.toml don't touch the dependencies
Improve main README and also PyPI page