Skip to content

Commit bfeacf5

Browse files
authored
Hotfix release 1.14.9 (#5218)
1 parent e25c187 commit bfeacf5

26 files changed

Lines changed: 397 additions & 177 deletions

File tree

.github/workflows/docs.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
target:
12-
description: 'dev or main'
12+
description: 'Site to build and deploy, or dry-run'
13+
type: choice
14+
options:
15+
- dev
16+
- main
17+
- dryrun
1318
required: true
14-
default: 'dev'
19+
default: dev
1520

1621
jobs:
1722
build_docs:
@@ -23,10 +28,6 @@ jobs:
2328
shell: bash -l {0}
2429
env:
2530
DESC: "Documentation build"
26-
HV_REQUIREMENTS: "doc"
27-
# conda-forge to install myst-nb ...
28-
CHANS_DEV: "-c pyviz/label/dev -c conda-forge"
29-
CHANS: "-c pyviz"
3031
MPLBACKEND: "Agg"
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -40,30 +41,25 @@ jobs:
4041
- uses: actions/checkout@v2
4142
with:
4243
fetch-depth: "100"
43-
- uses: actions/setup-python@v2
44-
with:
45-
python-version: ${{ matrix.python-version }}
4644
- uses: conda-incubator/setup-miniconda@v2
4745
with:
4846
miniconda-version: "latest"
47+
mamba-version: "*"
48+
channels: pyviz/label/dev,conda-forge,nodefaults
4949
- name: Fetch unshallow
5050
run: git fetch --prune --tags --unshallow -f
5151
- name: Set output
5252
id: vars
5353
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
5454
- name: conda setup
5555
run: |
56-
conda config --set always_yes True
57-
conda install -c pyviz "pyctdev>=0.5"
58-
doit ecosystem_setup
59-
doit env_create ${{ env.CHANS_DEV}} --python=3.8
56+
conda create -n test-environment python=3.8 pyctdev
6057
- name: doit develop_install
6158
run: |
6259
eval "$(conda shell.bash hook)"
6360
conda activate test-environment
64-
conda list
65-
doit develop_install ${{ env.CHANS_DEV}} -o doc
66-
conda install -c conda-forge geckodriver selenium awscli
61+
doit develop_install -o doc --conda-mode=mamba
62+
mamba install geckodriver selenium awscli
6763
- name: doit env_capture
6864
run: |
6965
eval "$(conda shell.bash hook)"
@@ -90,13 +86,17 @@ jobs:
9086
conda activate test-environment
9187
nbsite build --what=html --output=builtdocs --org holoviz --project-name holoviews
9288
- name: upload dev
93-
if: (github.event.inputs.target == 'dev' || contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc'))
89+
if: |
90+
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
91+
(github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
9492
run: |
9593
eval "$(conda shell.bash hook)"
9694
conda activate test-environment
9795
aws s3 sync --quiet ./builtdocs s3://dev.holoviews.org/
9896
- name: upload main
99-
if: (github.event.inputs.target == 'main' || !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
97+
if: |
98+
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
99+
(github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
100100
run: |
101101
eval "$(conda shell.bash hook)"
102102
conda activate test-environment
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: downstream_tests
2+
3+
on:
4+
# Run this workflow after the build workflow has completed.
5+
workflow_run:
6+
workflows: [packages]
7+
types: [completed]
8+
# Or by triggering it manually via Github's UI
9+
workflow_dispatch:
10+
inputs:
11+
manual:
12+
description: don't change me!
13+
type: boolean
14+
required: true
15+
default: true
16+
17+
jobs:
18+
downstream_tests:
19+
uses: pyviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main
20+
with:
21+
downstream_repos_as_json: "{\"downstream_repo\":[\"hvplot\", \"geoviews\"]}"
22+
secrets:
23+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
run: |
5050
eval "$(conda shell.bash hook)"
5151
conda update -n base -c defaults conda
52-
conda config --prepend channels pyviz/label/dev
53-
conda config --prepend channels bokeh
54-
conda config --prepend channels conda-forge
5552
conda config --prepend channels nodefaults
53+
conda config --prepend channels conda-forge
54+
conda config --prepend channels bokeh
55+
conda config --prepend channels pyviz/label/dev
5656
conda config --remove channels defaults
5757
conda create -n test-environment python=${{ matrix.python-version }} pyctdev
5858
- name: doit env_capture
@@ -69,8 +69,7 @@ jobs:
6969
doit develop_install -c pyviz/label/dev -c bokeh ${{ env.HV_REQUIREMENTS }}
7070
# Pin panel on Python 3.6 because one or more dev releases on the 0.13.* series
7171
# can be installed on Python 3.6 but are actually not compatible with Python 3.6
72-
# Install ibis-framework instead of ibis-sqlite as it's only available starting from Python 3.7
73-
conda install -c pyviz/label/dev -c bokeh ibis-framework "panel=0.12"
72+
conda install $CHANS_DEV "panel=0.12"
7473
python -c "from param import version; print(version.Version.setup_version('.', 'holoviews', archive_commit='$Format:%h$'))"
7574
echo "-----"
7675
git describe
@@ -81,7 +80,7 @@ jobs:
8180
conda activate test-environment
8281
conda list
8382
doit develop_install ${{ env.HV_REQUIREMENTS }}
84-
conda install ibis-sqlite
83+
conda install $CHANS_DEV "ibis-sqlite=2"
8584
python -c "from param import version; print(version.Version.setup_version('.', 'holoviews', archive_commit='$Format:%h$'))"
8685
echo "-----"
8786
git describe

CHANGELOG.md

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,62 @@
1+
Version 1.14.9
2+
==============
3+
**May 6, 2022**
4+
5+
This release contains a small number of important bug fixes as well as
6+
support for the newly added antialiasing option for line rendering in
7+
datashader. Many thanks to @andriyot, @Hoxbro, @pepijndevos, @stas-sl,
8+
@TheoMathurin, @maximlt, @jlstevens, @jbednar, and @philippjfr.
9+
10+
Enhancements:
11+
12+
- Improvements to extension loading, improving visual appearance in
13+
JupyterLab when no logo is used and a check to avoid loading
14+
unnecessary JavaScript.
15+
([#5216](https://github.com/holoviz/holoviews/pull/5216),
16+
[#5249](https://github.com/holoviz/holoviews/pull/5249))
17+
- Add support for setting antialiased line_width on datashader line
18+
aggregation as well as pixel_ratio setting
19+
([#5264](https://github.com/holoviz/holoviews/pull/5264),
20+
[#5288](https://github.com/holoviz/holoviews/pull/5288))
21+
- Added options to customize hover line_(width|join|cap|dash) properties
22+
([#5211](https://github.com/holoviz/holoviews/pull/5211))
23+
- Restored Python 2 compatibility that lapsed due to lack of CI testing
24+
since 1.14.3. This is expected to be the last release with Python 2 support.
25+
([#5298](https://github.com/holoviz/holoviews/pull/5298))
26+
27+
Bug fixes:
28+
29+
- Fix to respect series order in stacked area plot
30+
([#5236](https://github.com/holoviz/holoviews/pull/5236))
31+
- Support buffer streams of unspecified length (#5247)
32+
([#5247](https://github.com/holoviz/holoviews/pull/5247))
33+
- Fixed log axis lower bound when data minimum is <= 0
34+
([#5246](https://github.com/holoviz/holoviews/pull/5246))
35+
- Declared GitHub project URL in setup.py
36+
([#5227](https://github.com/holoviz/holoviews/pull/5227))
37+
- Fixed streaming Psutil example application
38+
([#5243](https://github.com/holoviz/holoviews/pull/5243))
39+
- Respecting Renderer's center property for HoloViews pane
40+
([#5197](https://github.com/holoviz/holoviews/pull/5197))
41+
- Fix vmin/vmax deprecation in HeatMap plot for matplotlib > 3.3
42+
([#5300](https://github.com/holoviz/holoviews/pull/5300))
43+
44+
Documentation:
45+
46+
- Updated Large data guide to reflect changes in Datashader and
47+
antialising support
48+
([#5267](https://github.com/holoviz/holoviews/pull/5267),
49+
[#5290](https://github.com/holoviz/holoviews/pull/5290))
50+
51+
152
Version 1.14.8
253
==============
354
**February 15, 2022**
455

556
This release contains a small number of important bug fixes as well as
657
fixes required for Python 3.9 and 3.10 support. Many thanks to @Hoxbro,
758
@maximlt, @jlstevens, @jbednar, and @philippjfr.
8-
59+
960
Bug fixes:
1061

1162
- Fixed xarray validation for aliased coordinate
@@ -38,7 +89,7 @@ Version 1.14.7
3889
**December 16, 2021**
3990

4091
This release contains a small number of important bug fixes. Many thanks
41-
to @douglas-raillard-arm, @jenssss, @w31t1, @Hoxbro, @martinfleis, @maximlt,
92+
to @douglas-raillard-arm, @jenssss, @w31t1, @Hoxbro, @martinfleis, @maximlt,
4293
@jlstevens, @jbednar, and @philippjfr.
4394

4495
Bug fixes:
@@ -94,7 +145,7 @@ Bug fixes:
94145
([#5098](https://github.com/holoviz/holoviews/pull/5098))
95146
- Improved docs:
96147
* Switch to the Pydata Sphinx theme
97-
([#5163](https://github.com/holoviz/holoviews/pull/5163))
148+
([#5163](https://github.com/holoviz/holoviews/pull/5163))
98149

99150
Version 1.14.6
100151
==============
@@ -119,7 +170,7 @@ Bug fixes:
119170
- Improvements to linked selections including support for linked
120171
selection lasso for cudf and improved warnings
121172
([#5044](https://github.com/holoviz/holoviews/pull/5044),
122-
[#5051](https://github.com/holoviz/holoviews/pull/5051))
173+
[#5051](https://github.com/holoviz/holoviews/pull/5051))
123174
- Respect apply_ranges at range computation level
124175
([#5081](https://github.com/holoviz/holoviews/pull/5081))
125176
- Keep ordering of kdim when stacking Areas
@@ -130,7 +181,7 @@ Bug fixes:
130181
Version 1.14.5
131182
==============
132183
**July 16, 2021**
133-
184+
134185
This is a hotfix release with a number of important bug fixes. Most
135186
importantly, this version supports for the recent pandas 1.3.0
136187
release. Many thanks to @kgullikson88, @philippjfr and @jlstevens for

doc/releases.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,58 @@ Releases
44
Version 1.14
55
~~~~~~~~~~~~
66

7+
Version 1.14.9
8+
**************
9+
10+
**May 6, 2022**
11+
12+
This release contains a small number of important bug fixes as well as
13+
support for the newly added antialiasing option for line rendering in
14+
datashader. Many thanks to @andriyot, @Hoxbro, @pepijndevos, @stas-sl,
15+
@TheoMathurin, @maximlt, @jlstevens, @jbednar, and @philippjfr.
16+
17+
Enhancements:
18+
19+
- Improvements to extension loading, improving visual appearance in
20+
JupyterLab when no logo is used and a check to avoid loading
21+
unnecessary JavaScript.
22+
(`#5216 <https://github.com/holoviz/holoviews/pull/5216>`__,
23+
`#5249 <https://github.com/holoviz/holoviews/pull/5249>`__)
24+
- Add support for setting antialiased line_width on datashader line
25+
aggregation as well as pixel_ratio setting
26+
(`#5264 <https://github.com/holoviz/holoviews/pull/5264>`__,
27+
`#5288 <https://github.com/holoviz/holoviews/pull/5288>`__)
28+
- Added options to customize hover line_(width|join|cap|dash)
29+
properties
30+
(`#5211 <https://github.com/holoviz/holoviews/pull/5211>`__)
31+
- Restored Python 2 compatibility that lapsed due to lack of CI testing
32+
since 1.14.3. This is expected to be the last release with Python 2
33+
support. (`#5298 <https://github.com/holoviz/holoviews/pull/5298>`__)
34+
35+
Bug fixes:
36+
37+
- Fix to respect series order in stacked area plot
38+
(`#5236 <https://github.com/holoviz/holoviews/pull/5236>`__)
39+
- Support buffer streams of unspecified length (#5247)
40+
(`#5247 <https://github.com/holoviz/holoviews/pull/5247>`__)
41+
- Fixed log axis lower bound when data minimum is <= 0
42+
(`#5246 <https://github.com/holoviz/holoviews/pull/5246>`__)
43+
- Declared GitHub project URL in setup.py
44+
(`#5227 <https://github.com/holoviz/holoviews/pull/5227>`__)
45+
- Fixed streaming Psutil example application
46+
(`#5243 <https://github.com/holoviz/holoviews/pull/5243>`__)
47+
- Respecting Renderer’s center property for HoloViews pane
48+
(`#5197 <https://github.com/holoviz/holoviews/pull/5197>`__)
49+
- Fix vmin/vmax deprecation in HeatMap plot for matplotlib > 3.3
50+
(`#5300 <https://github.com/holoviz/holoviews/pull/5300>`__)
51+
52+
Documentation:
53+
54+
- Updated Large data guide to reflect changes in Datashader and
55+
antialising support
56+
(`#5267 <https://github.com/holoviz/holoviews/pull/5267>`__,
57+
`#5290 <https://github.com/holoviz/holoviews/pull/5290>`__)
58+
759
Version 1.14.8
860
**************
961

examples/gallery/apps/bokeh/streaming_psutil.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import datetime as dt
2-
31
import psutil
2+
import panel as pn
43
import pandas as pd
54
import holoviews as hv
65
from holoviews import dim, opts
76

8-
renderer = hv.renderer('bokeh')
7+
hv.extension("bokeh")
98

109
# Define functions to get memory and CPU usage
1110
def get_mem_data():
@@ -36,10 +35,6 @@ def cpu_box(data):
3635
cpu_stream = hv.streams.Buffer(get_cpu_data(), 800, index=False)
3736
mem_stream = hv.streams.Buffer(get_mem_data())
3837

39-
def cb():
40-
cpu_stream.send(get_cpu_data())
41-
mem_stream.send(get_mem_data())
42-
4338
# Define DynamicMaps and display plot
4439
cpu_dmap = hv.DynamicMap(cpu_box, streams=[cpu_stream])
4540
mem_dmap = hv.DynamicMap(mem_stack, streams=[mem_stream])
@@ -50,6 +45,13 @@ def cb():
5045
width=500, height=400, ylim=(0, 100))
5146
)
5247

53-
# Render plot and attach periodic callback
54-
doc = renderer.server_doc(plot)
55-
doc.add_periodic_callback(cb, 0.05)
48+
# Create PeriodicCallback which run every 500 milliseconds
49+
def cb():
50+
cpu_stream.send(get_cpu_data())
51+
mem_stream.send(get_mem_data())
52+
53+
callback = pn.io.PeriodicCallback(callback=cb, period=500)
54+
callback.start()
55+
56+
# Show plot inside notebook
57+
plot

0 commit comments

Comments
 (0)