-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update reportengine dependencies #61
Conversation
I will merge this by the time NNPDF/nnpdf#1861 is implemented. If someone (@comane I guess is the only person with experience here) can review before that so much the better. Since this is only dealing with a few test and dependencies and the latest version is already being used via conda, I guess it would be fine. |
@comane when you have time, could you please review this? |
@@ -76,10 +76,13 @@ def nsspec(x, beginning=()): | |||
self.graph.add_node(mcall, inputs={gcall, hcall}) | |||
|
|||
|
|||
def _test_ns(self): | |||
def _test_ns(self, promise=False): |
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.
Is there a particular reason for calling this promise
?
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.
I think it looked like a js promise objet to me
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.
Hi @scarlehoff, @RoyStegeman, I simply updated the description of the PR as this is not only updating the dependencies
@scarlehoff could you add a comment explaining why you restricted the |
One of the reasons this needed review was because I did the things that made the code work. Including ruamel. This version worked, others didn't... |
@@ -76,10 +76,13 @@ def nsspec(x, beginning=()): | |||
self.graph.add_node(mcall, inputs={gcall, hcall}) | |||
|
|||
|
|||
def _test_ns(self): | |||
def _test_ns(self, promise=False): |
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.
I think it looked like a js promise objet to me
@comane are you fine with me merging this? afaik you are the only one using the newer versions of validphys |
"dask[distributed]", | ||
] |
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.
"dask[distributed]", | |
] | |
"dask[distributed]", | |
"bokeh!=3.0.*,>=2.4.2", | |
] |
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.
is bokeh a required dependency? I don't see it anywhere
Hi @scarlehoff, I tested this branch with the most up to date version of validphys (nnpdf), by pip installing this branch. I guess that the idea is to change the nnpdf dependency as well since right now it is checking a fixed commit (which also needs curio). I added a suggestion for bokeh. This way one gets the dask dashboard. |
I see. I'll add bokeh then as an extra. Since dependencies of reportengine affect nnpdf as well I'd rather not add many.
Yes. At least for python 3.12. |
This PR does:
updates the
ruamel
anddask
dependenciesModify tests in
test_executor.py
andtest_builder.py
so as to be able to accept dask futures.