-
Notifications
You must be signed in to change notification settings - Fork 0
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
build: add package dependencies #12
Conversation
@rbasu101 can you confirm for dash app dependencies |
@@ -35,7 +41,6 @@ docs = [ | |||
"sphinx-copybutton==0.5.2", | |||
"sphinxext-opengraph==0.8.2", | |||
"furo==2023.3.27", | |||
"gravis==0.1.0", |
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.
this was an accidental inclusion in the template
@@ -21,12 +21,18 @@ requires-python = ">=3.8" | |||
description = "Python wrapper for accessing an instance of DGIdb v5 database" | |||
license = {file = "LICENSE"} | |||
dependencies = [ | |||
"pandas~=2.2.1", |
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.
pinning pandas >=2 just because version 2 introduces some API breaks
"dash", | ||
"dash-bootstrap-components", | ||
"plotly", | ||
"networkx[default]", |
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 [default]
part installs some associated scientific stuff that a lot of the graph operations rely on. Technically you can use parts of networkx without them but some of the things we do will try to import scipy in the backend, and that's included in this dependency group. See here for a little more info: https://networkx.org/documentation/stable/install.html#install-the-released-version
I checked the dependencies and tested it out and it looks good to me! |
Let me know if this is missing anything