-
Notifications
You must be signed in to change notification settings - Fork 180
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
fix(polygon): install polygon from git repo to fix websockets dependency #652
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,8 @@ data/SRNE_Minute.csv | |
.vscode/** | ||
*.tmp | ||
.env | ||
|
||
.menv/ | ||
menv/ | ||
menv | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
url="https://github.com/Lumiwealth/lumibot", | ||
packages=setuptools.find_packages(), | ||
install_requires=[ | ||
"polygon-api-client>=1.13.3", | ||
"polygon-api-client @ git+https://github.com/jjfantini/client-python.git@feat/websockets", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unstable Dependency Source Tell me moreWhat is the issue? Why this matters There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid installing packages from specific Git branches in setup.py. Tell me moreIn the setup.py file, the polygon-api-client package is being installed from a specific branch of a Git repository. While this might temporarily fix the issue with the websockets dependency, it can lead to problems with dependency management and reproducibility. Consider using the official package from PyPI with the required version or publishing your own package with the necessary changes. |
||
"alpaca-py>=0.28.1", | ||
"alpha_vantage", | ||
"ibapi==9.81.1.post1", | ||
|
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.
Missing Version Constraints
Tell me more
What is the issue?
Missing version constraint for several dependencies which could lead to compatibility issues.
Why this matters
Unconstrained dependencies may automatically upgrade to incompatible versions, potentially breaking functionality at runtime.