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

Enforce fixed dask #221

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Enforce fixed dask #221

merged 1 commit into from
Mar 6, 2025

Conversation

jackjii79
Copy link
Contributor

Address http://jenkins.h2o.local:8080/job/driverlessai/job/Nightly-Pipeline/job/dev/48/testReport/junit/tests.test_scoring/test_scoring_package/Testing_on_x86_64___CUDA_11_8_0_tests_scoring_customa___test_scoring_regression_1_Ymd_ts_causal_5f743_/
and similar error due to

  File "/opt/h2oai/dai/python/lib/python3.11/site-packages/dask/utils.py", line 809, in _derived_from
    method_args = get_named_args(method)
                  ^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/h2oai/dai/python/lib/python3.11/site-packages/dask/utils.py", line 570, in get_named_args
    s = inspect.signature(func)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/h2oai/dai/python/lib/python3.11/inspect.py", line 3263, in signature
    return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/h2oai/dai/python/lib/python3.11/inspect.py", line 3011, in from_callable
    return _signature_from_callable(obj, sigcls=cls,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/h2oai/dai/python/lib/python3.11/inspect.py", line 2599, in _signature_from_callable
    call = _descriptor_get(call, obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/h2oai/dai/python/lib/python3.11/inspect.py", line 2432, in _descriptor_get
    return get(descriptor, obj, type(obj))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: descriptor '__call__' for 'type' objects doesn't apply to a 'property' object

@jackjii79 jackjii79 requested a review from rsujeevan March 6, 2025 06:47
@jackjii79 jackjii79 merged commit 174354e into master Mar 6, 2025
2 checks passed
@jackjii79 jackjii79 deleted the jing/fix-dask branch March 6, 2025 06:50
@jackjii79 jackjii79 restored the jing/fix-dask branch March 7, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants