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

build: add package dependencies #12

Merged
merged 4 commits into from
Apr 12, 2024
Merged

build: add package dependencies #12

merged 4 commits into from
Apr 12, 2024

Conversation

jsstevenson
Copy link
Contributor

Let me know if this is missing anything

@jsstevenson jsstevenson added build Changes that affect the build system or dependencies priority:high High priority labels Apr 2, 2024
@jsstevenson jsstevenson added priority:medium Medium priority and removed priority:high High priority labels Apr 4, 2024
@mcannon068nw
Copy link
Contributor

@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",
Copy link
Contributor Author

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",
Copy link
Contributor Author

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]",
Copy link
Contributor Author

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

@rbasu101
Copy link
Contributor

I checked the dependencies and tested it out and it looks good to me!

@jsstevenson jsstevenson merged commit e6402a3 into main Apr 12, 2024
1 of 15 checks passed
@jsstevenson jsstevenson deleted the add-deps branch April 12, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes that affect the build system or dependencies priority:medium Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants