Skip to content

Commit

Permalink
Separate monitoring core and visualization dependencies (#2911)
Browse files Browse the repository at this point in the history
This reflects a difference in code maturity and maintenance between the
two: monitoring core is much more maintained and stable than visualization
at the moment.

Work with LSST has repeatedly encountered dependency problems caused by
the visualization dependencies, even though those dependencies are not need
by LSST, and this separation allows the visualization dependencies to be
skipped.

Breaking change:
If you are using visualization you will now need to:

  pip install parsl[monitoring,visualization]

to get all of the dependencies previously installed by [monitoring]
  • Loading branch information
benclifford authored Oct 21, 2023
1 parent c66ca13 commit 8437778
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ wqex_local_test: $(CCTOOLS_INSTALL) ## run all tests with workqueue_ex config

.PHONY: config_local_test
config_local_test:
pip3 install ".[monitoring,proxystore]"
pip3 install ".[monitoring,visualization,proxystore]"
pytest parsl/tests/ -k "not cleannet" --config local --random-order --durations 10

.PHONY: site_test
Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Visualization
To run the web dashboard utility ``parsl-visualize`` you first need to install
its dependencies:

$ pip install 'parsl[monitoring]'
$ pip install 'parsl[monitoring,visualization]'

To view the web dashboard while or after a Parsl program has executed, run
the ``parsl-visualize`` utility::
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

extras_require = {
'monitoring' : [
'sqlalchemy>=1.4,<2',
'sqlalchemy>=1.4,<2'
],
'visualization' : [
'pydot',
'networkx>=2.5,<2.6',
'Flask>=1.0.2',
Expand Down

0 comments on commit 8437778

Please sign in to comment.