Skip to content

Move to Pixi and Hatchling #1244

Move to Pixi and Hatchling

Move to Pixi and Hatchling #1244

Triggered via pull request August 1, 2024 15:20
@hoxbrohoxbro
synchronize #1354
pixi
Status Cancelled
Total duration 31m 10s
Artifacts 1

test.yaml

on: pull_request
Run pre-commit
12s
Run pre-commit
Setup workflow
2s
Setup workflow
Pixi lock
1m 39s
Pixi lock
Matrix: benchmark_test_suite
Matrix: core_test_suite
Matrix: unit_test_suite
Fit to window
Zoom out
Zoom in

Annotations

33 errors
unit:test-39:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 27 Notebook cell execution failed Cell 27: Cell execution caused an exception Input: ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) Traceback: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_core.py:470, in Expr.__getattr__(self, key) 469 try: --> 470 return object.__getattribute__(self, key) 471 except AttributeError as err: AttributeError: 'FromPandas' object has no attribute 'pack_partitions' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_collection.py:619, in FrameBase.__getattr__(self, key) 616 try: 617 # Fall back to `expr` API 618 # (Making sure to convert to/from Expr) --> 619 val = getattr(self.expr, key) 620 if callable(val): File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_core.py:491, in Expr.__getattr__(self, key) 490 link = "https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage" --> 491 raise AttributeError( 492 f"{err}\n\n" 493 "This often means that you are attempting to use an unsupported " 494 f"API function. Current API coverage is documented here: {link}." 495 ) AttributeError: 'FromPandas' object has no attribute 'pack_partitions' This often means that you are attempting to use an unsupported API function. Current API coverage is documented here: https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage. During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() 3 tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_collection.py:3
unit:test-39:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 28 Notebook cell execution failed Cell 28: Cell execution caused an exception Input: out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) out.opts(width=700, height=500, tools=["hover"]); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) 2 out.opts(width=700, height=500, tools=["hover"]); NameError: name 'ddf' is not defined
unit:test-39:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 29 Notebook cell execution failed Cell 29: Cell execution caused an exception Input: def compute_partitions(el): n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions return el.opts(title=f'Population by county (npartitions: {n})') out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 5 2 n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions 3 return el.opts(title=f'Population by county (npartitions: {n})') ----> 5 out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) NameError: name 'out' is not defined
unit:test-39:macos-latest
Process completed with exit code 1.
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 7 Notebook cell execution failed Cell 7: Cell execution caused an exception Input: from bokeh.sampledata.us_counties import data as counties from bokeh.sampledata.unemployment import data as unemployment counties = { code: county for code, county in counties.items() if county["state"] in ["tx"] } county_boundaries = [[[*zip(county["lons"] + county["lons"][:1], county["lats"] + county["lats"][:1])] for county in counties.values()]] county_rates = [unemployment[county_id] for county_id in counties] boundary_coords = [[np.concatenate(list( zip(county["lons"][::-1] + county["lons"][-1:], county["lats"][::-1] + county["lats"][-1:]) ))] for county in counties.values()] boundaries = sp.geometry.PolygonArray(boundary_coords) county_info = sp.GeoDataFrame({'boundary': boundaries, 'unemployment': county_rates}) Traceback: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/sampledata/__init__.py:61 60 try: ---> 61 import bokeh_sampledata as _mod 62 except ImportError: ModuleNotFoundError: No module named 'bokeh_sampledata' During handling of the above exception, another exception occurred: RuntimeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 from bokeh.sampledata.us_counties import data as counties 2 from bokeh.sampledata.unemployment import data as unemployment 4 counties = { code: county for code, county in counties.items() 5 if county["state"] in ["tx"] } File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/sampledata/__init__.py:63 61 import bokeh_sampledata as _mod 62 except ImportError: ---> 63 raise RuntimeError( 64 "The separate bokeh_sampledata is needed in order to use the " 65 "sampledata module. Install with 'pip install bokeh_sampledata'.", 66 ) 68 if Version(_mod.__version__) < Version(SAMPLEDATA_MIN_VERSION): 69 raise RuntimeError( 70 f"The installed bokeh_sampledata version ({_mod.__version__}) is too " 71 f"old. At least version {SAMPLEDATA_MIN_VERSION�[38;
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 8 Notebook cell execution failed Cell 8: Cell execution caused an exception Input: # Discard the output from one aggregation of each type, to avoid measuring Numba compilation times tf.shade(cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment'))); tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any())); tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=1.5)); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 2 1 # Discard the output from one aggregation of each type, to avoid measuring Numba compilation times ----> 2 tf.shade(cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment'))); 3 tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any())); 4 tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=1.5)); NameError: name 'county_info' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 9 Notebook cell execution failed Cell 9: Cell execution caused an exception Input: %%time cvs = ds.Canvas(plot_width=600, plot_height=600) agg = cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment')) filled = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:2 NameError: name 'county_info' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 10 Notebook cell execution failed Cell 10: Cell execution caused an exception Input: %%time agg = cvs.line(county_info, geometry='boundary', agg=ds.any()) unfilled = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:1 NameError: name 'county_info' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 11 Notebook cell execution failed Cell 11: Cell execution caused an exception Input: %%time agg = cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=3.5) antialiased = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:1 NameError: name 'county_info' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 12 Notebook cell execution failed Cell 12: Cell execution caused an exception Input: tf.Images(filled, unfilled, antialiased) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 tf.Images(filled, unfilled, antialiased) NameError: name 'antialiased' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 27 Notebook cell execution failed Cell 27: Cell execution caused an exception Input: ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) Traceback: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_core.py:470, in Expr.__getattr__(self, key) 469 try: --> 470 return object.__getattribute__(self, key) 471 except AttributeError as err: AttributeError: 'FromPandas' object has no attribute 'pack_partitions' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_collection.py:619, in FrameBase.__getattr__(self, key) 616 try: 617 # Fall back to `expr` API 618 # (Making sure to convert to/from Expr) --> 619 val = getattr(self.expr, key) 620 if callable(val): File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_core.py:491, in Expr.__getattr__(self, key) 490 link = "https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage" --> 491 raise AttributeError( 492 f"{err}\n\n" 493 "This often means that you are attempting to use an unsupported " 494 f"API function. Current API coverage is documented here: {link}." 495 ) AttributeError: 'FromPandas' object has no attribute 'pack_partitions' This often means that you are attempting to use an unsupported API function. Current API coverage is documented here: https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage. During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() 3 tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_collect
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 28 Notebook cell execution failed Cell 28: Cell execution caused an exception Input: out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) out.opts(width=700, height=500, tools=["hover"]); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) 2 out.opts(width=700, height=500, tools=["hover"]); NameError: name 'ddf' is not defined
unit:test-312:macos-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 29 Notebook cell execution failed Cell 29: Cell execution caused an exception Input: def compute_partitions(el): n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions return el.opts(title=f'Population by county (npartitions: {n})') out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 5 2 n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions 3 return el.opts(title=f'Population by county (npartitions: {n})') ----> 5 out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) NameError: name 'out' is not defined
unit:test-312:macos-latest
Process completed with exit code 1.
unit:test-39:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 27 Notebook cell execution failed Cell 27: Cell execution caused an exception Input: ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) Traceback: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_core.py:470, in Expr.__getattr__(self, key) 469 try: --> 470 return object.__getattribute__(self, key) 471 except AttributeError as err: AttributeError: 'FromPandas' object has no attribute 'pack_partitions' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_collection.py:619, in FrameBase.__getattr__(self, key) 616 try: 617 # Fall back to `expr` API 618 # (Making sure to convert to/from Expr) --> 619 val = getattr(self.expr, key) 620 if callable(val): File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_core.py:491, in Expr.__getattr__(self, key) 490 link = "https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage" --> 491 raise AttributeError( 492 f"{err}\n\n" 493 "This often means that you are attempting to use an unsupported " 494 f"API function. Current API coverage is documented here: {link}." 495 ) AttributeError: 'FromPandas' object has no attribute 'pack_partitions' This often means that you are attempting to use an unsupported API function. Current API coverage is documented here: https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage. During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() 3 tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) File ~/work/datashader/datashader/.pixi/envs/test-39/lib/python3.9/site-packages/dask_expr/_collection.py:3
unit:test-39:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 28 Notebook cell execution failed Cell 28: Cell execution caused an exception Input: out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) out.opts(width=700, height=500, tools=["hover"]); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) 2 out.opts(width=700, height=500, tools=["hover"]); NameError: name 'ddf' is not defined
unit:test-39:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 29 Notebook cell execution failed Cell 29: Cell execution caused an exception Input: def compute_partitions(el): n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions return el.opts(title=f'Population by county (npartitions: {n})') out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 5 2 n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions 3 return el.opts(title=f'Population by county (npartitions: {n})') ----> 5 out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) NameError: name 'out' is not defined
unit:test-39:ubuntu-latest
Process completed with exit code 1.
unit:test-312:ubuntu-latest
Canceling since a higher priority waiting request for 'tests-1354' exists
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 7 Notebook cell execution failed Cell 7: Cell execution caused an exception Input: from bokeh.sampledata.us_counties import data as counties from bokeh.sampledata.unemployment import data as unemployment counties = { code: county for code, county in counties.items() if county["state"] in ["tx"] } county_boundaries = [[[*zip(county["lons"] + county["lons"][:1], county["lats"] + county["lats"][:1])] for county in counties.values()]] county_rates = [unemployment[county_id] for county_id in counties] boundary_coords = [[np.concatenate(list( zip(county["lons"][::-1] + county["lons"][-1:], county["lats"][::-1] + county["lats"][-1:]) ))] for county in counties.values()] boundaries = sp.geometry.PolygonArray(boundary_coords) county_info = sp.GeoDataFrame({'boundary': boundaries, 'unemployment': county_rates}) Traceback: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/sampledata/__init__.py:61 60 try: ---> 61 import bokeh_sampledata as _mod 62 except ImportError: ModuleNotFoundError: No module named 'bokeh_sampledata' During handling of the above exception, another exception occurred: RuntimeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 from bokeh.sampledata.us_counties import data as counties 2 from bokeh.sampledata.unemployment import data as unemployment 4 counties = { code: county for code, county in counties.items() 5 if county["state"] in ["tx"] } File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/bokeh/sampledata/__init__.py:63 61 import bokeh_sampledata as _mod 62 except ImportError: ---> 63 raise RuntimeError( 64 "The separate bokeh_sampledata is needed in order to use the " 65 "sampledata module. Install with 'pip install bokeh_sampledata'.", 66 ) 68 if Version(_mod.__version__) < Version(SAMPLEDATA_MIN_VERSION): 69 raise RuntimeError( 70 f"The installed bokeh_sampledata version ({_mod.__version__}) is too " 71 f"old. At least version {SAMPLEDATA_MIN_VERSION�[38;
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 8 Notebook cell execution failed Cell 8: Cell execution caused an exception Input: # Discard the output from one aggregation of each type, to avoid measuring Numba compilation times tf.shade(cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment'))); tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any())); tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=1.5)); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 2 1 # Discard the output from one aggregation of each type, to avoid measuring Numba compilation times ----> 2 tf.shade(cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment'))); 3 tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any())); 4 tf.shade(cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=1.5)); NameError: name 'county_info' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 9 Notebook cell execution failed Cell 9: Cell execution caused an exception Input: %%time cvs = ds.Canvas(plot_width=600, plot_height=600) agg = cvs.polygons(county_info, geometry='boundary', agg=ds.mean('unemployment')) filled = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:2 NameError: name 'county_info' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 10 Notebook cell execution failed Cell 10: Cell execution caused an exception Input: %%time agg = cvs.line(county_info, geometry='boundary', agg=ds.any()) unfilled = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:1 NameError: name 'county_info' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 11 Notebook cell execution failed Cell 11: Cell execution caused an exception Input: %%time agg = cvs.line(county_info, geometry='boundary', agg=ds.any(), line_width=3.5) antialiased = tf.shade(agg) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) File <timed exec>:1 NameError: name 'county_info' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 12 Notebook cell execution failed Cell 12: Cell execution caused an exception Input: tf.Images(filled, unfilled, antialiased) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 tf.Images(filled, unfilled, antialiased) NameError: name 'antialiased' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 27 Notebook cell execution failed Cell 27: Cell execution caused an exception Input: ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) Traceback: --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_core.py:470, in Expr.__getattr__(self, key) 469 try: --> 470 return object.__getattribute__(self, key) 471 except AttributeError as err: AttributeError: 'FromPandas' object has no attribute 'pack_partitions' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_collection.py:619, in FrameBase.__getattr__(self, key) 616 try: 617 # Fall back to `expr` API 618 # (Making sure to convert to/from Expr) --> 619 val = getattr(self.expr, key) 620 if callable(val): File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_core.py:491, in Expr.__getattr__(self, key) 490 link = "https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage" --> 491 raise AttributeError( 492 f"{err}\n\n" 493 "This often means that you are attempting to use an unsupported " 494 f"API function. Current API coverage is documented here: {link}." 495 ) AttributeError: 'FromPandas' object has no attribute 'pack_partitions' This often means that you are attempting to use an unsupported API function. Current API coverage is documented here: https://github.com/dask-contrib/dask-expr/blob/main/README.md#api-coverage. During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) Cell In[1], line 1 ----> 1 ddf = dd.from_pandas(sgeodf, npartitions=2).pack_partitions(npartitions=100).persist() 3 tf.shade(cvs.polygons(ddf, geometry='geometry', agg=ds.mean('cty_pop200'))) File ~/work/datashader/datashader/.pixi/envs/test-312/lib/python3.12/site-packages/dask_expr/_collect
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 28 Notebook cell execution failed Cell 28: Cell execution caused an exception Input: out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) out.opts(width=700, height=500, tools=["hover"]); Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 1 ----> 1 out = rasterize(hv.Polygons(ddf, vdims=['cty_pop200']), aggregator=ds.sum('cty_pop200')) 2 out.opts(width=700, height=500, tools=["hover"]); NameError: name 'ddf' is not defined
unit:test-312:ubuntu-latest: examples/user_guide/8_Polygons.ipynb#L1
examples/user_guide/8_Polygons.ipynb::Cell 29 Notebook cell execution failed Cell 29: Cell execution caused an exception Input: def compute_partitions(el): n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions return el.opts(title=f'Population by county (npartitions: {n})') out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) Traceback: --------------------------------------------------------------------------- NameError Traceback (most recent call last) Cell In[1], line 5 2 n = ddf.cx_partitions[slice(*el.range('x')), slice(*el.range('y'))].npartitions 3 return el.opts(title=f'Population by county (npartitions: {n})') ----> 5 out.apply(compute_partitions).opts(frame_width=700, frame_height=500, tools=["hover"]) NameError: name 'out' is not defined
unit:test-312:ubuntu-latest
The operation was canceled.
unit:test-312:windows-latest
Canceling since a higher priority waiting request for 'tests-1354' exists
unit:test-312:windows-latest
The operation was canceled.
unit:test-39:windows-latest
Canceling since a higher priority waiting request for 'tests-1354' exists
unit:test-39:windows-latest
The operation was canceled.

Artifacts

Produced during runtime
Name Size
pixi-lock Expired
262 KB