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
Tried it in a UBI9 container on a P10 VM, and it appears to have finished fine, but noticed it built and installed numpy==2.3.2 (as specified in requirements.txt);
I tried again with the updates, but now I'm getting this (below), doesn't look like a clean pass. Can you take a look?
Running environment test...
[LOG] Calling scale_array with args=(dask.array<array, shape=(4,), dtype=int64, chunksize=(2,), chunktype=numpy.ndarray>, 3), kwargs={}
[wrapt] add called with (2, 3)
wrapt OK
dm-tree OK
packaging OK
Traceback (most recent call last):
File "/git/pyeco/examples/dask_example/sub-test1.py", line 126, in <module>
test_partd_locket()
File "/git/pyeco/examples/dask_example/sub-test1.py", line 111, in test_partd_locket
assert val1 == b"123"
^^^^^^^^^^^^^^
AssertionError
\n ==== Running sub-test2 ==== \n
attrs + PyYAML nested OK
dask + numpy + toolz matrix OK
fsspec + cloudpickle numpy OK
[wrapt] slow_add took 0.100072s
wrapt timing OK
dm-tree transform OK
packaging sort OK
Traceback (most recent call last):
File "/git/pyeco/examples/dask_example/sub-test2.py", line 131, in <module>
test_partd_locket_multiple()
File "/git/pyeco/examples/dask_example/sub-test2.py", line 117, in test_partd_locket_multiple
assert val == b"12"
^^^^^^^^^^^^
AssertionError
Hi @miyamotoh ,
I think the script might have been run in the same container as before, so it was trying to override existing data.
In the first run, we create a partd.File("store"), append {"key": b"123"}, and get("key") correctly returns b"123". But since partd.File is append only, running the script again on the same container reuses the old "store/" directory, leading to the issue.
I retried on my side with a fresh container, and it worked fine. still, I’ve made a few changes to avoid this happening in the future. Could you please run it again..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created the example for dask.