You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make Globus dependencies optional in test suite (#3980)
This PR makes Globus dependencies more optional:
In regular install, globus-sdk used by the very abandoned and probably
untested GlobusStaging provider is now no-longer installed, which
reduces the dependency footprint some.
In test installs, Globus Compute tests can be picked out or skipped
using `-k globus_compute`. This follows the style of `-k workqueue` and
`-k taskvine` used to allow Work Queue and Taskvine to not be installed.
As a consequence, the main CI workflow no longer runs the Globus Compute
site tests. This PR adds a `-k globus_compute` local test to the
Globus-specific workflow, again in the style of the Work Queue and
Taskvine tests.
The GlobusStaging uses the older "not configured implies skip implies
pass in CI" model of test configuration which I find personally quite
distasteful; but I have not peturbed that.
Some GlobusStaging related code now imports globus_sdk later on, rather
than at the top of modules, so that it will be importable even without
globus_sdk. This is because we can still generate documentation without
globus_sdk installed.
Relevant issues:
Debian bug #1116867
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116867#30 where
@emollier comments on some Globus related packaging impeding the Debian
packaging of Parsl.
Parsl issue #2218
# Changed Behaviour
Dependencies will be loosened both in user installs and test environment
installs - this might reveal interesting package incompatibilities
although I am not aware of any.
Import-related failures in GlobusStaging will no longer appear when
importing GlobusStaging, but instead will appear when that provider
tries to use globus_sdk to login/perform a transfer.
## Type of change
- Code maintenance/cleanup
Copy file name to clipboardExpand all lines: Makefile
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ mypy: ## run mypy checks
51
51
.PHONY: gce_test
52
52
gce_test: ## Run tests with GlobusComputeExecutor (--config .../globus_compute.py)
53
53
pytest -v -k "not shared_fs and not issue_3620 and not staging_required" --config parsl/tests/configs/globus_compute.py parsl/tests/ --random-order --durations 10
54
+
pytest -v -k "not shared_fs and not issue_3620 and not staging_required and globus_compute" --config local --random-order --durations 10
54
55
55
56
.PHONY: local_thread_test
56
57
local_thread_test: ## run all tests with local_thread config (--config .../local_threads.py)
@@ -86,7 +87,7 @@ radical_local_test: ## Run the Radical local tests (-m radical --config local)
86
87
.PHONY: config_local_test
87
88
config_local_test: ## run the config-local tests (--config local)
0 commit comments