diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 37f79c67..0ef9a7cb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -50,6 +50,9 @@ jobs: - name: conda setup run: | conda config --set always_yes True + conda install -n base conda-libmamba-solver + conda install -n test conda-libmamba-solver + conda config --set solver libmamba conda install -c pyviz "pyctdev>=0.5" doit ecosystem_setup conda install -c conda-forge "urllib3<2.0.0" "conda-build==3.24" @@ -78,6 +81,7 @@ jobs: - name: build js run: | eval "$(conda shell.bash hook)" + conda install -n test-environment conda-libmamba-solver conda activate test-environment doit develop_install $CHANS_DEV -o build python setup.py develop diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3881962b..a5b6f2b9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -50,7 +50,7 @@ jobs: SETUPTOOLS_ENABLE_FEATURES: "legacy-editable" USE_PYGEOS: '0' steps: - - uses: holoviz-dev/holoviz_tasks/install@v0.1a14 + - uses: holoviz-dev/holoviz_tasks/install@v0.1a15 with: name: unit_test_suite python-version: ${{ matrix.python-version }} @@ -59,13 +59,8 @@ jobs: envs: "-o tests -o examples_extra -o recommended" cache: true conda-update: true - conda-mamba: mamba nodejs: true id: install - - name: doit env_capture - run: | - conda activate test-environment - doit env_capture - name: download data run: | conda activate test-environment diff --git a/geoviews/models/poly_edit.ts b/geoviews/models/poly_edit.ts index b10af6d1..0a3d8827 100644 --- a/geoviews/models/poly_edit.ts +++ b/geoviews/models/poly_edit.ts @@ -31,7 +31,7 @@ export class PolyVertexEditToolView extends PolyEditToolView { if (this._basepoint == null || this.model.vertex_renderer == null) return const points = this._drag_points(ev, [this.model.vertex_renderer]) - if (!ev.shift_key) { + if (!ev.modifiers.shift) { this._move_linked(points) } if (this._selected_renderer) @@ -42,7 +42,7 @@ export class PolyVertexEditToolView extends PolyEditToolView { if (this._basepoint == null || this.model.vertex_renderer == null) return const points = this._drag_points(ev, [this.model.vertex_renderer]) - if (!ev.shift_key) { + if (!ev.modifiers.shift) { this._move_linked(points) } this._emit_cds_changes(this.model.vertex_renderer.data_source, false, true, true) diff --git a/geoviews/package-lock.json b/geoviews/package-lock.json index e8b2abf9..e2103816 100644 --- a/geoviews/package-lock.json +++ b/geoviews/package-lock.json @@ -9,14 +9,14 @@ "version": "1.10.1-a1", "license": "BSD-3-Clause", "dependencies": { - "@bokeh/bokehjs": "~3.1.1" + "@bokeh/bokehjs": "~3.2.1" }, "devDependencies": {} }, "node_modules/@bokeh/bokehjs": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.1.1.tgz", - "integrity": "sha512-+S3hqhIaOS17Xp0Oy7fB+hhOPe+v3jeIew40sWaH4/DEEMuUmhDZZMFowWhicuwTN9J6Bay9bp/62YJc5Na1Qg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.2.1.tgz", + "integrity": "sha512-qtgWZ18ZfEyuRdOV3d3ZwtBmSZRdPmyBYpJl84VLqljNx3sQn6aeTuE5EZIkkDhB9YF74meU6fmHwt/+WpsFuQ==", "engines": { "node": ">=16.0", "npm": ">=8.0" @@ -25,9 +25,9 @@ }, "dependencies": { "@bokeh/bokehjs": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.1.1.tgz", - "integrity": "sha512-+S3hqhIaOS17Xp0Oy7fB+hhOPe+v3jeIew40sWaH4/DEEMuUmhDZZMFowWhicuwTN9J6Bay9bp/62YJc5Na1Qg==" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@bokeh/bokehjs/-/bokehjs-3.2.1.tgz", + "integrity": "sha512-qtgWZ18ZfEyuRdOV3d3ZwtBmSZRdPmyBYpJl84VLqljNx3sQn6aeTuE5EZIkkDhB9YF74meU6fmHwt/+WpsFuQ==" } } } diff --git a/geoviews/package.json b/geoviews/package.json index c61e1394..8c33c88a 100644 --- a/geoviews/package.json +++ b/geoviews/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/holoviz/geoviews.git" }, "dependencies": { - "@bokeh/bokehjs": "~3.1.1" + "@bokeh/bokehjs": "~3.2.1" }, "devDependencies": {}, "files": [ diff --git a/pyproject.toml b/pyproject.toml index 1bb104c5..41608c73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "param >=1.9.0", "pyct >=0.4.4", - "bokeh >=3.1.0,<3.2.0", + "bokeh >=3.1.0,<3.3.0", "pyviz_comms >=0.6.0", "setuptools", ] diff --git a/setup.cfg b/setup.cfg index 2b50f9f8..5a777ab9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,3 +4,4 @@ license_files = LICENSE [tool:pyctdev.conda] namespace_map = geopandas=geopandas-base + matplotlib=matplotlib-base diff --git a/setup.py b/setup.py index 2e3a2b95..10969aa8 100644 --- a/setup.py +++ b/setup.py @@ -94,7 +94,7 @@ def run(self): ### dependencies ### _required = [ - 'bokeh >=3.1.0,<3.2.0', + 'bokeh >=3.1.0,<3.3.0', 'cartopy >=0.18.0', 'holoviews >=1.16.0', 'packaging', @@ -110,7 +110,6 @@ def run(self): # geopandas-base installed with conda, see setup.cfg 'geopandas', 'netcdf4', - 'jupyter', 'matplotlib >2.2', 'pandas', 'pyct', @@ -130,11 +129,16 @@ def run(self): 'geodatasets', ] +if sys.version_info[:2] == (3, 8): + _examples_extra += [ + "iris ==3.5" # Hard pin for Windows + Python 3.8 + ] + extras_require={ 'recommended': _recommended, 'examples_extra': _examples_extra, 'doc': _examples_extra + [ - 'nbsite ==0.8.0', + 'nbsite >=0.8.2,<0.9.0', 'cartopy >=0.20.0', 'graphviz', 'lxml', @@ -159,8 +163,8 @@ def run(self): extras_require['build'] = [ 'param >=1.9.2', 'pyct >=0.4.4', - 'bokeh >=3.1.0,<3.2.0', - 'pyviz_comms >=0.6.0' + 'bokeh >=3.1.0,<3.3.0', + 'pyviz_comms >=0.6.0', ] ########################