instance_id stringlengths 10 57 | file_changes listlengths 1 15 | repo stringlengths 7 53 | base_commit stringlengths 40 40 | problem_statement stringlengths 11 52.5k | patch stringlengths 251 7.06M |
|---|---|---|---|---|---|
dask__dask-6626 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/bag/core.py:_to_textfiles_chunk"
],
"edited_modules": [
"dask/bag/core.py:_to_textfiles_chunk"
]
},
"file": "dask/bag/core.py"
},
{
"changes": {
"add... | dask/dask | 56cd4597630feb1b01501c16d52aa862dd257a83 | Index(['a', 'b'], dtype='object') instead of Index([], dtype='object') with set_index when empty categories in dataframe
I ran into categories errors; it seems that a, b categories are created into the Dask Dataframes.
It's done when using the set_index on a Dask Dataframe with empty categories columns.
It does not... | diff --git a/dask/bag/core.py b/dask/bag/core.py
index a4847379a..fec6f169b 100644
--- a/dask/bag/core.py
+++ b/dask/bag/core.py
@@ -148,7 +148,7 @@ def optimize(dsk, keys, fuse_keys=None, rename_fused_keys=None, **kwargs):
def _to_textfiles_chunk(data, lazy_file, last_endline):
with lazy_file as f:
if i... |
dask__dask-6682 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/overlap.py:map_overlap"
],
"edited_modules": [
"dask/array/overlap.py:map_overlap"
]
},
"file": "dask/array/overlap.py"
}
] | dask/dask | 1d4064d0ef5794f7dc61bf3e29b5ae234d04ed4d | `map_overlap` produces wrong shape with `trim=False`
**What happened**:
I am working on a lazy rolling window method for `dask.array`s and use `da.map_overlap`.
Problem is that with `trim=False`, before the result is `compute()`d, the shape is wrong. It includes the boundary.
After compute, the shape is correct.
... | diff --git a/dask/array/overlap.py b/dask/array/overlap.py
index 7ba5f99ef..2cd9ec7c5 100644
--- a/dask/array/overlap.py
+++ b/dask/array/overlap.py
@@ -713,6 +713,8 @@ def map_overlap(
assert all(type(c) is int for x in xs for cc in x.chunks for c in cc)
assert_int_chunksize(args)
+ if not trim and ... |
dask__dask-6911 | [
{
"changes": {
"added_entities": [
"dask/array/overlap.py:coerce_depth_type"
],
"added_modules": [
"dask/array/overlap.py:coerce_depth_type"
],
"edited_entities": [
"dask/array/overlap.py:coerce_depth"
],
"edited_modules": [
"dask/array/o... | dask/dask | efc8b9070c43957fced33f992e00463c43e16322 | IndexError when supplying multiple paths to dask.dataframe.read_csv() and including a path column
I fixed my installation (dask version 2.30) locally by adding
` and i < len(self.paths)` to this line
https://github.com/dask/dask/blob/fbccc4ef3e1974da2b4a9cb61aa83c1e6d61efba/dask/dataframe/io/csv.py#L82
I bet there... | diff --git a/dask/array/overlap.py b/dask/array/overlap.py
index 8b400ca9a..9170ec909 100644
--- a/dask/array/overlap.py
+++ b/dask/array/overlap.py
@@ -820,6 +820,15 @@ def coerce_depth(ndim, depth):
for i in range(ndim):
if i not in depth:
depth[i] = 0
+ return coerce_depth_t... |
dask__dask-6982 | [
{
"changes": {
"added_entities": [
"dask/array/blockwise.py:CreateArraySubgraph.__init__",
"dask/array/blockwise.py:CreateArraySubgraph.__getitem__",
"dask/array/blockwise.py:CreateArraySubgraph.__len__",
"dask/array/blockwise.py:CreateArraySubgraph.__iter__",
"dask... | dask/dask | 781b3eb5626f3cc74c7b4c69187f5cd941513a39 | Cannot compare tz-naive and tz-aware timestamps on concat
**What happened**:
When concatenating two dask dataframes with indices dype=datetime64[ns, UTC], I get a `TypeError: Cannot compare tz-naive and tz-aware timestamps`. One of the the dask dataframe was created with `dd.from_pandas` and the other with `dd.read_... | diff --git a/dask/array/blockwise.py b/dask/array/blockwise.py
index 72fb9bc2f..b1386dba9 100644
--- a/dask/array/blockwise.py
+++ b/dask/array/blockwise.py
@@ -3,10 +3,132 @@ import warnings
import tlz as toolz
+from collections.abc import Mapping
+from functools import reduce
+from itertools import product
+
fr... |
dask__dask-7119 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/utils.py:_check_dsk"
],
"edited_modules": [
"dask/array/utils.py:_check_dsk"
]
},
"file": "dask/array/utils.py"
},
{
"changes": {
"added_entiti... | dask/dask | 5694253ba08d1f9a87a4f0a981bade66537fc1bb | Example outer product implementation doesn't work
The docstring for `dask.array.blockwise` contains this example:
```python
z = blockwise(operator.mul, 'ij', x, 'i', y, 'j', dtype='f8') # doctest: +SKIP
```
However, it doesn't actually work (computing it fails), because `operator.mul` between two 1D chunks pro... | diff --git a/dask/array/blockwise.py b/dask/array/blockwise.py
index 72fb9bc2f..80b9aad23 100644
--- a/dask/array/blockwise.py
+++ b/dask/array/blockwise.py
@@ -54,17 +54,34 @@ def blockwise(
--------
2D embarrassingly parallel operation from two arrays, x, and y.
- >>> z = blockwise(operator.add, 'ij', ... |
dask__dask-7125 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask/array/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/ov... | dask/dask | 3013afd6118dab4efd0f19c0fd3ae0c32859334c | Requesting: dask array equivelant to numpy.delete()
After lots of googling I found no information on how to delete elements in a dask.array at particular indices similar to the [`numpy.delete`](https://numpy.org/doc/stable/reference/generated/numpy.delete.html?highlight=delete#numpy.delete) function. If there is indee... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5b6e041b8..e434c280e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,6 +29,13 @@ jobs:
activate-environment: test-environment
auto-activate-base: false
+ - name: Hack around https://github.com... |
dask__dask-7138 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/routines.py:ravel"
],
"edited_modules": [
"dask/array/routines.py:ravel"
]
},
"file": "dask/array/routines.py"
},
{
"changes": {
"added_entitie... | dask/dask | 9bb586a6b8fac1983b7cea3ab399719f93dbbb29 | Issue: dask.array.ravel currently requires an 'array' object as argument but should require an 'array_like' object
I noticed a problem with the `dask.array.ravel` function. It currently requires an `array` as input else it throws an `AttributeError`. This is in contrast to how `numpy.ravel` handles the input, which mer... | diff --git a/dask/array/blockwise.py b/dask/array/blockwise.py
index 72fb9bc2f..80b9aad23 100644
--- a/dask/array/blockwise.py
+++ b/dask/array/blockwise.py
@@ -54,17 +54,34 @@ def blockwise(
--------
2D embarrassingly parallel operation from two arrays, x, and y.
- >>> z = blockwise(operator.add, 'ij', ... |
dask__dask-7145 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/utils.py:_check_dsk"
],
"edited_modules": [
"dask/array/utils.py:_check_dsk"
]
},
"file": "dask/array/utils.py"
},
{
"changes": {
"added_entiti... | dask/dask | 39ef4838ac0457307f2ac727f3af53d8f3f7de71 | Clean up the HighlevelGraph.dicts property
``HighLevelGraph.dicts`` is an alias property to ``.layers``, which was put there as temporary backwards compatibility when we migrated from the previous design in #4092.
There's a bunch of stuff in the dask codebase that still invokes .dicts, but it is trivial to fix; not ... | diff --git a/dask/array/utils.py b/dask/array/utils.py
index 330fd4520..e5a2a2abd 100644
--- a/dask/array/utils.py
+++ b/dask/array/utils.py
@@ -206,7 +206,7 @@ def _check_dsk(dsk):
dsk.validate()
assert all(isinstance(k, (tuple, str)) for k in dsk.layers)
- freqs = frequencies(concat(dsk.dicts.values())... |
dask__dask-7191 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/multiprocessing.py:get"
],
"edited_modules": [
"dask/multiprocessing.py:get"
]
},
"file": "dask/multiprocessing.py"
}
] | dask/dask | 2640241fbdf0c5efbcf35d96eb8cc9c3df4de2fd | HighLevelGraph erroneously propagates into local scheduler optimization routines
The latest release of dask has broken prefect, but I think the real issue has persisted earlier and is only exposed now due to a new error path.
Here's an example that fails using raw dask alone:
```python
import dask
class NoG... | diff --git a/dask/multiprocessing.py b/dask/multiprocessing.py
index 57f19172a..9e5dc5b01 100644
--- a/dask/multiprocessing.py
+++ b/dask/multiprocessing.py
@@ -11,6 +11,7 @@ from . import config
from .system import CPU_COUNT
from .local import reraise, get_async # TODO: get better get
from .optimization import fus... |
dask__dask-7235 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/overlap.py:coerce_depth",
"dask/array/overlap.py:coerce_boundary"
],
"edited_modules": [
"dask/array/overlap.py:coerce_depth",
"dask/array/overlap.py:coerc... | dask/dask | 3013afd6118dab4efd0f19c0fd3ae0c32859334c | Test failures on windows with graphviz missing .bat files.
Today I started seeing failures in the tests like:
```python-traceback
cmd = ['dot.bat', '-Kdot', '-Tpng']
input = b'digraph {\n\tgraph [rankdir=BT]\n\t4770961679805687079 [label="" shape=box]\n\t-2718215776272399448 [label="" shape=...79 -> 12896597671086... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5b6e041b8..e434c280e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,6 +29,13 @@ jobs:
activate-environment: test-environment
auto-activate-base: false
+ - name: Hack around https://github.com... |
dask__dask-7413 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/base.py:normalize_seq",
"dask/base.py:normalize_object",
"dask/base.py:register_numpy"
],
"edited_modules": [
"dask/base.py:normalize_seq",
"dask/base.py... | dask/dask | b888af46dd340f7573faef1dd9c2c8905820405d | Flag for raising an error when `normalize_object` doesn't find `__dask_tokenize__`
I ran into a bit of a nasty surprised when I realized some of my Delayed objects resulted in a different token when I called `tokenize()`. This is because in my data I had some objects which didn't have `__dask_tokenize__`. I fixed those... | diff --git a/dask/base.py b/dask/base.py
index a9368bfe8..8a9c10055 100644
--- a/dask/base.py
+++ b/dask/base.py
@@ -839,7 +839,14 @@ def normalize_seq(seq):
try:
return list(map(normalize_token, seq))
except RecursionError:
- return str(uuid.uuid4())
+ if not config... |
dask__dask-7418 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/bag/text.py:read_text"
],
"edited_modules": [
"dask/bag/text.py:read_text"
]
},
"file": "dask/bag/text.py"
}
] | dask/dask | 0bc155eca6182eb0ee9bd3d671321e90235d17e5 | Maybe run HDFS tests based on commit message
In https://github.com/dask/dask/pull/7329 we added the ability to trigger a CI build for our upstream tests in PRs based on the content of a commit's message (otherwise upstream tests are run on pushes to the main branch or periodically on a cron we have set up in GitHub ac... | diff --git a/.github/workflows/ci-additional.yml b/.github/workflows/ci-additional.yml
index be299039f..eed1d4be0 100644
--- a/.github/workflows/ci-additional.yml
+++ b/.github/workflows/ci-additional.yml
@@ -31,9 +31,26 @@ jobs:
shell: bash -l {0}
run: source continuous_integration/scripts/run_tests.... |
dask__dask-7455 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/blockwise.py:Blockwise.__dask_distributed_pack__",
"dask/blockwise.py:make_blockwise_graph"
],
"edited_modules": [
"dask/blockwise.py:Blockwise",
"dask/blockwise... | dask/dask | 4bc3979333a3f3efff7ef38486107e60df7b5b56 | Blockwise with `concatenate=True` broken with LocalCluster + `optimize_graph=False`
**What happened**:
When using a LocalCluster (and probably the distributed scheduler in general), setting `optimize_graph=False` causes strange (and incorrect) behaviour in Blockwise with `concatentate=True`.
**What you expected t... | diff --git a/continuous_integration/environment-mindeps-distributed.yaml b/continuous_integration/environment-mindeps-distributed.yaml
index c41e78995..8742c65f6 100644
--- a/continuous_integration/environment-mindeps-distributed.yaml
+++ b/continuous_integration/environment-mindeps-distributed.yaml
@@ -10,7 +10,10 @@ ... |
dask__dask-7734 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/blockwise.py:blockwise",
"dask/blockwise.py:Blockwise.__dask_distributed_pack__"
],
"edited_modules": [
"dask/blockwise.py:blockwise",
"dask/blockwise.py:Blockwi... | dask/dask | 6f8ba09d0250045b6cdb99ca121b6a8eddac5142 | `DataFrame.map_partitions` fails when passing in auxiliary Dask collections on distributed only
**Minimal Complete Verifiable Example**:
```python
import dask
import dask.dataframe as dd
import dask.array as da
df = dask.datasets.timeseries(freq="1d")
arr = da.ones((8, 9), chunks=2)
mapped = df.map_partiti... | diff --git a/dask/blockwise.py b/dask/blockwise.py
index 11f21ca6a..b4cb0159a 100644
--- a/dask/blockwise.py
+++ b/dask/blockwise.py
@@ -259,12 +259,9 @@ def blockwise(
new_axes = {index_subs((k,), sub)[0]: v for k, v in new_axes.items()}
# Unpack dask values in non-array arguments
- argpairs = toolz.par... |
dask__dask-7740 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/dot.py:graphviz_to_file"
],
"edited_modules": [
"dask/dot.py:graphviz_to_file"
]
},
"file": "dask/dot.py"
},
{
"changes": {
"added_entities": null,
... | dask/dask | 3b5223cbb09377589b34bca44a9cb2eedf46fe95 | `dask.visualize` does not work with `filename=None`
According to the documentation for [`dask.visualize`](https://docs.dask.org/en/latest/api.html#dask.visualize),
> **If filename is None, no file will be written**, and we communicate with dot using only pipes.
Unfortunately, it seems this actually throws an erro... | diff --git a/dask/dot.py b/dask/dot.py
index 14a9fbf04..54c638e10 100644
--- a/dask/dot.py
+++ b/dask/dot.py
@@ -273,7 +273,12 @@ def dot_graph(dsk, filename="mydask", format=None, **kwargs):
def graphviz_to_file(g, filename, format):
fmts = [".png", ".pdf", ".dot", ".svg", ".jpeg", ".jpg"]
- if format is No... |
dask__dask-7744 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/array/gufunc.py:apply_gufunc"
],
"edited_modules": [
"dask/array/gufunc.py:apply_gufunc"
]
},
"file": "dask/array/gufunc.py"
},
{
"changes": {
"added... | dask/dask | 1a6a85258bccb14fe37bb54c211beeeffd46cd55 | apply_gufunc input validation fails to raise exception on extra args
**What happened**:
There is a missing raise in [apply_gufunc](https://github.com/dask/dask/blob/1a6a85258bccb14fe37bb54c211beeeffd46cd55/dask/array/gufunc.py#L343)
**What you expected to happen**:
ValueError to be raised.
This is later somehow fix... | diff --git a/dask/array/gufunc.py b/dask/array/gufunc.py
index b26297c27..f94133262 100644
--- a/dask/array/gufunc.py
+++ b/dask/array/gufunc.py
@@ -340,7 +340,7 @@ def apply_gufunc(func, signature, *args, **kwargs):
args = [asarray(a) for a in args]
if len(input_coredimss) != len(args):
- ValueError... |
dask__dask-7745 | [
{
"changes": {
"added_entities": [
"dask/dataframe/core.py:_Frame.add_prefix",
"dask/dataframe/core.py:_Frame.add_suffix"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"dask/dataframe/core.py:_Frame"
]
},
"file": "dask/... | dask/dask | eed298b2335401d2cb8e85ebb44888eb59937cf8 | Add support for `add_prefix and `add_suffix`
I tend to use these before doing DataFrame merges so that my column names (of the right merged dataframe) retain some semantic notion of where they came from. Switched to Dask and noticed these don't exist.
Is that a conscious decision to exclude or would you be welcome t... | diff --git a/dask/dataframe/core.py b/dask/dataframe/core.py
index 50424098f..85cbe8145 100644
--- a/dask/dataframe/core.py
+++ b/dask/dataframe/core.py
@@ -1679,6 +1679,20 @@ Dask Name: {name}, {task} tasks"""
result.divisions = (self.columns.min(), self.columns.max())
return handle_out(o... |
dask__dask-7761 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/dataframe/io/csv.py:CSVFunctionWrapper.project_columns"
],
"edited_modules": [
"dask/dataframe/io/csv.py:CSVFunctionWrapper"
]
},
"file": "dask/dataframe/io/csv.py... | dask/dask | c6b1426159ce7401bc4512c048ebe95ca33b94a7 | Dataframe column selection can mix up columns
Currently column selection when reading from CSV (and possibly other IO sources) can mix up column labels, with the wrong name attached to columns. I suspect that this is related to the column projection work that @rjzamora has been doing, but I haven't tracked down the sou... | diff --git a/dask/dataframe/io/csv.py b/dask/dataframe/io/csv.py
index 63cf025aa..076fe2254 100644
--- a/dask/dataframe/io/csv.py
+++ b/dask/dataframe/io/csv.py
@@ -68,6 +68,8 @@ class CSVFunctionWrapper:
"""Return a new CSVFunctionWrapper object with
a sub-column projection.
"""
+ # M... |
dask__dask-8185 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/utils.py:Dispatch.dispatch"
],
"edited_modules": [
"dask/utils.py:Dispatch"
]
},
"file": "dask/utils.py"
}
] | dask/dask | 9460bc4ed1295d240dd464206ec81b82d9f495e2 | Inconsistent Tokenization due to Lazy Registration
I am running into a case where objects are inconsistently tokenized due to lazy registration of pandas dispatch handlers.
Here is a minimal, reproducible example:
```
import dask
import pandas as pd
class CustomDataFrame(pd.DataFrame):
pass
custom... | diff --git a/dask/utils.py b/dask/utils.py
index ef2571bc5..afd10bd30 100644
--- a/dask/utils.py
+++ b/dask/utils.py
@@ -544,28 +544,26 @@ class Dispatch:
def dispatch(self, cls):
"""Return the function implementation for the given ``cls``"""
- # Fast path with direct lookup on cls
lk = ... |
dask__dask-8253 | [
{
"changes": {
"added_entities": [
"dask/array/core.py:_elemwise_normalize_where",
"dask/array/core.py:_elemwise_handle_where",
"dask/array/core.py:_elemwise_normalize_out"
],
"added_modules": [
"dask/array/core.py:_elemwise_normalize_where",
"dask/array... | dask/dask | a135dd96e1ec6a56f4c80a1c3ad29d50caabe848 | Bitwise operators mask (where parameter)
It seems that dask does not implement the `where` parameter in the bitwise operations but numpy does. It would be great to implement those to increase compatibility of the current function.
Here is the documentation in number for invert (bitwise_not)
https://numpy.org/doc/st... | diff --git a/dask/array/core.py b/dask/array/core.py
index aeba5aa62..18a49af87 100644
--- a/dask/array/core.py
+++ b/dask/array/core.py
@@ -4374,16 +4374,35 @@ def broadcast_shapes(*shapes):
return tuple(reversed(out))
-def elemwise(op, *args, out=None, **kwargs):
- """Apply elementwise function across arg... |
dask__dask-8316 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/delayed.py:optimize"
],
"edited_modules": [
"dask/delayed.py:optimize"
]
},
"file": "dask/delayed.py"
},
{
"changes": {
"added_entities": null,
... | dask/dask | 752555aa5d93ed359b49c4158a7418b7327a5664 | Specify worker ressource for dask.Delayed object with dask.annotate
I tried to execute a python function via the "dask.delayed" interface on different workers according to their resources via the "dask.annotate" context manager. According to [the doc](https://distributed.dask.org/en/latest/resources.html#resources-with... | diff --git a/dask/delayed.py b/dask/delayed.py
index 41c4beea0..1323ce4cb 100644
--- a/dask/delayed.py
+++ b/dask/delayed.py
@@ -16,10 +16,9 @@ from .base import (
)
from .base import tokenize as _tokenize
from .context import globalmethod
-from .core import quote
+from .core import flatten, quote
from .highlevelgr... |
dask__dask-8801 | [
{
"changes": {
"added_entities": [
"dask/config.py:_load_config_file"
],
"added_modules": [
"dask/config.py:_load_config_file"
],
"edited_entities": [
"dask/config.py:collect_yaml"
],
"edited_modules": [
"dask/config.py:collect_yaml"
... | dask/dask | 9634da11a5a6e5eb64cf941d2088aabffe504adb | Dask config fails to load
Hi,
I encounter an issue where I can succesfully install Dask from conda, but fails to import it later. I attached below a minimal example where:
- I highlight at the start conda/python versions
- I create and activate a blank conda environment with python 3.9
- install only dask with `con... | diff --git a/dask/config.py b/dask/config.py
index 282ef73a6..e7584dc02 100644
--- a/dask/config.py
+++ b/dask/config.py
@@ -147,6 +147,28 @@ def merge(*dicts: Mapping) -> dict:
return result
+def _load_config_file(path: str) -> dict | None:
+ """A helper for loading a config file from a path, and erroring
... |
dask__dask-9087 | [
{
"changes": {
"added_entities": [
"dask/multiprocessing.py:default_initializer"
],
"added_modules": [
"dask/multiprocessing.py:default_initializer"
],
"edited_entities": [
"dask/multiprocessing.py:get",
"dask/multiprocessing.py:initialize_worker_pro... | dask/dask | d70e2c8d60b7f610fb8a2174e53b9cabe782c41a | How do I initialize processes in `dask`'s multi-process scheduler?
The following code-snippet works for single and multi-threaded schedulers. But not for multi-process schedulers. And probably not for distributed-memory schedulers either.
```python
pims.ImageIOReader.class_priority = 100 # we set this very high in... | diff --git a/continuous_integration/scripts/install.sh b/continuous_integration/scripts/install.sh
index d7f271a39..60d88de09 100644
--- a/continuous_integration/scripts/install.sh
+++ b/continuous_integration/scripts/install.sh
@@ -19,7 +19,7 @@ if [[ ${UPSTREAM_DEV} ]]; then
# https://github.com/dask/dask/issues... |
dask__dask-9212 | [
{
"changes": {
"added_entities": [
"dask/base.py:normalize_enum"
],
"added_modules": [
"dask/base.py:normalize_enum"
],
"edited_entities": null,
"edited_modules": null
},
"file": "dask/base.py"
},
{
"changes": {
"added_entities": [
... | dask/dask | aa801de0f42716d977051f9abb9da2c9399da05c | Enum deterministic hashing
Hi,
Can we add a deterministic hashing behavior for Enum types ?
With current implementation, this code fails:
```python
from enum import Enum
from dask.base import tokenize
class Color(Enum):
RED = 1
BLUE = 2
assert tokenize(Color.RED) == tokenize(Color.RED)
```
... | diff --git a/dask/base.py b/dask/base.py
index 2e3e88aea..60b0f711e 100644
--- a/dask/base.py
+++ b/dask/base.py
@@ -13,6 +13,7 @@ from collections import OrderedDict
from collections.abc import Callable, Iterator, Mapping
from concurrent.futures import Executor
from contextlib import contextmanager
+from enum impor... |
dask__dask-9213 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask/base.py"
}
] | dask/dask | 0ee07e3cc1ccd822227545936c1be0c94f84ad54 | datetime.timedelta deterministic hashing
What happened:
It seams that python datetime.timedelta arguments in a pure delayed are generating inconsistant dask keys.
Minimal Complete Verifiable Example:
```python
import dask
import datetime
@dask.delayed(pure=True):
def test(obj):
return obj
dt = da... | diff --git a/dask/base.py b/dask/base.py
index 60b0f711e..91a8dbab2 100644
--- a/dask/base.py
+++ b/dask/base.py
@@ -949,6 +949,7 @@ normalize_token.register(
complex,
type(Ellipsis),
datetime.date,
+ datetime.timedelta,
),
identity,
)
|
dask__dask-9528 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask/base.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null... | dask/dask | f382d9e8439f5ed200da6ce66df7b2b33a0fc500 | Dask does not support tokenizing `datetime.time`, only `datetime.date` and `datetime.datetime`
Did not see a prior reported issue and very straightforward issue:
```
tokenize(time(1,2,3)) != tokenize(time(1,2,3))
```
PR in https://github.com/dask/dask/pull/9528
| diff --git a/dask/base.py b/dask/base.py
index 1af3559e7..4246d64ec 100644
--- a/dask/base.py
+++ b/dask/base.py
@@ -947,6 +947,7 @@ normalize_token.register(
complex,
type(Ellipsis),
datetime.date,
+ datetime.time,
datetime.timedelta,
pathlib.PurePath,
),
diff -... |
dask__dask-986 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask/bag/core.py:to_textfiles",
"dask/bag/core.py:Item.apply",
"dask/bag/core.py:Bag.map",
"dask/bag/core.py:Bag.filter",
"dask/bag/core.py:Bag.remove",
"dask/bag... | dask/dask | d82cf2ac3fa3a61912b7934afe7b2fe9e14cc4ff | dask.bag does not use hashed keys
We should use `tokenize` rather than the current `tokens` within dask.bag
cc @jcrist | diff --git a/dask/bag/core.py b/dask/bag/core.py
index fcc3119fb..2c4c9115b 100644
--- a/dask/bag/core.py
+++ b/dask/bag/core.py
@@ -5,11 +5,11 @@ import itertools
import math
import bz2
import os
+import uuid
from fnmatch import fnmatchcase
from glob import glob
from collections import Iterable, Iterator, defaul... |
dask__dask-glm-105 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_glm/algorithms.py:gradient_descent",
"dask_glm/algorithms.py:newton",
"dask_glm/algorithms.py:proximal_grad"
],
"edited_modules": [
"dask_glm/algorithms.py:gradi... | dask/dask-glm | 5194d6f709878cbcbdc4eed6852c3c35a5d3357a | New version breaks compatibility with non-dask data
**Describe the issue**:
Version 0.3.0 includes changes that break the compatibility of some functions - notably the families - to work with non-dask data.
As one example, the [newton](https://github.com/dask/dask-glm/blob/5194d6f709878cbcbdc4eed6852c3c35a5d3357... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 20d0b75..852d6c8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,5 +31,5 @@ jobs:
- name: Run pytest
shell: bash -l {0}
run: |
- pip install pytest
- pytest dask_glm
+ p... |
dask__dask-image-170 | [
{
"changes": {
"added_entities": [
"dask_image/ndmeasure/__init__.py:sum_labels"
],
"added_modules": [
"dask_image/ndmeasure/__init__.py:sum_labels"
],
"edited_entities": [
"dask_image/ndmeasure/__init__.py:sum"
],
"edited_modules": [
"da... | dask/dask-image | 78fabbfe6d97daaefee4747258ae278b1300b604 | DOC: How to create testing environments
Add a note to CONTRIBUTING.rst under the headings 'Fix bugs' and 'Implement features' to say how to create the development conda environment (they're hiding in the hidden folders for travis, appveyor and circleCI). As an example, PR ( https://github.com/dask/dask-image/pull/90 ) ... | diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 05e334d..1c53012 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -125,9 +125,71 @@ Before you submit a pull request, check that it meets these guidelines:
and make sure that the tests pass for all supported Python versions
and platforms.
-Tips
---... |
dask__dask-jobqueue-586 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_jobqueue/core.py:Job.__init__"
],
"edited_modules": [
"dask_jobqueue/core.py:Job"
]
},
"file": "dask_jobqueue/core.py"
},
{
"changes": {
"added_entit... | dask/dask-jobqueue | 1167281493c5bca596e3753ea3e16e21b5b28ed9 | PBSCluster hard codes account string for project
Currently `PBSCluster` accepts a project code as an argument and uses this with the account string, `-A`, option
https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/pbs.py#L96
PBS Pro has account string (`-A`) and project (`-P`) options:
https://gith... | diff --git a/dask_jobqueue/core.py b/dask_jobqueue/core.py
index ff7ecd1..0ed3dc5 100644
--- a/dask_jobqueue/core.py
+++ b/dask_jobqueue/core.py
@@ -285,7 +285,7 @@ class Job(ProcessInterface, abc.ABC):
if header_skip is not None:
warn = (
"header_skip has been renamed to job_dire... |
dask__dask-jobqueue-675 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_jobqueue/slurm.py:slurm_format_bytes_ceil"
],
"edited_modules": [
"dask_jobqueue/slurm.py:slurm_format_bytes_ceil"
]
},
"file": "dask_jobqueue/slurm.py"
}
] | dask/dask-jobqueue | b07308ea36da20ba4a109e53799e1dc26b613762 | The function slurm_format_bytes_ceil raises Typerror if input is less than 1024
The function "[slurm_format_bytes_ceil](https://github.com/dask/dask-jobqueue/blob/b07308ea36da20ba4a109e53799e1dc26b613762/dask_jobqueue/slurm.py#L115)" parses number of bytes to a string compatible with Slurm.
If input number of byte... | diff --git a/dask_jobqueue/slurm.py b/dask_jobqueue/slurm.py
index dba3786..7af75b1 100644
--- a/dask_jobqueue/slurm.py
+++ b/dask_jobqueue/slurm.py
@@ -116,13 +116,26 @@ def slurm_format_bytes_ceil(n):
"""Format bytes as text.
SLURM expects KiB, MiB or Gib, but names it KB, MB, GB. SLURM does not handle By... |
dask__dask-ml-622 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_ml/model_selection/utils.py:to_keys"
],
"edited_modules": [
"dask_ml/model_selection/utils.py:to_keys"
]
},
"file": "dask_ml/model_selection/utils.py"
}
] | dask/dask-ml | 42cf33b9ebed3535437426323ade63538d0dbbf1 | GridsearchCV with prescattered data
During a recent debug session with @TomAugspurger we thought that dask-ml could take advantage of data which was pre-scattered:
> client.scatter(data, broadcast=True)
Current understanding is that dask-ml will not take advantage of pre-scatter data as the call to `KFold` will c... | diff --git a/dask_ml/model_selection/utils.py b/dask_ml/model_selection/utils.py
index eab9c80f..4972cffd 100644
--- a/dask_ml/model_selection/utils.py
+++ b/dask_ml/model_selection/utils.py
@@ -85,7 +85,7 @@ def to_keys(dsk, *args):
yield x.key
else:
assert not is_dask_collection(x)
... |
dask__dask-ml-659 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask_ml/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_ml/model_se... | dask/dask-ml | 07591b7a07ed2122b9c45b19afc26a77e6b018ea | BaseEstimator tokenization may cause issues for fitted models
In https://github.com/dask/dask-ml/blob/master/dask_ml/model_selection/_normalize.py#L18-L24, we register a tokenizer for scikit-learn models that inherit from BaseEstimator. This can cause issues when we have multiple instances of the same model that have b... | diff --git a/dask_ml/__init__.py b/dask_ml/__init__.py
index df4c4253..ab311357 100644
--- a/dask_ml/__init__.py
+++ b/dask_ml/__init__.py
@@ -1,7 +1,18 @@
from pkg_resources import DistributionNotFound, get_distribution
+# Ensure we always register tokenizers
+from dask_ml.model_selection import _normalize
+
+__all... |
dask__dask-ml-707 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_ml/metrics/regression.py:mean_squared_error"
],
"edited_modules": [
"dask_ml/metrics/regression.py:mean_squared_error"
]
},
"file": "dask_ml/metrics/regression.py"... | dask/dask-ml | 382bbb606ab6d60ae1e15c7a5e78eb7b9e855275 | add squared arg to mean_squared_error
Was going though @jacobtomlinson dask tutorial and I saw
```
from dask_ml.metrics import mean_squared_error
from math import sqrt
sqrt(mean_squared_error(y_test, y_predicted))
```
Wonder if it's possible to add the squared arg - same as scikit-learn (https://scikit-lear... | diff --git a/dask_ml/metrics/regression.py b/dask_ml/metrics/regression.py
index afb98aa1..a72bb353 100644
--- a/dask_ml/metrics/regression.py
+++ b/dask_ml/metrics/regression.py
@@ -34,6 +34,7 @@ def mean_squared_error(
y_pred: ArrayLike,
sample_weight: Optional[ArrayLike] = None,
multioutput: Optional[... |
dask__dask-ml-743 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_ml/decomposition/truncated_svd.py:TruncatedSVD.__init__",
"dask_ml/decomposition/truncated_svd.py:TruncatedSVD.fit_transform"
],
"edited_modules": [
"dask_ml/decompositi... | dask/dask-ml | 4805ce2fa0e1c093b085f319dac4ef6b9cc4d4b5 | Allow lazily evaluated TruncateSVD results
I don't see any reason why the pca-specific parameters like these need to be computed immediately rather than leaving them as dask arrays: https://github.com/dask/dask-ml/blob/b94c587abae3f5667eff131b0616ad8f91966e7f/dask_ml/decomposition/truncated_svd.py#L181-L187
Is that ... | diff --git a/dask_ml/decomposition/truncated_svd.py b/dask_ml/decomposition/truncated_svd.py
index 4491278d..83cdb43e 100644
--- a/dask_ml/decomposition/truncated_svd.py
+++ b/dask_ml/decomposition/truncated_svd.py
@@ -8,7 +8,13 @@ from ..utils import svd_flip
class TruncatedSVD(BaseEstimator, TransformerMixin):
... |
dask__dask-ml-820 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask_ml/metrics/__init__.py"
},
{
"changes": {
"added_entities": [
"dask_ml/metrics/regression.py:mean_absolute_percentage_error"
... | dask/dask-ml | f5e5bb4d4d21782b0e93f0f6541e6f2501b0c06c | Behavior of regression metrics when multioutput=None is inconsistent with scikit-learn
**What happened**:
Using `multioutput=None` with the regression metrics in `dask_ml.metrics.regression` results in an error.
**What you expected to happen**:
I expected the behavior to be the same as the equivalent `scikit-l... | diff --git a/ci/posix.yaml b/ci/posix.yaml
index 8379f907..2904cd12 100644
--- a/ci/posix.yaml
+++ b/ci/posix.yaml
@@ -10,13 +10,13 @@ jobs:
matrix:
linux37:
envFile: 'ci/environment-3.7.yaml'
- SKLARN_DEV: "no"
+ SKLEARN_DEV: "no"
linux38:
envFile: 'ci/environment-3.8... |
dask__dask-ml-822 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "dask_ml/metrics/__init__.py"
},
{
"changes": {
"added_entities": [
"dask_ml/metrics/regression.py:mean_absolute_percentage_error"
... | dask/dask-ml | f5e5bb4d4d21782b0e93f0f6541e6f2501b0c06c | feature request: mean absolute percentage error
Add mean absolute percentage error here
https://github.com/dask/dask-ml/blob/master/dask_ml/metrics/regression.py
using https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/metrics/_regression.py#L197 | diff --git a/ci/posix.yaml b/ci/posix.yaml
index 8379f907..2904cd12 100644
--- a/ci/posix.yaml
+++ b/ci/posix.yaml
@@ -10,13 +10,13 @@ jobs:
matrix:
linux37:
envFile: 'ci/environment-3.7.yaml'
- SKLARN_DEV: "no"
+ SKLEARN_DEV: "no"
linux38:
envFile: 'ci/environment-3.8... |
dask__dask-yarn-115 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dask_yarn/core.py:_files_and_build_script"
],
"edited_modules": [
"dask_yarn/core.py:_files_and_build_script"
]
},
"file": "dask_yarn/core.py"
}
] | dask/dask-yarn | 8f5f97418ddf3287f00be2762a195499010bc3c8 | 'ZMQIOLoop' object has no attribute 'asyncio_loop'
Hi everyone,
First and foremost, many thanks for your efforts on this project - I'm very excited about it's potential, and have learned a lot just trying to debug this error!
**Issue I'm Seeing**
I am facing the below error when trying to initialize a YarnCluste... | diff --git a/dask_yarn/core.py b/dask_yarn/core.py
index 39b18b5..c241bbb 100644
--- a/dask_yarn/core.py
+++ b/dask_yarn/core.py
@@ -122,21 +122,19 @@ def _files_and_build_script(environment):
if scheme in {"conda", "venv", "python"}:
path = environment[len(scheme) + 3 :]
files = {}
+ if s... |
dask__distributed-2640 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/worker.py:Worker._close"
],
"edited_modules": [
"distributed/worker.py:Worker"
]
},
"file": "distributed/worker.py"
}
] | dask/distributed | e0cf7e7300c9dcf10b7440abb1e3efc6cea3a91a | `retire_workers` fails to close workers if TLS is enabled
When calling `retire_workers` on a cluster with `TLS` security, the worker is successfully removed from the cluster, but will fail in shutdown and endup in a hung state.
Steps to reproduce:
#### 1. Create Keypair:
```python
# create_keypair.py
from da... | diff --git a/distributed/worker.py b/distributed/worker.py
index 9f940f02..33010836 100644
--- a/distributed/worker.py
+++ b/distributed/worker.py
@@ -996,7 +996,12 @@ class Worker(ServerNode):
self.status = "closed"
if nanny and "nanny" in self.service_ports:
- with self.rpc(... |
dask__distributed-2969 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "distributed/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/... | dask/distributed | b083b10d64763b38e559096127d6e3e0c0638c31 | Serialization problem with arrow Tables?
I think the below code should work (but it doesn't) is this a bug or am I missing something?
Setup code
```python
import pandas as pd
import numpy as np
import pyarrow as pa
import pyarrow.parquet as pq
# create parquet files
filenames = []
for n in range(10):
... | diff --git a/distributed/__init__.py b/distributed/__init__.py
index ca36613c..d79993df 100644
--- a/distributed/__init__.py
+++ b/distributed/__init__.py
@@ -3,7 +3,7 @@ from dask.config import config
from .actor import Actor, ActorFuture
from .core import connect, rpc
from .deploy import LocalCluster, Adaptive, Sp... |
dask__distributed-3021 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/utils.py:format_dashboard_link"
],
"edited_modules": [
"distributed/utils.py:format_dashboard_link"
]
},
"file": "distributed/utils.py"
}
] | dask/distributed | 1ef4f70dc7f8fe048d11104ee8daad04b82227e9 | dashboard_link conflicts with environment variables (schema, host, and port)
I incidentally had an environment variable named `host` which prevented a the `cluster.dashboard_link` from rendering. I'm not suggesting a change, just making the error and workaround available in case someone else encounters it.
## Error
... | diff --git a/distributed/utils.py b/distributed/utils.py
index 9f14d58d..b7f6631c 100644
--- a/distributed/utils.py
+++ b/distributed/utils.py
@@ -1434,7 +1434,9 @@ def format_dashboard_link(host, port):
scheme = "https"
else:
scheme = "http"
- return template.format(scheme=scheme, host=host, ... |
dask__distributed-3921 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client.__init__",
"distributed/client.py:Client.start",
"distributed/client.py:Client._ensure_connected",
"distributed/client.py:Client.close"
],
... | dask/distributed | 833c5f6c040feaa4550fa343d8e6e4feef3f84d5 | RuntimeWarning: coroutine 'Client._close' was never awaited
I'm using a wrapper function to add semaphore functionality to a function I want to run in parallel and it's causing RuntimeWarnings to appear when I close the Client. Aside from the warnings, it seems to be working just how I intended.
Using dask version 2... | diff --git a/distributed/client.py b/distributed/client.py
index f214a303..919d9181 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -715,6 +715,7 @@ class Client:
)
self._start_arg = address
+ self._set_as_default = set_as_default
if set_as_default:
sel... |
dask__distributed-4850 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client.__init__",
"distributed/client.py:Client.start",
"distributed/client.py:Client._ensure_connected",
"distributed/client.py:Client.close"
],
... | dask/distributed | 833c5f6c040feaa4550fa343d8e6e4feef3f84d5 | DEBUG log messages imply UCX config options are invalid
When debugging is enabled, distributed outputs the following messages:
```
distributed.comm.ucx - DEBUG - Key: cuda_copy with value: False not a valid UCX configuration option.
distributed.comm.ucx - DEBUG - Key: tcp with value: False not a valid UCX configurat... | diff --git a/distributed/client.py b/distributed/client.py
index f214a303..919d9181 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -715,6 +715,7 @@ class Client:
)
self._start_arg = address
+ self._set_as_default = set_as_default
if set_as_default:
sel... |
dask__distributed-5065 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/comm/utils.py:to_frames"
],
"edited_modules": [
"distributed/comm/utils.py:to_frames"
]
},
"file": "distributed/comm/utils.py"
},
{
"changes": {
... | dask/distributed | 5f01fe6010a0a3621956920d0260ac5f0111f17d | Bokeh is validating properties
I'm noticing that my laptop is hot even with an idle cluster. I brought up the profile-server chart to look at what was going on and it looks like Bokeh is pretty active validating properties, which it shouldn't be doing. I looked at the line profile and found that for example, this lin... | diff --git a/distributed/comm/utils.py b/distributed/comm/utils.py
index 5301265c..0ce4f8f8 100644
--- a/distributed/comm/utils.py
+++ b/distributed/comm/utils.py
@@ -19,19 +19,18 @@ if isinstance(OFFLOAD_THRESHOLD, str):
async def to_frames(
- msg, serializers=None, on_error="message", context=None, allow_offl... |
dask__distributed-5118 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "distributed/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/... | dask/distributed | 117d27781e05149c0d745376641ed9ca33269245 | Nanny Plugins
We currently have Worker plugins and Scheduler plugins. I think that there are a few situations where having a Nanny plugin would be useful.
### Motivation
Nannies can run code before the process starts up. This makes them helpful in owning the environment of a dask worker. In particular, the fol... | diff --git a/distributed/__init__.py b/distributed/__init__.py
index 92a62a30..9f7a8d6f 100644
--- a/distributed/__init__.py
+++ b/distributed/__init__.py
@@ -21,7 +21,15 @@ from .client import (
)
from .core import Status, connect, rpc
from .deploy import Adaptive, LocalCluster, SpecCluster, SSHCluster
-from .diagn... |
dask__distributed-5175 | [
{
"changes": {
"added_entities": [
"distributed/scheduler.py:SchedulerState.transition_no_worker_memory"
],
"added_modules": null,
"edited_entities": [
"distributed/scheduler.py:SchedulerState.__init__"
],
"edited_modules": [
"distributed/scheduler.py:... | dask/distributed | 3d73623da9c9575d87aa4284da7ab652619845e7 | Dask Dashboard "More" tab not accessible from "Workers" tab
**What happened**:
When on the "Workers" page of the Dask Dashboard, the "More" tab is not fully accessible.
It drops down but I can't navigate to any items past "Groups". Seems like there's a conflict with the underlaying information in the read/write colu... | diff --git a/distributed/http/static/css/base.css b/distributed/http/static/css/base.css
index 0cc3583a..78607c7a 100644
--- a/distributed/http/static/css/base.css
+++ b/distributed/http/static/css/base.css
@@ -102,6 +102,10 @@ body {
right: 4px;
}
+.bk-root .bk-data-table {
+ z-index: 0;
+}
+
.content {
wid... |
dask__distributed-5488 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/comm/ucx.py:UCX.write",
"distributed/comm/ucx.py:UCX.read"
],
"edited_modules": [
"distributed/comm/ucx.py:UCX"
]
},
"file": "distributed/comm/ucx.p... | dask/distributed | 76495965cf8d3fb5f54bb4b8d20279ae402e0957 | Client spews errors in JupyterLab during `compute`
In recent versions of distributed, during a compute, tons of errors sometimes start spewing out in JupyterLab like this:

... | diff --git a/README.rst b/README.rst
index 4a539443..119ba559 100644
--- a/README.rst
+++ b/README.rst
@@ -1,7 +1,7 @@
Distributed
===========
-|Test Status| |Coverage| |Doc Status| |Gitter| |Version Status| |NumFOCUS|
+|Test Status| |Coverage| |Doc Status| |Discourse| |Version Status| |NumFOCUS|
A library for d... |
dask__distributed-5548 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client._dump_cluster_state",
"distributed/client.py:Client.dump_cluster_state"
],
"edited_modules": [
"distributed/client.py:Client"
]
},
... | dask/distributed | bb2152abcde7b15d5dd3d964b0a440f5b27052c3 | Deserialization warning with Bokeh 2.1
The dashboard broke under 2.1. It has been resolved in #3904
However, we're still getting a deserialization error like the following:
```python-traceback
message: Message 'PATCH-DOC' content: {'references': [], 'events': [{'kind': 'ModelChanged', 'model': {'id': '1683'},... | diff --git a/distributed/client.py b/distributed/client.py
index 10dc3497..c78f1dd2 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -16,7 +16,7 @@ import uuid
import warnings
import weakref
from collections import defaultdict
-from collections.abc import Iterator
+from collections.abc import Awaita... |
dask__distributed-5699 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client.register_scheduler_plugin",
"distributed/client.py:Client.register_worker_plugin"
],
"edited_modules": [
"distributed/client.py:Client"
]
... | dask/distributed | 30ffa9c67c786f043566b6e03c090e36775e904d | `distributed.Client.register_worker_plugin` silently discards `**kwargs`
**What happened**:
An issue was [raised in slack](https://coiled-users.slack.com/archives/C0195GJKQ1G/p1643038235023300) regarding `UploadPlugin` failing to update the `sys.path` or restart workers. It was clear from the example code that `update... | diff --git a/distributed/client.py b/distributed/client.py
index 6ab04f9b..ce1dfa46 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -4531,15 +4531,25 @@ class Client(SyncMethodMixin):
Parameters
----------
plugin : SchedulerPlugin
- Plugin class or object to pass ... |
dask__distributed-5805 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/dashboard/components/scheduler.py:WorkerTable.__init__",
"distributed/dashboard/components/scheduler.py:WorkerTable.update"
],
"edited_modules": [
"distributed/da... | dask/distributed | b6e637faeb5bceaaf07c40ddb3c5cdb99dfe5a06 | Spill to constrained disk space
# Use case
This has been raised offline by a power user.
Their workers have limited disk space - frequently less than the amount of RAM. At the moment, the user has completely disabled spilling as the spill file will occupy all available space and when that happens OSErrors will start ... | diff --git a/distributed/dashboard/components/scheduler.py b/distributed/dashboard/components/scheduler.py
index d8eab514..1dc529b1 100644
--- a/distributed/dashboard/components/scheduler.py
+++ b/distributed/dashboard/components/scheduler.py
@@ -3044,7 +3044,7 @@ class WorkerTable(DashboardComponent):
"me... |
dask__distributed-5822 | [
{
"changes": {
"added_entities": [
"distributed/__init__.py:__getattr__"
],
"added_modules": [
"distributed/__init__.py:__getattr__"
],
"edited_entities": null,
"edited_modules": null
},
"file": "distributed/__init__.py"
}
] | dask/distributed | 9a266a049905004241701be0fde54a7866912267 | importing distributed runs 4 `git` subprocesses in CI (when installed with -e)
I noticed that tests that run a dask subprocess are often flakey on CI (especially so on low performance macos runners)
https://github.com/dask/distributed/runs/4922796526?check_suite_focus=true#step:12:1849
This is an example of a proce... | diff --git a/distributed/__init__.py b/distributed/__init__.py
index e44a119c..d33514ab 100644
--- a/distributed/__init__.py
+++ b/distributed/__init__.py
@@ -1,10 +1,12 @@
from . import config # isort:skip; load distributed configuration first
from . import widgets # isort:skip; load distributed widgets second
+
+... |
dask__distributed-5878 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/nanny.py:Nanny.__init__"
],
"edited_modules": [
"distributed/nanny.py:Nanny"
]
},
"file": "distributed/nanny.py"
},
{
"changes": {
"added_enti... | dask/distributed | fb8484ece6fd320a5c79d3ec0a07c72913905adb | `test_spill_hysteresis` flaky on ubuntu
This test was already marked as flaky in https://github.com/dask/distributed/issues/5840 for other OS but I've seen a failure on ubuntu as well, see https://github.com/fjetter/distributed/runs/5288437230?check_suite_focus=true
(This is a branch where I am testing things around... | diff --git a/distributed/nanny.py b/distributed/nanny.py
index 55c7838d..65a2d303 100644
--- a/distributed/nanny.py
+++ b/distributed/nanny.py
@@ -13,7 +13,7 @@ from contextlib import suppress
from inspect import isawaitable
from queue import Empty
from time import sleep as sync_sleep
-from typing import ClassVar
+f... |
dask__distributed-6003 | [
{
"changes": {
"added_entities": [
"distributed/cli/dask_worker.py:_apportion_ports"
],
"added_modules": [
"distributed/cli/dask_worker.py:_apportion_ports"
],
"edited_entities": [
"distributed/cli/dask_worker.py:main"
],
"edited_modules": [
... | dask/distributed | ccb03628781206a6f1c34080047774b2219557a3 | Migrate `ensure_computing` transitions to new `WorkerState` event mechanism
The task executing transitions should be migrated to the `WorkerState` event mechanism as outlined in https://github.com/dask/distributed/issues/5736#issuecomment-1040599751
- The `Worker.execute` method is modified such that it no longer pe... | diff --git a/distributed/cli/dask_worker.py b/distributed/cli/dask_worker.py
index f13672a4..376f2a1c 100755
--- a/distributed/cli/dask_worker.py
+++ b/distributed/cli/dask_worker.py
@@ -1,3 +1,5 @@
+from __future__ import annotations
+
import asyncio
import atexit
import gc
@@ -6,7 +8,9 @@ import os
import signal
... |
dask__distributed-6037 | [
{
"changes": {
"added_entities": [
"distributed/cli/dask_worker.py:_apportion_ports"
],
"added_modules": [
"distributed/cli/dask_worker.py:_apportion_ports"
],
"edited_entities": [
"distributed/cli/dask_worker.py:main"
],
"edited_modules": [
... | dask/distributed | 190a739002e5f65d7bb85a8ec540b71d0f18f15e | Python 3.9 CI broken: fsspec and s3fs git tips are incompatible
``mamba env create`` on all Python 3.9 CI builds has started failing with this message:
```
The conflict is caused by:
The user requested fsspec 2021.9.0 (from git+https://github.com/intake/filesystem_spec)
dask 2021.9.1+5.g9460bc4e depen... | diff --git a/continuous_integration/environment-3.10.yaml b/continuous_integration/environment-3.10.yaml
index 8e0753e0..f48a2df9 100644
--- a/continuous_integration/environment-3.10.yaml
+++ b/continuous_integration/environment-3.10.yaml
@@ -17,6 +17,7 @@ dependencies:
- ipykernel
- ipywidgets
- jinja2
+ - j... |
dask__distributed-6700 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client.wait_for_workers"
],
"edited_modules": [
"distributed/client.py:Client"
]
},
"file": "distributed/client.py"
},
{
"changes": {
... | dask/distributed | 1baa5ffb1932ce652827c790ac68b8cf7130a3ec | add `cluster.wait_for_workers` (called by `client.wait_for_workers` if the `client.client` exists)
Currently users call `client.wait` to wait for a certain number of workers.
Currently a common pattern is:
```
cluster.scale(100)
client.wait_for_workers(100)
```
Cluster managers (like Coiled) would like to i... | diff --git a/distributed/client.py b/distributed/client.py
index 264fe232..8c897e96 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -1458,7 +1458,11 @@ class Client(SyncMethodMixin):
raise ValueError(
f"`n_workers` must be a positive integer. Instead got {n_workers}."
... |
dask__distributed-7573 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/core.py:addr_from_args",
"distributed/core.py:ConnectionPool.__init__",
"distributed/core.py:ConnectionPool._validate",
"distributed/core.py:ConnectionPool.active",
... | dask/distributed | 10fb727e32b7bd1c37bc402a115a90250fd06e21 | dask-scheduler --jupyter fails to start
<!-- Please include a self-contained copy-pastable example that generates the issue if possible.
Please be concise with code posted. See guidelines below on how to provide a good bug report:
- Craft Minimal Bug Reports http://matthewrocklin.com/blog/work/2018/02/28/minimal-... | diff --git a/.github/workflows/update-gpuci.yaml b/.github/workflows/update-gpuci.yaml
index d40aca0c..ab15bbc5 100644
--- a/.github/workflows/update-gpuci.yaml
+++ b/.github/workflows/update-gpuci.yaml
@@ -42,8 +42,8 @@ jobs:
run: |
echo RAPIDS_VER=${{ steps.rapids_current.outputs.RAPIDS_VER_0 }} >... |
dask__distributed-7609 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client._restart_workers",
"distributed/client.py:Client.restart_workers"
],
"edited_modules": [
"distributed/client.py:Client"
]
},
"file"... | dask/distributed | df325c424716d71c537b8e5b05ff17f2bf56684b | Ensure one CI job runs without pyarrow but with numpy
P2P rechunking is an important new feature that requires numpy to be installed. We only have test jobs in our matrix that are installing pyarrow + numpy or neither but we should have a job running that only installs numpy.
This likely requires us to introduce a m... | diff --git a/distributed/client.py b/distributed/client.py
index 2b47b000..4f3bc10b 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -3500,8 +3500,8 @@ class Client(SyncMethodMixin):
async def _restart_workers(
self, workers: list[str], timeout: int | float | None = None
- ):
- ... |
dask__distributed-7729 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/compatibility.py:randbytes"
],
"edited_modules": [
"distributed/compatibility.py:randbytes"
]
},
"file": "distributed/compatibility.py"
},
{
"change... | dask/distributed | e1944ec71cc8f388277bd4223566fdce0e0526d5 | Scheduler crashes in SSHCluster in 2023.3.2 but not in 2023.3.1
**Describe the issue**: Attempting to use the SSHCluster does not work in 2023.3.2 because the scheduler exits early with an exit code of 1
```
INFO:distributed.deploy.ssh:2023-03-29 18:21:07,199 - distributed.http.proxy - INFO - To route to workers di... | diff --git a/distributed/compatibility.py b/distributed/compatibility.py
index 30498da6..851a860b 100644
--- a/distributed/compatibility.py
+++ b/distributed/compatibility.py
@@ -42,17 +42,10 @@ else:
if sys.version_info >= (3, 9):
from random import randbytes
else:
- try:
- import numpy
+ from rand... |
dask__distributed-7758 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/http/scheduler/prometheus/core.py:SchedulerMetricCollector.collect"
],
"edited_modules": [
"distributed/http/scheduler/prometheus/core.py:SchedulerMetricCollector"
... | dask/distributed | 1ccc312a3d240609a84e973f5bdc7d01eb042a22 | Fine performance metrics: measure time spent entering/exiting thread pools
- Part of #7665
- Related to #7655
- Related to #5882
When investigating #7655, I got the suspicion that we may have a bottleneck caused by the fact that there's only one worker in the offload executor.
Additionally, there's a known issu... | diff --git a/.github/workflows/update-gpuci.yaml b/.github/workflows/update-gpuci.yaml
index 08f07301..ec172425 100644
--- a/.github/workflows/update-gpuci.yaml
+++ b/.github/workflows/update-gpuci.yaml
@@ -54,7 +54,7 @@ jobs:
regex: false
- name: Create Pull Request
- uses: peter-evans/creat... |
dask__distributed-7786 | [
{
"changes": {
"added_entities": null,
"added_modules": [
"distributed/client.py:SourceCode"
],
"edited_entities": [
"distributed/client.py:Client._get_computation_code",
"distributed/client.py:Client._graph_to_futures",
"distributed/client.py:performance_... | dask/distributed | ff6327fde48cbfaface6f3b2108e93f5bb460096 | Capture line number for code frames
I'd love if the line number was captured for computations. This would allow us to add an indicator to the calling line in what is potentially a sea of function calls. The line-number should be available.
https://github.com/dask/distributed/blob/515dffe40bfceb3141c7e72df7ee4de74d35... | diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml
index fb289ae8..c22261ef 100644
--- a/.github/workflows/conda.yml
+++ b/.github/workflows/conda.yml
@@ -35,9 +35,10 @@ jobs:
miniforge-variant: Mambaforge
use-mamba: true
python-version: 3.9
+ channel-priori... |
dask__distributed-7811 | [
{
"changes": {
"added_entities": [
"distributed/client.py:as_completed._anext"
],
"added_modules": null,
"edited_entities": [
"distributed/client.py:as_completed.__init__",
"distributed/client.py:as_completed.__next__",
"distributed/client.py:as_completed.... | dask/distributed | 8301cb709eb11d93c3cda01a5b7a1b8c1a5609c7 | add a timeout to client.as_completed that mirrors concurrent.futures.as_completed's timeout
the timeout kwarg should work the same as https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.as_completed ie Futures that exceed the timeout are not cancelled, and
> The returned iterator raises a [T... | diff --git a/distributed/client.py b/distributed/client.py
index 08e8c252..413c41c2 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -48,7 +48,7 @@ from dask.widgets import get_template
from distributed.core import ErrorMessage
from distributed.protocol.serialize import _is_dumpable
-from distribut... |
dask__distributed-7885 | [
{
"changes": {
"added_entities": [
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics.get_metrics"
],
"added_modules": null,
"edited_entities": [
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics.init_root",
"distributed/dash... | dask/distributed | 36c912147a7849912816d1ca4111954ae01a43d1 | Fine performance metrics: apportion to Computations
- Part of https://github.com/dask/distributed/issues/7665
Computation objects are commonly used by third-party Scheduler plugins (e.g. Coiled Analytics) to visualize data.
They can be crudely defined as everything that happened to the cluster between two moments w... | diff --git a/distributed/dashboard/components/scheduler.py b/distributed/dashboard/components/scheduler.py
index 23f863b6..238f1acf 100644
--- a/distributed/dashboard/components/scheduler.py
+++ b/distributed/dashboard/components/scheduler.py
@@ -7,6 +7,7 @@ import os
from collections import OrderedDict, defaultdict
... |
dask__distributed-7961 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics.__init__",
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics._build_data_sources",
"distributed/d... | dask/distributed | 9b9f948b8143fee43887a941a3304273beed4a50 | Metrics introduce non-trivial overhead
I recently noticed that our per-task overhead increased to an extend that is not critical but still concerning.
To test this, I ran a very simple workload
```python
from distributed import Client
with Client() as c:
def inc(x):
return x + 1
... | diff --git a/distributed/dashboard/components/scheduler.py b/distributed/dashboard/components/scheduler.py
index a274c7ec..c80758cc 100644
--- a/distributed/dashboard/components/scheduler.py
+++ b/distributed/dashboard/components/scheduler.py
@@ -3392,6 +3392,7 @@ class FinePerformanceMetrics(DashboardComponent):
... |
dask__distributed-7997 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client._gather_remote"
],
"edited_modules": [
"distributed/client.py:Client"
]
},
"file": "distributed/client.py"
},
{
"changes": {
... | dask/distributed | 9255987840c0b6c391c9f93e090163688eed1713 | Client/Scheduler gather not robust to busy worker
When I run a lot of tasks on the CNES HPC with a big Dask cluster (512 threads/128 workers), I sometimes have communication errors between the scheduler and the workers. The error is thrown by the module "distributed/utils_comm.py," because the code tries to read the ke... | diff --git a/distributed/client.py b/distributed/client.py
index 290feabd..4e424a73 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -2319,7 +2319,7 @@ class Client(SyncMethodMixin):
result = pack_data(unpacked, merge(data, bad_data))
return result
- async def _gather_remote(self... |
dask__distributed-8013 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/diagnostics/plugin.py:SchedulerPlugin.transition",
"distributed/diagnostics/plugin.py:SchedulerPlugin.remove_worker"
],
"edited_modules": [
"distributed/diagnosti... | dask/distributed | b7e5f8f97ef0eb95368122f29ac8915ae692f94e | Regression: frequent deadlocks when gather_dep fails to contact peer
`test_worker_metrics.py::test_gather_dep_network_error` has started being heavily flaky recently.
The failure has nothing to do with metrics; a `Worker.gather_dep` method that fails to open a new RPC channel to its peer seems now to be left dangling ... | diff --git a/distributed/diagnostics/plugin.py b/distributed/diagnostics/plugin.py
index 93fbf2a7..02ae91a2 100644
--- a/distributed/diagnostics/plugin.py
+++ b/distributed/diagnostics/plugin.py
@@ -123,6 +123,7 @@ class SchedulerPlugin:
start: TaskStateState,
finish: TaskStateState,
*args: A... |
dask__distributed-8016 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/worker.py:Worker.gather_dep"
],
"edited_modules": [
"distributed/worker.py:Worker"
]
},
"file": "distributed/worker.py"
}
] | dask/distributed | d9a3457dc4b6019e428964e58c551cf0b3c9786f | P2P blows up memory
<!-- Please include a self-contained copy-pastable example that generates the issue if possible.
Please be concise with code posted. See guidelines below on how to provide a good bug report:
- Craft Minimal Bug Reports http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports
- Minim... | diff --git a/distributed/worker.py b/distributed/worker.py
index fd4941a2..fe52f796 100644
--- a/distributed/worker.py
+++ b/distributed/worker.py
@@ -2081,7 +2081,10 @@ class Worker(BaseWorker, ServerNode):
stimulus_id=f"gather-dep-success-{time()}",
)
- except OSError:
+ ... |
dask__distributed-8073 | [
{
"changes": {
"added_entities": [
"distributed/scheduler.py:Scheduler._match_graph_with_tasks",
"distributed/scheduler.py:Scheduler._create_taskstate_from_graph",
"distributed/scheduler.py:_materialize_graph"
],
"added_modules": [
"distributed/scheduler.py:_mat... | dask/distributed | eb297b3e7f4d045f80be0a5b50b42a579adc37ee | LocalCluster: discrepancy default option code & documentation
<!-- Please include a self-contained copy-pastable example that generates the issue if possible.
Please be concise with code posted. See guidelines below on how to provide a good bug report:
- Craft Minimal Bug Reports http://matthewrocklin.com/blog/wo... | diff --git a/distributed/deploy/local.py b/distributed/deploy/local.py
index 9a9fde7c..69f5d8af 100644
--- a/distributed/deploy/local.py
+++ b/distributed/deploy/local.py
@@ -49,7 +49,7 @@ class LocalCluster(SpecCluster):
threads_per_worker: int
Number of threads per each worker
scheduler_port: int
-... |
dask__distributed-8201 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/client.py:Client.__init__",
"distributed/client.py:Client._start",
"distributed/client.py:Client.close",
"distributed/client.py:Client._scatter",
"distributed... | dask/distributed | 285893037fe9eac83f363611b4799168aabb3992 | gpu CI failing pretty consistently with segfault
I've noticed gpuCI has been failing pretty consistently (for example, [this build](https://gpuci.gpuopenanalytics.com/job/dask/job/distributed/job/prb/job/distributed-prb/7578/CUDA_VER=11.5,LINUX_VER=ubuntu18.04,PYTHON_VER=3.9,RAPIDS_VER=23.10/console) and [this build](... | diff --git a/distributed/client.py b/distributed/client.py
index d02327ca..1422394b 100644
--- a/distributed/client.py
+++ b/distributed/client.py
@@ -35,6 +35,7 @@ from dask.base import collections_to_dsk, normalize_token, tokenize
from dask.core import flatten, validate_key
from dask.highlevelgraph import HighLevel... |
dask__distributed-8240 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/active_memory_manager.py:ReduceReplicas.run"
],
"edited_modules": [
"distributed/active_memory_manager.py:ReduceReplicas"
]
},
"file": "distributed/active_m... | dask/distributed | 9a8b380d2f4a6087c5d4cdd916fc8504e88ea227 | `ReduceReplicas.run` requires non-trivial amount of time on the scheduler
While profiling a large scale computation (1.6MM tasks) I noticed how `ReduceReplicas.run` requires a non-trivial amount of time.
In the profile I am looking at it it runs for about 200ms every 2s, i.e. it is taking about 10% of the entire CPU... | diff --git a/distributed/active_memory_manager.py b/distributed/active_memory_manager.py
index a45bfd1d..c1f2452d 100644
--- a/distributed/active_memory_manager.py
+++ b/distributed/active_memory_manager.py
@@ -533,11 +533,17 @@ class ReduceReplicas(ActiveMemoryManagerPolicy):
for ts in self.manager.scheduler.... |
dask__distributed-8364 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/shuffle/_core.py:ShuffleRun.add_partition",
"distributed/shuffle/_core.py:ShuffleRun.get_output_partition"
],
"edited_modules": [
"distributed/shuffle/_core.py:Sh... | dask/distributed | 4d41d326b3aa63db3c3861d7fd2676c77af42207 | Use metering for P2P shuffling instrumentation
The P2P extensions (primarily the buffers) are implementing their own version for diagnostics, e.g. here https://github.com/dask/distributed/blob/429ef8cc682da36017a28e061d1c773066470fe3/distributed/shuffle/_buffer.py#L267-L272
I think P2P diagnostics would greatly bene... | diff --git a/distributed/shuffle/_core.py b/distributed/shuffle/_core.py
index 134f310d..f04079a8 100644
--- a/distributed/shuffle/_core.py
+++ b/distributed/shuffle/_core.py
@@ -24,6 +24,7 @@ from dask.utils import parse_timedelta
from distributed.core import PooledRPCCall
from distributed.exceptions import Resche... |
dask__distributed-8366 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics._build_data_sources"
],
"edited_modules": [
"distributed/dashboard/components/scheduler.py:FinePerformanceMetrics... | dask/distributed | 952b650814631429c2707e564757c2d992043640 | Use metering for P2P shuffling instrumentation
The P2P extensions (primarily the buffers) are implementing their own version for diagnostics, e.g. here https://github.com/dask/distributed/blob/429ef8cc682da36017a28e061d1c773066470fe3/distributed/shuffle/_buffer.py#L267-L272
I think P2P diagnostics would greatly bene... | diff --git a/distributed/dashboard/components/scheduler.py b/distributed/dashboard/components/scheduler.py
index aacd4b21..b7a41515 100644
--- a/distributed/dashboard/components/scheduler.py
+++ b/distributed/dashboard/components/scheduler.py
@@ -3614,21 +3614,23 @@ class FinePerformanceMetrics(DashboardComponent):
... |
dask__distributed-8367 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/actor.py:BaseActorFuture.result",
"distributed/actor.py:BaseActorFuture.done"
],
"edited_modules": [
"distributed/actor.py:BaseActorFuture"
]
},
"fi... | dask/distributed | 927318617873a888ff2750ae3210d96c0a46522e | Use metering for P2P shuffling instrumentation
The P2P extensions (primarily the buffers) are implementing their own version for diagnostics, e.g. here https://github.com/dask/distributed/blob/429ef8cc682da36017a28e061d1c773066470fe3/distributed/shuffle/_buffer.py#L267-L272
I think P2P diagnostics would greatly bene... | diff --git a/distributed/actor.py b/distributed/actor.py
index 88b7421e..1fdbf5da 100644
--- a/distributed/actor.py
+++ b/distributed/actor.py
@@ -246,11 +246,11 @@ class BaseActorFuture(abc.ABC, Awaitable[_T]):
@abc.abstractmethod
def result(self, timeout: str | timedelta | float | None = None) -> _T:
- ... |
dask__distributed-8371 | [
{
"changes": {
"added_entities": [
"distributed/scheduler.py:Scheduler._check_no_workers"
],
"added_modules": null,
"edited_entities": [
"distributed/scheduler.py:Scheduler.__init__",
"distributed/scheduler.py:Scheduler.check_idle"
],
"edited_modules":... | dask/distributed | b95cf9643c011d8f6a188013982504c9aac3fcb5 | Eventually shut down scheduler when no workers return
Currently, a scheduler is not considered idle if it has tasks waiting to be processed but no workers that could process them: https://github.com/hendrikmakait/distributed/blob/4b10aa7068ff8a67cc756ef0c91f5553429963f3/distributed/scheduler.py#L7966-L7972
This make... | diff --git a/distributed/distributed-schema.yaml b/distributed/distributed-schema.yaml
index fffb9b37..71d3cd18 100644
--- a/distributed/distributed-schema.yaml
+++ b/distributed/distributed-schema.yaml
@@ -76,7 +76,20 @@ properties:
description: |
Shut down the scheduler after this duration... |
dask__distributed-8447 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"distributed/protocol/core.py:dumps"
],
"edited_modules": [
"distributed/protocol/core.py:dumps"
]
},
"file": "distributed/protocol/core.py"
}
] | dask/distributed | 5c481ddcbf77ce814797d663068d6c0651844caf | `distributed.protocol.dumps` does not handle objects not serializable via `msgpack.dumps` as suggested by docstring
When using `distributed.protocol.dumps` to serialize arbitrary data, it fails and raises a `TypeError`. The docstring suggests it should be able to handle this.
**Minimal Complete Verifiable Example**:... | diff --git a/distributed/protocol/core.py b/distributed/protocol/core.py
index e698335a..fbeaabc3 100644
--- a/distributed/protocol/core.py
+++ b/distributed/protocol/core.py
@@ -11,6 +11,7 @@ from distributed.protocol.serialize import (
Serialize,
Serialized,
ToPickle,
+ _is_msgpack_serializable,
... |
dask__fastparquet-842 | [
{
"changes": {
"added_entities": [
"fastparquet/writer.py:_rows_per_page"
],
"added_modules": [
"fastparquet/writer.py:_rows_per_page"
],
"edited_entities": [
"fastparquet/writer.py:infer_object_encoding",
"fastparquet/writer.py:make_definitions",
... | dask/fastparquet | 876a5c6ad12225f536c9f028d1f3450c7646d1b6 | OverflowError with a 3GB, 11M-line JSONL file
The following was run on Ubuntu 20 on a `e2-highcpu-32` GCP VM with 32 GB of RAM and 32 vCPUs.
I downloaded the California dataset from https://github.com/microsoft/USBuildingFootprints and converted it from JSONL into Parquet with pyarrow and I attempted to do the same ... | diff --git a/fastparquet/writer.py b/fastparquet/writer.py
index dbff11f..a26e49a 100644
--- a/fastparquet/writer.py
+++ b/fastparquet/writer.py
@@ -322,26 +322,39 @@ def convert(data, se):
def infer_object_encoding(data):
- head = data[:10] if isinstance(data, pd.Index) else data.dropna().iloc[:10]
- if all... |
dask__fastparquet-940 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"fastparquet/api.py:ParquetFile.statistics"
],
"edited_modules": [
"fastparquet/api.py:ParquetFile"
]
},
"file": "fastparquet/api.py"
}
] | dask/fastparquet | 0f7a98eac60771685f853f8a955787b7c82a5d18 | ``statistics`` does not work on a ParquetFile subset?
**Describe the issue**:
**Minimal Complete Verifiable Example**:
```python
import pandas as pd
import fastparquet as fp
fp.write(filename="small_df", data=pd.DataFrame({'a':[1,2,3]}), row_group_offsets=[0,2], file_scheme="hive")
pf = fp.ParquetFile("smal... | diff --git a/fastparquet/api.py b/fastparquet/api.py
index c54e5eb..3f6f781 100644
--- a/fastparquet/api.py
+++ b/fastparquet/api.py
@@ -260,7 +260,7 @@ class ParquetFile(object):
@property
def statistics(self):
- if self._statistics is None:
+ if not hasattr(self, '_statistics') or self._stat... |
dask__zict-13 | [
{
"changes": {
"added_entities": [
"zict/file.py:_unsafe_key"
],
"added_modules": [
"zict/file.py:_unsafe_key"
],
"edited_entities": [
"zict/file.py:File.__str__",
"zict/file.py:File.__getitem__",
"zict/file.py:File.__contains__",
"zi... | dask/zict | 4621b4c40456b3dd00eab9ce8e9d3742b080833c | File.__contains__ is slow
It is convenient in Dask to frequently check if a key is present in the `.data` dictionary. Unfortunately this is slow, due to calls to both `os.path.exists` and `_safe_key`. | diff --git a/zict/file.py b/zict/file.py
index c561471..0b45752 100644
--- a/zict/file.py
+++ b/zict/file.py
@@ -3,9 +3,9 @@ from __future__ import absolute_import, division, print_function
import errno
import os
try:
- from urllib.parse import quote
+ from urllib.parse import quote, unquote
except ImportErro... |
dask__zict-64 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"zict/common.py:ZictBase.update"
],
"edited_modules": [
"zict/common.py:ZictBase"
]
},
"file": "zict/common.py"
}
] | dask/zict | 6850845b645aea71bac342db9cafc8ed9546db4d | Memory flare on Func.update() with File backend
Consider:
```python
d = Func(pickle.dumps, pickle.loads, File(somedir))
d.update(mydata)
```
### Current behaviour
1. call ``pickle.dumps`` on every element of mydata and store all output in memory
2. call ``File.__setitem__`` on each pickled element
3. descope th... | diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst
index 0375754..e493d3f 100644
--- a/doc/source/changelog.rst
+++ b/doc/source/changelog.rst
@@ -4,6 +4,8 @@ Changelog
2.2.0 - Unreleased
------------------
- Added type annotations (:pr:`62`) `Guido Imperiale`_
+- If you call Func.update() and Func wra... |
data-8__datascience-526 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datascience/tables.py:Table.remove"
],
"edited_modules": [
"datascience/tables.py:Table"
]
},
"file": "datascience/tables.py"
}
] | data-8/datascience | aad5129cb5d7a2a009e701b8608d25ca6ea31607 | Table.remove() converts columns into lists
When using `Table.remove()`, the type of the columns in a table become lists. They should remain arrays. See attached notebook for an example.
[TableRemoveOddity.zip](https://github.com/data-8/datascience/files/7174805/TableRemoveOddity.zip)
Sample code to reproduce:
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8944b469..eabf6fa5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### v0.17.5
* Eliminated deprecation warnings involved arrays containing arrays/sequences.
+* Changed the column type of a... |
data-apis__array-api-strict-42 | [
{
"changes": {
"added_entities": [
"array_api_strict/_array_object.py:Array.__iter__"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"array_api_strict/_array_object.py:Array"
]
},
"file": "array_api_strict/_array_object.py"
}
... | data-apis/array-api-strict | 345782765e091738ce96bb6a0d50c1df6dfa4e91 | array-api-strict creates an empty iterable rather than raising an error
For example:
```
In [47]: import array_api_strict as xp
In [48]: x = xp.ones((2,2))
In [49]: list(iter(x))
Out[49]: []
```
I think this is because `__getitem__` raises a `IndexError`
```
In [47]: import array_api_strict as xp
In [48... | diff --git a/array_api_strict/_array_object.py b/array_api_strict/_array_object.py
index 8849ce3..18ed327 100644
--- a/array_api_strict/_array_object.py
+++ b/array_api_strict/_array_object.py
@@ -647,6 +647,15 @@ class Array:
res = self._array.__invert__()
return self.__class__._new(res)
+ def _... |
data61__blocklib-138 | [
{
"changes": {
"added_entities": [
"blocklib/candidate_blocks_generator.py:CandidateBlockingResult.print_summary_statistics"
],
"added_modules": null,
"edited_entities": [
"blocklib/candidate_blocks_generator.py:CandidateBlockingResult.__init__",
"blocklib/candida... | data61/blocklib | 2d10854d6ce7de9f3a9ae6f13b43badc9f16b67d | Convert printing to logging
As a library `blocklib` shouldn't `print` | diff --git a/blocklib/candidate_blocks_generator.py b/blocklib/candidate_blocks_generator.py
index 9957bb1..f15b151 100644
--- a/blocklib/candidate_blocks_generator.py
+++ b/blocklib/candidate_blocks_generator.py
@@ -1,7 +1,9 @@
"""Class that implement candidate block generations."""
-from typing import Dict, Sequence... |
databricks__databricks-cli-541 | [
{
"changes": {
"added_entities": [
"databricks_cli/sdk/service.py:JobsService.update_job",
"databricks_cli/sdk/service.py:JobsService.cancel_all_runs"
],
"added_modules": null,
"edited_entities": null,
"edited_modules": [
"databricks_cli/sdk/service.py:JobsS... | databricks/databricks-cli | cdf917f5561c1135aa8c8b6be459903e7bb88b36 | Missing python sdk functions & arguments (create_job, update_job, etc)
Hi,
I'm trying to use the Databricks jobs API (2.1) via this python sdk services here.
Two pieces of functionality that exist in the REST api but don't seem to exist here are the ability to (1) [tag created jobs](https://docs.databricks.com/dev-... | diff --git a/databricks_cli/sdk/service.py b/databricks_cli/sdk/service.py
index f71eaa7..f5717e5 100755
--- a/databricks_cli/sdk/service.py
+++ b/databricks_cli/sdk/service.py
@@ -226,6 +226,22 @@ class JobsService(object):
'POST', '/jobs/reset', data=_data, headers=headers, version=version
)
+... |
datadriventests__ddt-68 | [
{
"changes": {
"added_entities": [
"ddt.py:_is_primitive",
"ddt.py:_get_test_data_docstring"
],
"added_modules": [
"ddt.py:_is_primitive",
"ddt.py:_get_test_data_docstring"
],
"edited_entities": [
"ddt.py:feed_data",
"ddt.py:ddt"
... | datadriventests/ddt | 5e226e993a49de23f04ea9a281ca3960b731cf18 | function ddt
function ddt test_docstring = getattr(v, "__doc__", None),
when v has attribte, return __doc__ of v So that desc of report is __doc__ of v(list tuple dict) ,not __doc__ of testing function | diff --git a/.gitignore b/.gitignore
index b29aa3e..a82433e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ ddt.egg-info/
/docs/_build/
.tox
.ropeproject
+venv/
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
index 7ef2224..efeae23 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,10... |
datafolklabs__cement-559 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"cement/ext/ext_configparser.py:ConfigParserConfigHandler.get"
],
"edited_modules": [
"cement/ext/ext_configparser.py:ConfigParserConfigHandler"
]
},
"file": "cement/ext... | datafolklabs/cement | 775fc4d933a4674f131418671c87f79944778e13 | Configparser 'getboolean' exception
**System Information**
- Cement Version: 3.0.0
- Python Version: 3.6.8
- Operating System and Version: Linux Mint 19.1
**Steps to Reproduce (Bugs Only)**
- Create a boolean setting: configparser only supports string values so this has to be a string representation of a boo... | diff --git a/cement/ext/ext_configparser.py b/cement/ext/ext_configparser.py
index 587e89e3..0aa8f0d4 100644
--- a/cement/ext/ext_configparser.py
+++ b/cement/ext/ext_configparser.py
@@ -152,12 +152,12 @@ class ConfigParserConfigHandler(config.ConfigHandler, RawConfigParser):
env_var = re.sub('[^0-9a-zA-Z]+', ... |
datahq__dataflows-90 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"dataflows/processors/load.py:load.process_datapackage"
],
"edited_modules": [
"dataflows/processors/load.py:load"
]
},
"file": "dataflows/processors/load.py"
}
] | datahq/dataflows | 5e3d5a680605a7adcba55a616406886e63175345 | 0.0.51 breaks passing in named resources to Flow
I need some time to figure out what's up here and to provide you better documention (it's possible this is on my end, if so I will close this issue) but there seems to be an issue with passing in a name for a resource to `load` since 0.0.51. Instead of only using the pas... | diff --git a/dataflows/processors/load.py b/dataflows/processors/load.py
index 648f88f..ef94ad5 100644
--- a/dataflows/processors/load.py
+++ b/dataflows/processors/load.py
@@ -182,7 +182,7 @@ class load(DataStreamProcessor):
else:
path = os.path.basename(self.load_source)
... |
datalad__datalad-3963 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/cmdline/main.py:setup_parser"
],
"edited_modules": [
"datalad/cmdline/main.py:setup_parser"
]
},
"file": "datalad/cmdline/main.py"
},
{
"changes": {
... | datalad/datalad | c38dbd7f6b3eb71599f3ee76150231166486d9d7 | Remove --proc-pre/post (replacement: result hooks)
This new feature is proposed in https://github.com/datalad/datalad/pull/3903
I propose to remove its predecessors, because their are (from my POV) completely unused, untested, and less capable (only dataset procedures, not any DataLad command). | diff --git a/datalad/cmdline/main.py b/datalad/cmdline/main.py
index 085d7909e..ea36b369a 100644
--- a/datalad/cmdline/main.py
+++ b/datalad/cmdline/main.py
@@ -175,30 +175,12 @@ def setup_parser(
of the command; 'continue' works like 'ignore', but an error causes a
non-zero exit code; 'stop' halts on... |
datalad__datalad-4353 | [
{
"changes": {
"added_entities": [
"datalad/interface/utils.py:_display_suppressed_message"
],
"added_modules": [
"datalad/interface/utils.py:_display_suppressed_message"
],
"edited_entities": [
"datalad/interface/utils.py:_process_results"
],
"e... | datalad/datalad | 7a4abb204ca6eed31f55ab276088fbf73cdf188d | Result suppression issues
I've noticed a couple of rough edges with the recent "suppress similar results" feature.
For demonstration purposes, here's a script saves a number of files equal to the number passed as the first argument.
<details>
<summary>script</summary>
```sh
#!/bin/sh
set -eu
cd "$(mkte... | diff --git a/datalad/interface/utils.py b/datalad/interface/utils.py
index 3ad582302..db03e38dc 100644
--- a/datalad/interface/utils.py
+++ b/datalad/interface/utils.py
@@ -42,8 +42,10 @@ from datalad.utils import (
from datalad.support.gitrepo import GitRepo
from datalad.support.exceptions import IncompleteResultsEr... |
datalad__datalad-4480 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/interface/base.py:build_doc"
],
"edited_modules": [
"datalad/interface/base.py:build_doc"
]
},
"file": "datalad/interface/base.py"
}
] | datalad/datalad | 1d11ca9d0634772d36b9d9e3fd5e8d7eac923c3a | Documentation - dataset.siblings() does not have result_renderer to None by default
#### What is the problem?
In the [documentation](http://docs.datalad.org/en/latest/generated/datalad.api.siblings.html), it is said that "sibling information is rendered as one line per sibling following this scheme". However, next to ... | diff --git a/datalad/interface/base.py b/datalad/interface/base.py
index f9be2c566..62abc6e72 100644
--- a/datalad/interface/base.py
+++ b/datalad/interface/base.py
@@ -514,10 +514,19 @@ def build_doc(cls, **kwargs):
# build standard doc and insert eval_doc
spec = getattr(cls, '_params_', dict())
+
+
+ #... |
datalad__datalad-4575 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/ui/dialog.py:ConsoleLog.message"
],
"edited_modules": [
"datalad/ui/dialog.py:ConsoleLog"
]
},
"file": "datalad/ui/dialog.py"
}
] | datalad/datalad | a3a154bcbc980c152657886870b32a87f42afe0f | [INFO] Clear progress bars [INFO] Refresh progress bars on 0.13.0rc2
#### What is the problem?
Just a quick report. I run the following code to search for missing local annex files:
```bash
echo "Searching for missing files" ; \
datalad -f json status --recursive --annex all | \
jq '. | select(.has_content == fals... | diff --git a/datalad/ui/dialog.py b/datalad/ui/dialog.py
index cf86ecdba..7bed97683 100644
--- a/datalad/ui/dialog.py
+++ b/datalad/ui/dialog.py
@@ -72,11 +72,13 @@ class ConsoleLog(object):
def message(self, msg, cr='\n'):
from datalad.log import log_progress
- log_progress(lgr.info, None, 'Clea... |
datalad__datalad-4829 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/cmd.py:BatchedCommand.close"
],
"edited_modules": [
"datalad/cmd.py:BatchedCommand"
]
},
"file": "datalad/cmd.py"
},
{
"changes": {
"added_entitie... | datalad/datalad | 3d4d788cb5df2d5b21ca63b0d8fe36e31104c34b | eval_func() leads to one `git-config` call per cmd call
This is not a proper analysis, just recording a realization.
In order to figure out whether there are any result hooks, `eval_func()` consults a `ConfigManager` instance. That in itself would not be an issue. What is an issue is that this instance is create ane... | diff --git a/datalad/cmd.py b/datalad/cmd.py
index 1a7edfe52..c1002ea86 100644
--- a/datalad/cmd.py
+++ b/datalad/cmd.py
@@ -46,6 +46,7 @@ from .utils import (
generate_file_chunks,
get_tempfile_kwargs,
split_cmdline,
+ try_multiple,
unlink,
)
@@ -1327,9 +1328,27 @@ class BatchedCommand(SafeDe... |
datalad__datalad-5218 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "datalad/consts.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/distributi... | datalad/datalad | 1b013a83938adae3dcee19549b77cf962e5c590e | Reenable github integration test
A failing test of special-interest functionality was a blocker to an urgent global fix #4078
I disabled the test with cad795b0f73a952e38214c62fe1a35eef43d258a:
Please bring it back @yarikoptic | diff --git a/datalad/consts.py b/datalad/consts.py
index 76382f217..bac50b1a1 100644
--- a/datalad/consts.py
+++ b/datalad/consts.py
@@ -71,6 +71,7 @@ PRE_INIT_COMMIT_SHA = '4b825dc642cb6eb9a060e54bf8d69288fbee4904'
# git/datalad configuration item to provide a token for github
CONFIG_HUB_TOKEN_FIELD = 'hub.oauthtoke... |
datalad__datalad-5345 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/__init__.py:setup_package",
"datalad/__init__.py:teardown_package"
],
"edited_modules": [
"datalad/__init__.py:setup_package",
"datalad/__init__.py:teardown_p... | datalad/datalad | 193bd76b19beaf02fcdef984febdec58f1cbcb38 | test_expanduser fails on master/windows on github CI
Just spotted within datalad/git-annex sweep of tests (ok on released, maint):
Tests were passing 5 days back, so possibly triggered by #5310
https://github.com/datalad/git-annex/runs/1722165033?check_suite_focus=true
```
======================================... | diff --git a/datalad/__init__.py b/datalad/__init__.py
index 7fe201c69..0fca35897 100644
--- a/datalad/__init__.py
+++ b/datalad/__init__.py
@@ -47,7 +47,12 @@ from .config import ConfigManager
cfg = ConfigManager()
from .log import lgr
-from datalad.utils import get_encoding_info, get_envvars_info, getpwd
+from da... |
datalad__datalad-5525 | [
{
"changes": {
"added_entities": [
"datalad/cmdline/helpers.py:parser_add_common_options"
],
"added_modules": [
"datalad/cmdline/helpers.py:parser_add_common_options"
],
"edited_entities": null,
"edited_modules": null
},
"file": "datalad/cmdline/helper... | datalad/datalad | 0762df07a4cc2710fcd7a87d8b94a754079e9abc | Interface: Positional argument with dashes leads to an error
When converting the addurls plugin into a command, I wanted to use a positional argument that had a dash in it, but this doesn't seem to be possible.
As a simple example (which can be applied to master):
```diff
diff --git a/datalad/interface/__init__.... | diff --git a/datalad/cmdline/helpers.py b/datalad/cmdline/helpers.py
index 0ae39513c..b7a21922e 100644
--- a/datalad/cmdline/helpers.py
+++ b/datalad/cmdline/helpers.py
@@ -22,6 +22,7 @@ from textwrap import wrap
from ..cmd import WitlessRunner as Runner
from ..log import is_interactive
from ..utils import (
+ en... |
datalad__datalad-5680 | [
{
"changes": {
"added_entities": [
"datalad/downloaders/credentials.py:Credential._get_field_value"
],
"added_modules": null,
"edited_entities": [
"datalad/downloaders/credentials.py:Credential.is_known",
"datalad/downloaders/credentials.py:Credential.__call__",
... | datalad/datalad | fd7229a6db0720dd1d2f063ef9e1cda80060b337 | Support credential query via config manager
ATM we have a custom way to provide credentials when a keystore is not an option or desirable for whatever reason. However, this method is not without flaws. Summary: https://github.com/datalad/datalad/issues/4981
This issue also argues to query ConfigManager instead of a ... | diff --git a/datalad/downloaders/credentials.py b/datalad/downloaders/credentials.py
index 59727f1b3..063038936 100644
--- a/datalad/downloaders/credentials.py
+++ b/datalad/downloaders/credentials.py
@@ -31,6 +31,8 @@ from ..ui import ui
from ..utils import auto_repr
from ..support.network import iso8601_to_epoch
... |
datalad__datalad-5881 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/core/distributed/clone.py:_get_installationpath_from_url"
],
"edited_modules": [
"datalad/core/distributed/clone.py:_get_installationpath_from_url"
]
},
"file":... | datalad/datalad | 8004a5ee33669b969d755b56b2eb05aa6c911eba | clone: over ssh - (default) target directory contains `:` causing git to error out
could probably add to confusion in #5829 but that one has other issues preventing it even to get there, but would be seen there too eventually
`maint`:
```
$> datalad clone smaug:datalad
[ERROR ] Faile... | diff --git a/datalad/core/distributed/clone.py b/datalad/core/distributed/clone.py
index 12482f09f..62888b1f6 100644
--- a/datalad/core/distributed/clone.py
+++ b/datalad/core/distributed/clone.py
@@ -48,13 +48,14 @@ from datalad.support.constraints import (
from datalad.support.exceptions import DownloadError
from d... |
datalad__datalad-5902 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/customremotes/ria_utils.py:verify_ria_url"
],
"edited_modules": [
"datalad/customremotes/ria_utils.py:verify_ria_url"
]
},
"file": "datalad/customremotes/ria_ut... | datalad/datalad | 7d1f2bf5f4020d702e3eb94316f1de6dfb480d5e | create-sibling-ria changes ssh username
#### What is the problem?
When trying to create a ria sibling the user name gets switched from the name in the ssh url to the current user name
#### What steps will reproduce the problem?
```
[rbc@cubic-login1 bidsdatasets]$ datalad create-sibling-ria \
--name pmacs-... | diff --git a/datalad/customremotes/ria_utils.py b/datalad/customremotes/ria_utils.py
index 3795d6952..c0b6c7dc2 100644
--- a/datalad/customremotes/ria_utils.py
+++ b/datalad/customremotes/ria_utils.py
@@ -79,6 +79,8 @@ def verify_ria_url(url, cfg):
-------
tuple
(host, base-path, rewritten url)
+ ... |
datalad__datalad-6173 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/runner/nonasyncrunner.py:run_command"
],
"edited_modules": [
"datalad/runner/nonasyncrunner.py:run_command"
]
},
"file": "datalad/runner/nonasyncrunner.py"
}
... | datalad/datalad | 0df06be219532cdf3b842dd33eaf30aae70a2f0c | "Argument list too long: 'git' " while saving datalad dataset
I have a issue very similar to #4778. I wanted to datalad save all the files in a datalad dataset, and `datalad -l debug save .` returns the errors:
```
[DEBUG ] Future for '/cbica/projects/RBC/RBC_RAWDATA/bidsdatasets/HCP_D' raised [Errno 7] Argument lis... | diff --git a/datalad/runner/nonasyncrunner.py b/datalad/runner/nonasyncrunner.py
index fbb15ab75..0caf9efa2 100644
--- a/datalad/runner/nonasyncrunner.py
+++ b/datalad/runner/nonasyncrunner.py
@@ -26,6 +26,7 @@ from typing import (
Union,
)
+from datalad.utils import on_windows
from .protocol import WitlessPro... |
datalad__datalad-6198 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "datalad/cmdline/helpers.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/d... | datalad/datalad | a902b08bff005826f8ee2334f959c2580ef73654 | Stop using Appdirs
We rely on [appdirs](https://github.com/ActiveState/appdirs) to figure out appropriate config, data, and cache dirs for any given platform. However, the implementation in appdirs for Windows is for Windows 7 at latest. It relies on [Windows special folders CSIDL IDs](https://www.nirsoft.net/articles/... | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index be0fff77c..3a537a767 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -134,7 +134,7 @@ since we use it to provide backports of recent fixed external modules we depend
```sh
apt-get install -y -q git git-annex-standalone
-apt-get install -y -q patool python3-... |
datalad__datalad-6200 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": [
"datalad/distribution/dataset.py:datasetmethod"
],
"edited_modules": [
"datalad/distribution/dataset.py:datasetmethod"
]
},
"file": "datalad/distribution/dataset.py"
}... | datalad/datalad | a902b08bff005826f8ee2334f959c2580ef73654 | Rebalance runtime of windows CI runs on appveyor

Almost 20min difference between the fastest and the slowest. This is the result of running more tests, and moving tests the other locations in this codebase. | diff --git a/.appveyor.yml b/.appveyor.yml
index 91263c547..ca041893f 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -105,8 +105,10 @@ environment:
datalad.cmdline
datalad.customremotes
datalad.distribution
+ datalad.distributed
datalad.downloaders
data... |
datalad__datalad-next-134 | [
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"edited_modules": null
},
"file": "datalad_next/commands/__init__.py"
},
{
"changes": {
"added_entities": null,
"added_modules": null,
"edited_entities": null,
"... | datalad/datalad-next | 936e1d5c36c00477607c0d4829513951d69cc9af | Test failures on main
Core's extension test fails with datalad-next: https://github.com/datalad/datalad/actions/runs/3658950849/jobs/6184374333
Apparently the URL PATH pair given to `download` in https://github.com/datalad/datalad-next/blob/main/datalad_next/commands/tests/test_download.py#L73 ends up being interpre... | diff --git a/datalad_next/commands/__init__.py b/datalad_next/commands/__init__.py
index a069a99..4c660d3 100644
--- a/datalad_next/commands/__init__.py
+++ b/datalad_next/commands/__init__.py
@@ -6,10 +6,13 @@ from datalad.interface.base import (
build_doc,
)
from datalad.interface.results import get_status_dic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.