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

Readthedocs build has been broken for several months #2903

Closed
benclifford opened this issue Oct 9, 2023 · 4 comments
Closed

Readthedocs build has been broken for several months #2903

benclifford opened this issue Oct 9, 2023 · 4 comments
Labels

Comments

@benclifford
Copy link
Collaborator

No description provided.

@benclifford benclifford added the bug label Oct 9, 2023
@benclifford
Copy link
Collaborator Author

This started failing at this commit 41357c6 (PR #2809)

@benclifford
Copy link
Collaborator Author

Possibly because the taskvine module is not importable without ndcctools installed:

>>> import parsl.executors.taskvine
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/benc/parsl/src/parsl/parsl/executors/taskvine/__init__.py", line 1, in <module>
    from parsl.executors.taskvine.executor import TaskVineExecutor
  File "/home/benc/parsl/src/parsl/parsl/executors/taskvine/executor.py", line 35, in <module>
    from parsl.executors.taskvine.manager_config import TaskVineManagerConfig
  File "/home/benc/parsl/src/parsl/parsl/executors/taskvine/manager_config.py", line 5, in <module>
    from ndcctools.taskvine.cvine import VINE_DEFAULT_PORT
ModuleNotFoundError: No module named 'ndcctools'

although this is not the actual error text appearing in readthedocs.

Although the taskvine executor.py file avoids importing ndcctools unprotected, looks like manager_config.py does not avoid it.

cc @tphung3

@benclifford
Copy link
Collaborator Author

I made a draft PR #2907 that hacks out all the ndcctools import to validate that ndcctools is what is breaking thsi.

I also turned on readthedocs reporting status for all pull requests into github - so all PRs now should get a green/red readthedocs test line.

@tphung3 could you look at making taskvine not fail on import when ndcctools is not around?

@benclifford
Copy link
Collaborator Author

The immediate failure has been resolved by @tphung3 in PR #2909 - thanks!

To help stop this happen in future, readthedocs now builds each PR and reports status into GitHub. At the moment this is not a "mandatory pass" test, so is only indicative to an attentive human, but it could be made mandatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant